We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33c32a8 commit 0b1e7ccCopy full SHA for 0b1e7cc
packages/@aws-cdk/aws-ec2/README.md
@@ -100,12 +100,12 @@ import ec2 = require('@aws-cdk/aws-ec2');
100
101
const vpc = new ec2.VpcNetwork(stack, 'TheVPC', {
102
cidr: '10.0.0.0/16',
103
+ natGateways: 1,
104
subnetConfiguration: [
105
{
106
cidrMask: 26,
107
name: 'Public',
108
subnetType: SubnetType.Public,
- natGateway: true,
109
},
110
111
name: 'Application',
@@ -147,6 +147,7 @@ import ec2 = require('@aws-cdk/aws-ec2');
147
148
149
natGateways: 1,
150
+ natGatewayPlacement: {subnetName: 'Public'},
151
152
153
0 commit comments