Skip to main content

ipam_internet_registry_associations

Creates, updates, deletes, gets or lists an ipam_internet_registry_associations resource.

Overview

Nameipam_internet_registry_associations
TypeResource
Idaws.ec2.ipam_internet_registry_associations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
child_request_xmlstringThe XML content for the child request to be submitted to the internet registry to complete the BPKI setup.
descriptionstringThe description of the internet registry association.
ipam_idstringThe ID of the associated IPAM.
ipam_internet_registry_association_arnstringThe Amazon Resource Name (ARN) of the internet registry association.
ipam_internet_registry_association_idstringThe ID of the internet registry association.
ipam_regionstringThe Amazon Web Services Region of the IPAM.
organization_handlestringThe organization handle at the internet registry.
owner_idstringThe ID of the Amazon Web Services account that owns the internet registry association.
rirstringThe Regional Internet Registry. Possible values: ripe - RIPE NCC (Europe, the Middle East, and Central Asia). apnic - APNIC (Asia Pacific). arin - ARIN (North America). lacnic - LACNIC (Latin America and the Caribbean).
statestringThe state of the internet registry association. Valid values: pending-activation | pending-enable | create-in-progress | create-failed | enable-in-progress | enable-complete | enable-failed | delete-in-progress | delete-complete | delete-failed.
tagsstringThe tags assigned to the internet registry association.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_ipam_internet_registry_associationsselectregionDryRun, IpamInternetRegistryAssociationId, MaxResults, NextToken, FilterDescribes one or more IPAM internet registry associations. We recommend using pagination to ensure that the operation returns quickly and successfully.
create_ipam_internet_registry_associationinsertIpamId, OrganizationHandle, regionDryRun, Rir, Description, TagSpecification, ClientTokenCreates an association between an IPAM and a Regional Internet Registry (RIR) for Resource Public Key Infrastructure (RPKI) management. You can use this association to create Route Origin Authorizations (ROAs) for IP address prefixes registered with the internet registry. Your IPAM must be in the Advanced tier to use this feature.
delete_ipam_internet_registry_associationdeleteIpamInternetRegistryAssociationId, regionDryRunDeletes an IPAM internet registry association. Before deleting, you must remove all routing policy registrations associated with the internet registry.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
IpamIdstringThe ID of the IPAM to associate with the internet registry.
IpamInternetRegistryAssociationIdstringThe ID of the IPAM internet registry association to delete.
OrganizationHandlestringThe organization handle at the internet registry (for example, a RIPE NCC organization ID or ARIN Org ID).
regionstringAWS region (default: us-east-1)
ClientTokenstringA unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the operation ignores the request, but does not return an error.
DescriptionstringA description for the internet registry association.
DryRunbooleanChecks whether you have the required permissions for the operation, 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.
FilterarrayOne or more filters to apply to the results.
IpamInternetRegistryAssociationIdarrayThe IDs of the internet registry associations to describe.
MaxResultsintegerThe maximum number of results to return in a single call. If not specified, all available results are returned. To retrieve the remaining results, make another call with the returned nextToken value.
NextTokenstringThe token for the next page of results.
RirstringThe Regional Internet Registry to associate with. Possible values: ripe - RIPE NCC (Europe, the Middle East, and Central Asia). apnic - APNIC (Asia Pacific). arin - ARIN (North America). lacnic - LACNIC (Latin America and the Caribbean).
TagSpecificationarrayThe tags to assign to the internet registry association.

SELECT examples

Describes one or more IPAM internet registry associations. We recommend using pagination to ensure that the operation returns quickly and successfully.

SELECT
child_request_xml,
description,
ipam_id,
ipam_internet_registry_association_arn,
ipam_internet_registry_association_id,
ipam_region,
organization_handle,
owner_id,
rir,
state,
tags
FROM aws.ec2.ipam_internet_registry_associations
WHERE region = '{{ region }}' -- required
AND DryRun = '{{ DryRun }}'
AND IpamInternetRegistryAssociationId = '{{ IpamInternetRegistryAssociationId }}'
AND MaxResults = '{{ MaxResults }}'
AND NextToken = '{{ NextToken }}'
AND Filter = '{{ Filter }}'
;

INSERT examples

Creates an association between an IPAM and a Regional Internet Registry (RIR) for Resource Public Key Infrastructure (RPKI) management. You can use this association to create Route Origin Authorizations (ROAs) for IP address prefixes registered with the internet registry. Your IPAM must be in the Advanced tier to use this feature.

INSERT INTO aws.ec2.ipam_internet_registry_associations (
IpamId,
OrganizationHandle,
region,
DryRun,
Rir,
Description,
TagSpecification,
ClientToken
)
SELECT
'{{ IpamId }}',
'{{ OrganizationHandle }}',
'{{ region }}',
'{{ DryRun }}',
'{{ Rir }}',
'{{ Description }}',
'{{ TagSpecification }}',
'{{ ClientToken }}'
RETURNING
child_request_xml,
description,
ipam_id,
ipam_internet_registry_association_arn,
ipam_internet_registry_association_id,
ipam_region,
organization_handle,
owner_id,
rir,
state,
tags
;

DELETE examples

Deletes an IPAM internet registry association. Before deleting, you must remove all routing policy registrations associated with the internet registry.

DELETE FROM aws.ec2.ipam_internet_registry_associations
WHERE IpamInternetRegistryAssociationId = '{{ IpamInternetRegistryAssociationId }}' --required
AND region = '{{ region }}' --required
AND DryRun = '{{ DryRun }}'
;