addresses_attributes
Creates, updates, deletes, gets or lists an addresses_attributes resource.
Overview
| Name | addresses_attributes |
| Type | Resource |
| Id | aws.ec2.addresses_attributes |
Fields
The following fields are returned by SELECT queries:
- describe_addresses_attribute
| Name | Datatype | Description |
|---|---|---|
allocation_id | string | [EC2-VPC] The allocation ID. |
ptr_record | string | The pointer (PTR) record for the IP address. |
ptr_record_update | string | The updated PTR record for the IP address. |
public_ip | string | The public IP address. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_addresses_attribute | select | region | AllocationId, Attribute, NextToken, MaxResults, DryRun | Describes 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
AllocationId | array | [EC2-VPC] The allocation IDs. |
Attribute | string | The attribute of the IP address. |
DryRun | boolean | 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. |
MaxResults | integer | The maximum number of results to return with a single call. 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
- describe_addresses_attribute
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 }}'
;