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 with a subnet that will have an internet gateway attached making instances available to the internet.
Namespace: Amazon.EC2.Util
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class LaunchVPCWithPublicSubnetRequest
The LaunchVPCWithPublicSubnetRequest type exposes the following members
Name | Description | |
---|---|---|
LaunchVPCWithPublicSubnetRequest() |
Name | Type | Description | |
---|---|---|---|
EnableDnsHostnames | System.Boolean |
Indicates whether the instances launched in the VPC get DNS hostnames. If this attribute is true, instances in the VPC get DNS hostnames; otherwise, they do not. If you want your instances to get DNS hostnames, you must also set the enableDnsSupport attribute to true. |
|
EnableDnsSupport | System.Boolean |
Indicates whether the DNS resolution is supported for the VPC. If this attribute is false, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled. If this attribute is true, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" will succeed. For more information, see Amazon DNS Server. |
|
InstanceTenancy | System.String |
The supported tenancy of instances launched into the VPC. The default value is "default". |
|
ProgressCallback | Amazon.EC2.Util.VPCUtilities.Progress |
A callback delegate used to get progress messages as the VPC environment is being created. |
|
PublicSubnetAvailabilityZone | System.String |
Gets and sets the Availability Zone you want the public subnet in. |
|
PublicSubnetCiderBlock | System.String |
Gets and sets the CIDR block you want the public subnet to cover. The default value is "10.0.0.0/24". |
|
VPCCidrBlock | System.String |
Gets and sets the CIDR block you want the VPC to cover. The default value is "10.0.0.0/16". |
|
VPCName | System.String |
Gets and sets a name that will be assigned the VPC's Name tag. This is an optional field. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5