AWSEC2AssociateAddressRequest Class Reference

Inherits from AWSRequest : AWSModel : AWSMTLModel
Declared in AWSEC2Model.h
AWSEC2Model.m

Overview

Contains the parameters for AssociateAddress.

  allocationId

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

@property (nonatomic, strong) NSString *allocationId

Declared In

AWSEC2Model.h

  allowReassociation

[EC2-VPC] For a VPC in an EC2-Classic account, specify true to allow an Elastic IP address that is already associated with an instance or network interface to be reassociated with the specified instance or network interface. Otherwise, the operation fails. In a VPC in an EC2-VPC-only account, reassociation is automatic, therefore you can specify false to ensure the operation fails if the Elastic IP address is already associated with another resource.

@property (nonatomic, strong) NSNumber *allowReassociation

Declared In

AWSEC2Model.h

  dryRun

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.

@property (nonatomic, strong) NSNumber *dryRun

Declared In

AWSEC2Model.h

  instanceId

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.

@property (nonatomic, strong) NSString *instanceId

Declared In

AWSEC2Model.h

  networkInterfaceId

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

@property (nonatomic, strong) NSString *networkInterfaceId

Declared In

AWSEC2Model.h

  privateIpAddress

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

@property (nonatomic, strong) NSString *privateIpAddress

Declared In

AWSEC2Model.h

  publicIp

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

@property (nonatomic, strong) NSString *publicIp

Declared In

AWSEC2Model.h