AWSEC2CreateVpnGatewayRequest

Objective-C

@interface AWSEC2CreateVpnGatewayRequest

Swift

class AWSEC2CreateVpnGatewayRequest

Contains the parameters for CreateVpnGateway.

Required parameters: [Type]

  • A private Autonomous System Number (ASN) for the Amazon side of a BGP session. If you’re using a 16-bit ASN, it must be in the 64512 to 65534 range. If you’re using a 32-bit ASN, it must be in the 4200000000 to 4294967294 range.

    Default: 64512

    Declaration

    Objective-C

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

    Swift

    var amazonSideAsn: NSNumber? { get set }
  • The Availability Zone for the virtual private gateway.

    Declaration

    Objective-C

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

    Swift

    var availabilityZone: String? { 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 tags to apply to the virtual private gateway.

    Declaration

    Objective-C

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

    Swift

    var tagSpecifications: [AWSEC2TagSpecification]? { get set }
  • The type of VPN connection this virtual private gateway supports.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2GatewayType types;

    Swift

    var types: AWSEC2GatewayType { get set }