Security News
NVD Backlog Tops 20,000 CVEs Awaiting Analysis as NIST Prepares System Updates
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
@aws-cdk/aws-rds
Advanced tools
The aws-cdk-rds
package contains Constructs for setting up RDS instances.
Supported:
Not supported:
To set up a clustered database (like Aurora), create an instance of DatabaseCluster
. You must
always launch a database in a VPC. Use the vpcPlacement
attribute to control whether
your instances will be launched privately or publicly:
const cluster = new DatabaseCluster(stack, 'Database', {
engine: DatabaseClusterEngine.Aurora,
masterUser: {
username: 'admin',
password: '7959866cacc02c2d243ecfe177464fe6',
},
instanceProps: {
instanceType: new InstanceTypePair(InstanceClass.Burstable2, InstanceSize.Small),
vpcPlacement: {
subnetsToUse: ec2.SubnetType.Public,
},
vpc
}
});
Your cluster will be empty by default. To add a default database upon construction, specify the
defaultDatabaseName
attribute.
To control who can access the cluster, use the .connections
attribute. RDS database have
a default port, so you don't need to specify the port:
cluster.connections.allowFromAnyIpv4('Open to the world');
The endpoints to access your database will be available as the .clusterEndpoint
and .readerEndpoint
attributes:
const writeAddress = cluster.clusterEndpoint.socketAddress; // "HOSTNAME:PORT"
0.9.1 (2018-09-13)
FAQs
The CDK Construct Library for AWS::RDS
The npm package @aws-cdk/aws-rds receives a total of 27,679 weekly downloads. As such, @aws-cdk/aws-rds popularity was classified as popular.
We found that @aws-cdk/aws-rds demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.