Skip to main content

moving_addresses

Creates, updates, deletes, gets or lists a moving_addresses resource.

Overview

Namemoving_addresses
TypeResource
Idaws.ec2.moving_addresses

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
move_statusstringThe status of the Elastic IP address that's being moved or restored.
public_ipstringThe Elastic IP address.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_moving_addressesselectregionDryRun, PublicIp, NextToken, Filter, MaxResultsThis action is deprecated. Describes your Elastic IP addresses that are being moved from or being restored to the EC2-Classic platform. This request does not return information about any other Elastic IP addresses in your account.

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)
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.
FilterarrayOne or more filters. moving-status - The status of the Elastic IP address (MovingToVpc | RestoringToClassic).
MaxResultsintegerThe maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1000; if MaxResults is given a value outside of this range, an error is returned. Default: If no value is provided, the default is 1000.
NextTokenstringThe token for the next page of results.
PublicIparrayOne or more Elastic IP addresses.

SELECT examples

This action is deprecated. Describes your Elastic IP addresses that are being moved from or being restored to the EC2-Classic platform. This request does not return information about any other Elastic IP addresses in your account.

SELECT
move_status,
public_ip
FROM aws.ec2.moving_addresses
WHERE region = '{{ region }}' -- required
AND DryRun = '{{ DryRun }}'
AND PublicIp = '{{ PublicIp }}'
AND NextToken = '{{ NextToken }}'
AND Filter = '{{ Filter }}'
AND MaxResults = '{{ MaxResults }}'
;