Skip to content

Remove the association between your Autonomous System Number (ASN) and your BYOIP CIDR

Description

Remove the association between your Autonomous System Number (ASN) and your BYOIP CIDR. You may want to use this action to disassociate an ASN from a CIDR or if you want to swap ASNs. For more information, see Tutorial: Bring your ASN to IPAM in the Amazon VPC IPAM guide.

Usage

ec2_disassociate_ipam_byoasn(DryRun, Asn, Cidr)

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 is UnauthorizedOperation.

  • Asn

    [required] A public 2-byte or 4-byte ASN.

  • Cidr

    [required] A BYOIP CIDR.

Value

A list with the following syntax:

list(
  AsnAssociation = list(
    Asn = "string",
    Cidr = "string",
    StatusMessage = "string",
    State = "disassociated"|"failed-disassociation"|"failed-association"|"pending-disassociation"|"pending-association"|"associated"
  )
)

Request syntax

svc$disassociate_ipam_byoasn(
  DryRun = TRUE|FALSE,
  Asn = "string",
  Cidr = "string"
)