Disassociate Vpc Cidr Block
ec2_disassociate_vpc_cidr_block | R Documentation |
Disassociates a CIDR block from a VPC¶
Description¶
Disassociates a CIDR block from a VPC. To disassociate the CIDR block,
you must specify its association ID. You can get the association ID by
using describe_vpcs
. You must detach or delete all gateways and
resources that are associated with the CIDR block before you can
disassociate it.
You cannot disassociate the CIDR block with which you originally created the VPC (the primary CIDR block).
Usage¶
Arguments¶
AssociationId
[required] The association ID for the CIDR block.
Value¶
A list with the following syntax:
list(
Ipv6CidrBlockAssociation = 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"
),
CidrBlockAssociation = list(
AssociationId = "string",
CidrBlock = "string",
CidrBlockState = list(
State = "associating"|"associated"|"disassociating"|"disassociated"|"failing"|"failed",
StatusMessage = "string"
)
),
VpcId = "string"
)