Skip to main content

address_attributes

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

Overview

Nameaddress_attributes
TypeResource
Idaws.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:

NameAccessible byRequired ParamsOptional ParamsDescription
modify_address_attributeupdateAllocationId, regionDomainName, DryRunModifies 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.

NameDatatypeDescription
AllocationIdstring[EC2-VPC] The allocation ID.
regionstringAWS region (default: us-east-1)
DomainNamestringThe domain name to modify for 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.

UPDATE examples

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;