Skip to content

Commit

Permalink
docs: fixing ec2 readme for natgatway configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
moofish32 committed Oct 23, 2018
1 parent 33c32a8 commit 5da2358
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/@aws-cdk/aws-ec2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ import ec2 = require('@aws-cdk/aws-ec2');

const vpc = new ec2.VpcNetwork(stack, 'TheVPC', {
cidr: '10.0.0.0/16',
natGateways: 1,
subnetConfiguration: [
{
cidrMask: 26,
name: 'Public',
subnetType: SubnetType.Public,
natGateway: true,
},
{
name: 'Application',
Expand Down Expand Up @@ -147,6 +147,7 @@ import ec2 = require('@aws-cdk/aws-ec2');
const vpc = new ec2.VpcNetwork(stack, 'TheVPC', {
cidr: '10.0.0.0/16',
natGateways: 1,
natGatewayPlacement: {subnetName: 'Public'},
subnetConfiguration: [
{
cidrMask: 26,
Expand Down

0 comments on commit 5da2358

Please sign in to comment.