ipam_internet_registry_association_asns
Creates, updates, deletes, gets or lists an ipam_internet_registry_association_asns resource.
Overview
| Name | ipam_internet_registry_association_asns |
| Type | Resource |
| Id | aws.ec2.ipam_internet_registry_association_asns |
Fields
The following fields are returned by SELECT queries:
- get_ipam_internet_registry_association_asns
| Name | Datatype | Description |
|---|---|---|
asn | string | The Autonomous System Number. |
last_observed_at | string | The time when the ASN was last observed at the internet registry. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_ipam_internet_registry_association_asns | select | IpamInternetRegistryAssociationId, region | DryRun, MaxResults, NextToken, Filter | Retrieves Autonomous System Numbers (ASNs) registered with an internet registry for an IPAM internet registry association. We recommend using pagination to ensure that the operation returns quickly and successfully. |
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.
| Name | Datatype | Description |
|---|---|---|
IpamInternetRegistryAssociationId | string | The ID of the IPAM internet registry association. |
region | string | AWS region (default: us-east-1) |
DryRun | boolean | Checks 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. |
Filter | array | One or more filters to apply to the results. |
MaxResults | integer | The 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. |
NextToken | string | The token for the next page of results. |
SELECT examples
- get_ipam_internet_registry_association_asns
Retrieves Autonomous System Numbers (ASNs) registered with an internet registry for an IPAM internet registry association. We recommend using pagination to ensure that the operation returns quickly and successfully.
SELECT
asn,
last_observed_at
FROM aws.ec2.ipam_internet_registry_association_asns
WHERE IpamInternetRegistryAssociationId = '{{ IpamInternetRegistryAssociationId }}' -- required
AND region = '{{ region }}' -- required
AND DryRun = '{{ DryRun }}'
AND MaxResults = '{{ MaxResults }}'
AND NextToken = '{{ NextToken }}'
AND Filter = '{{ Filter }}'
;