AWSEC2CreateNatGatewayRequest

Objective-C

@interface AWSEC2CreateNatGatewayRequest

Swift

class AWSEC2CreateNatGatewayRequest
  • [Public NAT gateways only] The allocation ID of an Elastic IP address to associate with the NAT gateway. You cannot specify an Elastic IP address with a private NAT gateway. If the Elastic IP address is associated with another resource, you must first disassociate it.

    Declaration

    Objective-C

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

    Swift

    var allocationId: String? { get set }
  • Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.

    Constraint: Maximum 64 ASCII characters.

    Declaration

    Objective-C

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

    Swift

    var clientToken: String? { get set }
  • Indicates whether the NAT gateway supports public or private connectivity. The default is public connectivity.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2ConnectivityType connectivityType;

    Swift

    var connectivityType: AWSEC2ConnectivityType { 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 private IPv4 address to assign to the NAT gateway. If you don’t provide an address, a private IPv4 address will be automatically assigned.

    Declaration

    Objective-C

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

    Swift

    var privateIpAddress: String? { get set }
  • Secondary EIP allocation IDs. For more information, see Create a NAT gateway in the Amazon VPC User Guide.

    Declaration

    Objective-C

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

    Swift

    var secondaryAllocationIds: [String]? { get set }
  • [Private NAT gateway only] The number of secondary private IPv4 addresses you want to assign to the NAT gateway. For more information about secondary addresses, see Create a NAT gateway in the Amazon VPC User Guide.

    Declaration

    Objective-C

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

    Swift

    var secondaryPrivateIpAddressCount: NSNumber? { get set }
  • Secondary private IPv4 addresses. For more information about secondary addresses, see Create a NAT gateway in the Amazon VPC User Guide.

    Declaration

    Objective-C

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

    Swift

    var secondaryPrivateIpAddresses: [String]? { get set }
  • The ID of the subnet in which to create the NAT gateway.

    Declaration

    Objective-C

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

    Swift

    var subnetId: String? { get set }
  • The tags to assign to the NAT gateway.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2TagSpecification *> *_Nullable tagSpecifications;

    Swift

    var tagSpecifications: [AWSEC2TagSpecification]? { get set }