address_to_classics
Creates, updates, deletes, gets or lists an address_to_classics resource.
Overview​
| Name | address_to_classics |
| Type | Resource |
| Id | aws.ec2.address_to_classics |
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 |
|---|---|---|---|---|
restore_address_to_classic | exec | PublicIp, region | DryRun | This action is deprecated. Restores an Elastic IP address that was previously moved to the EC2-VPC platform back to the EC2-Classic platform. You cannot move an Elastic IP address that was originally allocated for use in EC2-VPC. The Elastic IP address must not be associated with an instance or network interface. |
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 |
|---|---|---|
PublicIp | string | The Elastic IP address. |
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. |
Lifecycle Methods​
- restore_address_to_classic
This action is deprecated. Restores an Elastic IP address that was previously moved to the EC2-VPC platform back to the EC2-Classic platform. You cannot move an Elastic IP address that was originally allocated for use in EC2-VPC. The Elastic IP address must not be associated with an instance or network interface.
EXEC aws.ec2.address_to_classics.restore_address_to_classic
@PublicIp='{{ PublicIp }}' --required,
@region='{{ region }}' --required,
@DryRun={{ DryRun }}
;