AWSEC2AssignPrivateIpAddressesRequest

@interface AWSEC2AssignPrivateIpAddressesRequest

Contains the parameters for AssignPrivateIpAddresses.

Required parameters: [NetworkInterfaceId]

  • Indicates whether to allow an IP address that is already assigned to another network interface or instance to be reassigned to the specified network interface.

    Declaration

    Objective-C

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

    Swift

    var allowReassignment: NSNumber? { get set }
  • The ID of the network interface.

    Declaration

    Objective-C

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

    Swift

    var networkInterfaceId: String? { get set }
  • One or more IP addresses to be assigned as a secondary private IP address to the network interface. You can’t specify this parameter when also specifying a number of secondary IP addresses.

    If you don’t specify an IP address, Amazon EC2 automatically selects an IP address within the subnet range.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable privateIpAddresses;

    Swift

    var privateIpAddresses: [String]? { get set }
  • The number of secondary IP addresses to assign to the network interface. You can’t specify this parameter when also specifying private IP addresses.

    Declaration

    Objective-C

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

    Swift

    var secondaryPrivateIpAddressCount: NSNumber? { get set }