address_attributes
Creates, updates, deletes, gets or lists an address_attributes resource.
Overview
| Name | address_attributes |
| Type | Resource |
| Id | aws.ec2.address_attributes |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
modify_address_attribute | update | AllocationId, region | DomainName, DryRun | Modifies an attribute of the specified Elastic IP address. 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 |
|---|---|---|
AllocationId | string | [EC2-VPC] The allocation ID. |
region | string | AWS region (default: us-east-1) |
DomainName | string | The domain name to modify for 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. |
UPDATE examples
- modify_address_attribute
Modifies an attribute of the specified Elastic IP address. For requirements, see Using reverse DNS for email applications.
UPDATE aws.ec2.address_attributes
SET
-- No updatable properties
WHERE
AllocationId = '{{ AllocationId }}' --required
AND region = '{{ region }}' --required
AND DomainName = '{{ DomainName}}'
AND DryRun = {{ DryRun}}
RETURNING
allocation_id,
ptr_record,
ptr_record_update,
public_ip;