Paws::EC2::AssociateAddress - Arguments for method AssociateAddress on Paws::EC2
This class represents the parameters used for calling the method AssociateAddress on the Amazon Elastic Compute Cloud service. Use the attributes of this class as arguments to method AssociateAddress.
You shouln't make instances of this class. Each attribute should be used as a named argument in the call to AssociateAddress.
As an example:
$service_obj->AssociateAddress(Att1 => $value1, Att2 => $value2, ...);
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
[EC2-VPC] The allocation ID. This is required for EC2-VPC.
[EC2-VPC] Allows an Elastic IP address that is already associated with an instance or network interface to be re-associated with the specified instance or network interface. Otherwise, the operation fails.
Default: false
false
The ID of the instance. This is required for EC2-Classic. For EC2-VPC, you can specify either the instance ID or the network interface ID, but not both. The operation fails if you specify an instance ID unless exactly one network interface is attached.
[EC2-VPC] The ID of the network interface. If the instance has more than one network interface, you must specify a network interface ID.
[EC2-VPC] The primary or secondary private IP address to associate with the Elastic IP address. If no private IP address is specified, the Elastic IP address is associated with the primary private IP address.
The Elastic IP address. This is required for EC2-Classic.
This class forms part of Paws, documenting arguments for method AssociateAddress in Paws::EC2
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.