Skip to content

Commit

Permalink
fix(docs): fix EC2 readme for "natgatway" configuration (#994)
Browse files Browse the repository at this point in the history
  • Loading branch information
moofish32 authored and Elad Ben-Israel committed Oct 23, 2018
1 parent 33c32a8 commit 0b1e7cc
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 0b1e7cc

Please sign in to comment.