Skip to content

Disassociate Subnet Cidr Block

ec2_disassociate_subnet_cidr_block R Documentation

Disassociates a CIDR block from a subnet

Description

Disassociates a CIDR block from a subnet. Currently, you can disassociate an IPv6 CIDR block only. You must detach or delete all gateways and resources that are associated with the CIDR block before you can disassociate it.

Usage

ec2_disassociate_subnet_cidr_block(AssociationId)

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"
    ),
    Ipv6AddressAttribute = "public"|"private",
    IpSource = "amazon"|"byoip"|"none"
  ),
  SubnetId = "string"
)

Request syntax

svc$disassociate_subnet_cidr_block(
  AssociationId = "string"
)