AWSEC2AssignPrivateIpAddressesRequest

Objective-C

@interface AWSEC2AssignPrivateIpAddressesRequest

Swift

class 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 number of IPv4 prefixes that Amazon Web Services automatically assigns to the network interface. You cannot use this option if you use the Ipv4 Prefixes option.

    Declaration

    Objective-C

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

    Swift

    var ipv4PrefixCount: NSNumber? { get set }
  • One or more IPv4 prefixes assigned to the network interface. You cannot use this option if you use the Ipv4PrefixCount option.

    Declaration

    Objective-C

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

    Swift

    var ipv4Prefixes: [String]? { 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 }