Creates a default subnet with a size /20 IPv4 CIDR block in the specified Availability Zone in your default VPC
Source:R/ec2_operations.R
ec2_create_default_subnet.RdCreates 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.
See https://www.paws-r-sdk.com/docs/ec2_create_default_subnet/ for full documentation.
Usage
ec2_create_default_subnet(
AvailabilityZone = NULL,
DryRun = NULL,
Ipv6Native = NULL,
AvailabilityZoneId = NULL
)Arguments
- AvailabilityZone
The Availability Zone in which to create the default subnet.
Either
AvailabilityZoneorAvailabilityZoneIdmust be specified, but not both.- 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
DryRunOperation. Otherwise, it isUnauthorizedOperation.- 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.
- AvailabilityZoneId
The ID of the Availability Zone.
Either
AvailabilityZoneorAvailabilityZoneIdmust be specified, but not both.