moving_addresses
Creates, updates, deletes, gets or lists a moving_addresses resource.
Overview
| Name | moving_addresses |
| Type | Resource |
| Id | aws.ec2.moving_addresses |
Fields
The following fields are returned by SELECT queries:
- describe_moving_addresses
| Name | Datatype | Description |
|---|---|---|
move_status | string | The status of the Elastic IP address that's being moved or restored. |
public_ip | string | The Elastic IP address. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_moving_addresses | select | region | DryRun, PublicIp, NextToken, Filter, MaxResults | 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. |
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) |
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. |
Filter | array | One or more filters. moving-status - The status of the Elastic IP address (MovingToVpc | RestoringToClassic). |
MaxResults | integer | The 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. |
NextToken | string | The token for the next page of results. |
PublicIp | array | One or more Elastic IP addresses. |
SELECT examples
- describe_moving_addresses
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 }}'
;