AWSEC2CreateNetworkInterfaceRequest Class Reference

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

Overview

Contains the parameters for CreateNetworkInterface.

Required parameters: [SubnetId]

  detail

A description for the network interface.

@property (nonatomic, strong) NSString *detail

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

  groups

The IDs of one or more security groups.

@property (nonatomic, strong) NSArray<NSString*> *groups

Declared In

AWSEC2Model.h

  privateIpAddress

The primary private IP address of the network interface. If you don't specify an IP address, Amazon EC2 selects one for you from the subnet range. If you specify an IP address, you cannot indicate any IP addresses specified in privateIpAddresses as primary (only one IP address can be designated as primary).

@property (nonatomic, strong) NSString *privateIpAddress

Declared In

AWSEC2Model.h

  privateIpAddresses

One or more private IP addresses.

@property (nonatomic, strong) NSArray<AWSEC2PrivateIpAddressSpecification*> *privateIpAddresses

Declared In

AWSEC2Model.h

  secondaryPrivateIpAddressCount

The number of secondary private IP addresses to assign to a network interface. When you specify a number of secondary IP addresses, Amazon EC2 selects these IP addresses within the subnet range. You can't specify this option and specify more than one private IP address using privateIpAddresses.

The number of IP addresses you can assign to a network interface varies by instance type. For more information, see Private IP Addresses Per ENI Per Instance Type in the Amazon Elastic Compute Cloud User Guide.

@property (nonatomic, strong) NSNumber *secondaryPrivateIpAddressCount

Declared In

AWSEC2Model.h

  subnetId

The ID of the subnet to associate with the network interface.

@property (nonatomic, strong) NSString *subnetId

Declared In

AWSEC2Model.h