The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::EC2::AssociateAddress - Arguments for method AssociateAddress on Paws::EC2

DESCRIPTION

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.

ATTRIBUTES

AllocationId => Str

[EC2-VPC] The allocation ID. This is required for EC2-VPC.

AllowReassociation => Bool

[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

DryRun => Bool

InstanceId => Str

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.

NetworkInterfaceId => Str

[EC2-VPC] The ID of the network interface. If the instance has more than one network interface, you must specify a network interface ID.

PrivateIpAddress => Str

[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.

PublicIp => Str

The Elastic IP address. This is required for EC2-Classic.

SEE ALSO

This class forms part of Paws, documenting arguments for method AssociateAddress in Paws::EC2

BUGS and CONTRIBUTIONS

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