Skip to main content

address_to_classics

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

Overview​

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

NameAccessible byRequired ParamsOptional ParamsDescription
restore_address_to_classicexecPublicIp, regionDryRunThis 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.

NameDatatypeDescription
PublicIpstringThe Elastic IP address.
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.

Lifecycle Methods​

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 }}
;