Learn R Programming

paws.compute (version 0.7.0)

ec2_create_default_subnet: Creates a default subnet with a size /20 IPv4 CIDR block in the specified Availability Zone in your default VPC

Description

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.

See https://www.paws-r-sdk.com/docs/ec2_create_default_subnet/ for full documentation.

Usage

ec2_create_default_subnet(AvailabilityZone, DryRun = NULL, Ipv6Native = NULL)

Arguments

AvailabilityZone

[required] The Availability Zone in which to create the default subnet.

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 is UnauthorizedOperation.

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.