Create Default Vpc
ec2_create_default_vpc | R Documentation |
Creates a default VPC with a size /16 IPv4 CIDR block and a default subnet in each Availability Zone¶
Description¶
Creates a default VPC with a size /16
IPv4 CIDR block and a default
subnet in each Availability Zone. For more information about the
components of a default VPC, see Default
VPCs
in the Amazon VPC User Guide. You cannot specify the components of the
default VPC yourself.
If you deleted your previous default VPC, you can create a default VPC. You cannot have more than one default VPC per Region.
Usage¶
Arguments¶
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
.
Value¶
A list with the following syntax:
list(
Vpc = list(
CidrBlock = "string",
DhcpOptionsId = "string",
State = "pending"|"available",
VpcId = "string",
OwnerId = "string",
InstanceTenancy = "default"|"dedicated"|"host",
Ipv6CidrBlockAssociationSet = list(
list(
AssociationId = "string",
Ipv6CidrBlock = "string",
Ipv6CidrBlockState = list(
State = "associating"|"associated"|"disassociating"|"disassociated"|"failing"|"failed",
StatusMessage = "string"
),
NetworkBorderGroup = "string",
Ipv6Pool = "string",
Ipv6AddressAttribute = "public"|"private",
IpSource = "amazon"|"byoip"|"none"
)
),
CidrBlockAssociationSet = list(
list(
AssociationId = "string",
CidrBlock = "string",
CidrBlockState = list(
State = "associating"|"associated"|"disassociating"|"disassociated"|"failing"|"failed",
StatusMessage = "string"
)
)
),
IsDefault = TRUE|FALSE,
Tags = list(
list(
Key = "string",
Value = "string"
)
)
)
)