Skip to main content

addresses_attributes

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

Overview

Nameaddresses_attributes
TypeResource
Idaws.ec2.addresses_attributes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
allocation_idstring[EC2-VPC] The allocation ID.
ptr_recordstringThe pointer (PTR) record for the IP address.
ptr_record_updatestringThe updated PTR record for the IP address.
public_ipstringThe public IP address.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_addresses_attributeselectregionAllocationId, Attribute, NextToken, MaxResults, DryRunDescribes the attributes of the specified Elastic IP addresses. For requirements, see Using reverse DNS for email applications.

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
regionstringAWS region (default: us-east-1)
AllocationIdarray[EC2-VPC] The allocation IDs.
AttributestringThe attribute of the IP address.
DryRunbooleanChecks 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.
MaxResultsintegerThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
NextTokenstringThe token for the next page of results.

SELECT examples

Describes the attributes of the specified Elastic IP addresses. For requirements, see Using reverse DNS for email applications.

SELECT
allocation_id,
ptr_record,
ptr_record_update,
public_ip
FROM aws.ec2.addresses_attributes
WHERE region = '{{ region }}' -- required
AND AllocationId = '{{ AllocationId }}'
AND Attribute = '{{ Attribute }}'
AND NextToken = '{{ NextToken }}'
AND MaxResults = '{{ MaxResults }}'
AND DryRun = '{{ DryRun }}'
;