AWSEC2AssociateAddressRequest

Objective-C

@interface AWSEC2AssociateAddressRequest

Swift

class AWSEC2AssociateAddressRequest
  • The allocation ID. This is required.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable allocationId;

    Swift

    var allocationId: String? { get set }
  • Reassociation is automatic, but you can specify false to ensure the operation fails if the Elastic IP address is already associated with another resource.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable allowReassociation;

    Swift

    var allowReassociation: NSNumber? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable dryRun;

    Swift

    var dryRun: NSNumber? { get set }
  • The ID of the instance. The instance must have exactly one attached network interface. You can specify either the instance ID or the network interface ID, but not both.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable instanceId;

    Swift

    var instanceId: String? { get set }
  • The ID of the network interface. If the instance has more than one network interface, you must specify a network interface ID.

    You can specify either the instance ID or the network interface ID, but not both.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable networkInterfaceId;

    Swift

    var networkInterfaceId: String? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable privateIpAddress;

    Swift

    var privateIpAddress: String? { get set }
  • Deprecated.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable publicIp;

    Swift

    var publicIp: String? { get set }