Skip to content

/AWS1/CL_EC2=>ASSOCIATEIPAMBYOASN()

About AssociateIpamByoasn

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 DescribeByoipCidrs. You can advertise the CIDR with AdvertiseByoipCidr.

Method Signature

IMPORTING

Required arguments:

IV_ASN TYPE /AWS1/EC2STRING /AWS1/EC2STRING

A public 2-byte or 4-byte ASN.

IV_CIDR TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The BYOIP CIDR you want to associate with an ASN.

Optional arguments:

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2ASSCIPAMBYOASNRS /AWS1/CL_EC2ASSCIPAMBYOASNRS