AWSEC2CreateVpnConnectionRequest

@interface AWSEC2CreateVpnConnectionRequest

Contains the parameters for CreateVpnConnection.

Required parameters: [CustomerGatewayId, Type]

  • The ID of the customer gateway.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable customerGatewayId;

    Swift

    var customerGatewayId: 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 options for the VPN connection.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        AWSEC2VpnConnectionOptionsSpecification *_Nullable options;

    Swift

    var options: AWSEC2VpnConnectionOptionsSpecification? { get set }
  • The ID of the transit gateway. If you specify a transit gateway, you cannot specify a virtual private gateway.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable transitGatewayId;

    Swift

    var transitGatewayId: String? { get set }
  • The type of VPN connection (ipsec.1).

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable types;

    Swift

    var types: String? { get set }
  • The ID of the virtual private gateway. If you specify a virtual private gateway, you cannot specify a transit gateway.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable vpnGatewayId;

    Swift

    var vpnGatewayId: String? { get set }