AWSEC2AttachNetworkInterfaceRequest

Objective-C

@interface AWSEC2AttachNetworkInterfaceRequest

Swift

class AWSEC2AttachNetworkInterfaceRequest

Contains the parameters for AttachNetworkInterface.

Required parameters: [DeviceIndex, InstanceId, NetworkInterfaceId]

  • The index of the device for the network interface attachment.

    Declaration

    Objective-C

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

    Swift

    var deviceIndex: 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 }
  • Configures ENA Express for the network interface that this action attaches to the instance.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSEC2EnaSrdSpecification *_Nullable enaSrdSpecification;

    Swift

    var enaSrdSpecification: AWSEC2EnaSrdSpecification? { get set }
  • The ID of the instance.

    Declaration

    Objective-C

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

    Swift

    var instanceId: String? { get set }
  • The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var networkInterfaceId: String? { get set }