AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The properties used to create a VPC, a public subnet, private subnet and a NAT EC2 instance to allow EC2 instances in the private subnet to establish outbound connections to the internet.
Namespace: Amazon.EC2.Util
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class LaunchVPCWithPublicAndPrivateSubnetsRequest : LaunchVPCWithPublicSubnetRequest
The LaunchVPCWithPublicAndPrivateSubnetsRequest type exposes the following members
Name | Description | |
---|---|---|
LaunchVPCWithPublicAndPrivateSubnetsRequest() |
Name | Type | Description | |
---|---|---|---|
ConfigureDefaultVPCGroupForNAT | System.Boolean |
Gets and sets whether the default security group for the VPC should be configured to allow traffic from the EC2 instances to the NAT instance. This means another security group with the name "NATGroup" will be created and a new permission allowing all inbound traffic will be added to the default security group for the VPC. If this VPC is going to be used for AWS Elastic Beanstalk deployments then used this security group as the security group specified for the environment. |
|
EnableDnsHostnames | System.Boolean | Inherited from Amazon.EC2.Util.LaunchVPCWithPublicSubnetRequest. | |
EnableDnsSupport | System.Boolean | Inherited from Amazon.EC2.Util.LaunchVPCWithPublicSubnetRequest. | |
InstanceTenancy | System.String | Inherited from Amazon.EC2.Util.LaunchVPCWithPublicSubnetRequest. | |
InstanceType | System.String |
Gets and sets the instance type of the NAT instance. The default value is "m1.small". |
|
KeyName | System.String |
Gets and sets the key name of the NAT instance. |
|
PrivateSubnetAvailabilityZone | System.String |
Gets and sets the Availability Zone you want the private subnet in. |
|
PrivateSubnetCiderBlock | System.String |
Gets and sets the CIDR block you want the private subnet to cover. The default value is "10.0.1.0/24". |
|
ProgressCallback | Amazon.EC2.Util.VPCUtilities.Progress | Inherited from Amazon.EC2.Util.LaunchVPCWithPublicSubnetRequest. | |
PublicSubnetAvailabilityZone | System.String | Inherited from Amazon.EC2.Util.LaunchVPCWithPublicSubnetRequest. | |
PublicSubnetCiderBlock | System.String | Inherited from Amazon.EC2.Util.LaunchVPCWithPublicSubnetRequest. | |
VPCCidrBlock | System.String | Inherited from Amazon.EC2.Util.LaunchVPCWithPublicSubnetRequest. | |
VPCName | System.String | Inherited from Amazon.EC2.Util.LaunchVPCWithPublicSubnetRequest. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5