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.
Container for the parameters to the CreateDefaultSubnet operation.
Creates a default subnet with a size /20
IPv4 CIDR block in the specified Availability
Zone in your default VPC. You can have only one default subnet per Availability Zone.
For more information, see Create
a default subnet in the Amazon VPC User Guide.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class CreateDefaultSubnetRequest : AmazonEC2Request IAmazonWebServiceRequest
The CreateDefaultSubnetRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
CreateDefaultSubnetRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
AvailabilityZone | System.String |
Gets and sets the property AvailabilityZone. The Availability Zone in which to create the default subnet. |
![]() |
DryRun | System.Nullable<System.Boolean> |
Gets and sets the property DryRun.
Checks whether you have the required permissions for the action, without actually
making the request, and provides an error response. If you have the required permissions,
the error response is |
![]() |
Ipv6Native | System.Nullable<System.Boolean> |
Gets and sets the property Ipv6Native. Indicates whether to create an IPv6 only subnet. If you already have a default subnet for this Availability Zone, you must delete it before you can create an IPv6 only subnet. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer