AWSEC2CreateVpnConnectionRequest
Objective-C
@interface AWSEC2CreateVpnConnectionRequest
Swift
class AWSEC2CreateVpnConnectionRequest
Contains the parameters for CreateVpnConnection.
Required parameters: [CustomerGatewayId, Type]
-
The ID of the customer gateway.
Declaration
Objective-C
@property (nonatomic, strong) 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 isUnauthorizedOperation
.Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable dryRun;
Swift
var dryRun: NSNumber? { get set }
-
The options for the VPN connection.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2VpnConnectionOptionsSpecification *_Nullable options;
Swift
var options: AWSEC2VpnConnectionOptionsSpecification? { get set }
-
The tags to apply to the VPN connection.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSEC2TagSpecification *> *_Nullable tagSpecifications;
Swift
var tagSpecifications: [AWSEC2TagSpecification]? { 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 (nonatomic, strong) NSString *_Nullable transitGatewayId;
Swift
var transitGatewayId: String? { get set }
-
The type of VPN connection (
ipsec.1
).Declaration
Objective-C
@property (nonatomic, strong) 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 (nonatomic, strong) NSString *_Nullable vpnGatewayId;
Swift
var vpnGatewayId: String? { get set }