AWSEC2CreateVpnGatewayRequest

@interface 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 (readwrite, strong, nonatomic) NSNumber *_Nullable amazonSideAsn;

    Swift

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

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) 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 (readwrite, strong, nonatomic) NSNumber *_Nullable dryRun;

    Swift

    var dryRun: NSNumber? { get set }
  • The type of VPN connection this virtual private gateway supports.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) AWSEC2GatewayType types;

    Swift

    var types: AWSEC2GatewayType { get set }