0.3.0 • Published 12 months ago

@automatedna/cdk-rds-privatelink v0.3.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
12 months ago

RDS PrivateLink Construct for AWS CDK

build

Features

  • Creates a VPC Endpoint for PrivateLink with RDS using a network load balancer to front the connection to RDS
  • Supports tagging the VPC Endpoint that is created through a custom resource

API Doc

See API

References

Example

const vpc = new ec2.Vpc(stack, 'VPC');

const db = new rds.DatabaseInstance(stack, 'DB', {
  engine: rds.DatabaseInstanceEngine.SQL_SERVER_SE,
  vpc,
});

const topic = new DbFailureTopic(stack, 'DBFailureTopic', {
  db,
});

new rdsPrivateLink.RdsPrivateLink(stack, 'privateLink', {
  db,
  vpc,
  dbPort: rdsPrivateLink.CommonDBPorts.MSSQL,
  vpcSubnets: {
    subnetType: ec2.SubnetType.PRIVATE_WITH_EGRESS,
  },
  dbFailureTopic: topic,
});
0.3.0

12 months ago

0.2.1

12 months ago

0.2.0

12 months ago

0.1.0

12 months ago

0.0.0

12 months ago