paws.compute (version 0.1.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 Creating a Default Subnet in the Amazon Virtual Private Cloud User Guide.

Usage

ec2_create_default_subnet(AvailabilityZone, DryRun)

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.

Request syntax

svc$create_default_subnet(
  AvailabilityZone = "string",
  DryRun = TRUE|FALSE
)