AWSEC2CreateCustomerGatewayRequest
Objective-C
@interface AWSEC2CreateCustomerGatewayRequest
Swift
class AWSEC2CreateCustomerGatewayRequest
Contains the parameters for CreateCustomerGateway.
Required parameters: [Type]
-
For customer gateway devices that support BGP, specify the device’s ASN. You must specify either
BgpAsn
orBgpAsnExtended
when creating the customer gateway. If the ASN is larger than2,147,483,647
, you must useBgpAsnExtended
.Default: 65000
Valid values:
1
to2,147,483,647
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable bgpAsn;
Swift
var bgpAsn: NSNumber? { get set }
-
For customer gateway devices that support BGP, specify the device’s ASN. You must specify either
BgpAsn
orBgpAsnExtended
when creating the customer gateway. If the ASN is larger than2,147,483,647
, you must useBgpAsnExtended
.Valid values:
2,147,483,648
to4,294,967,295
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable bgpAsnExtended;
Swift
var bgpAsnExtended: NSNumber? { get set }
-
The Amazon Resource Name (ARN) for the customer gateway certificate.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable certificateArn;
Swift
var certificateArn: String? { get set }
-
A name for the customer gateway device.
Length Constraints: Up to 255 characters.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable deviceName;
Swift
var deviceName: 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 }
-
IPv4 address for the customer gateway device’s outside interface. The address must be static. If
OutsideIpAddressType
in your VPN connection options is set toPrivateIpv4
, you can use an RFC6598 or RFC1918 private IPv4 address. IfOutsideIpAddressType
is set toPublicIpv4
, you can use a public IPv4 address.Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable ipAddress;
Swift
var ipAddress: String? { get set }
-
This member has been deprecated. The Internet-routable IP address for the customer gateway’s outside interface. The address must be static.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable publicIp;
Swift
var publicIp: String? { get set }
-
The tags to apply to the customer gateway.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSEC2TagSpecification *> *_Nullable tagSpecifications;
Swift
var tagSpecifications: [AWSEC2TagSpecification]? { get set }
-
The type of VPN connection that this customer gateway supports (
ipsec.1
).Declaration
Objective-C
@property (nonatomic) AWSEC2GatewayType types;
Swift
var types: AWSEC2GatewayType { get set }