ec2_create_default_subnet: Creates a default subnet with a size /20 IPv4 CIDR block in...

View source: R/ec2_operations.R

ec2_create_default_subnetR Documentation

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.


paws.compute documentation built on Sept. 12, 2023, 1:28 a.m.