Skip to content

Associate Ipam Byoasn

ec2_associate_ipam_byoasn R Documentation

Associates your Autonomous System Number (ASN) with a BYOIP CIDR that you own in the same Amazon Web Services Region

Description

Associates your Autonomous System Number (ASN) with a BYOIP CIDR that you own in the same Amazon Web Services Region. For more information, see Tutorial: Bring your ASN to IPAM in the Amazon VPC IPAM guide.

After the association succeeds, the ASN is eligible for advertisement. You can view the association with describe_byoip_cidrs. You can advertise the CIDR with advertise_byoip_cidr.

Usage

ec2_associate_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] The BYOIP CIDR you want to associate with an ASN.

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$associate_ipam_byoasn(
  DryRun = TRUE|FALSE,
  Asn = "string",
  Cidr = "string"
)