// create a nat gateway const natGateway = new ec2.CfnNatGateway(this, \'nat-gateway-1\',{ subnetId: mySubnet.subnetId, allocationId: new ec2.CfnE