Skip to content
Discussion options

You must be logged in to vote

Please view our API ref on EC2, it should answer your questions. For example, the return type of addNatGateway will reveal the id from this prop https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.CfnNatGateway.html#attrnatgatewayid.

You can add routes to the subnet with the addRoute method

Docs on internet gateway here https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2-readme.html#accessing-the-internet-gateway

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by peterwoodworth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants