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 or BgpAsnExtended when creating the customer gateway. If the ASN is larger than 2,147,483,647, you must use BgpAsnExtended.

    Default: 65000

    Valid values: 1 to 2,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 or BgpAsnExtended when creating the customer gateway. If the ASN is larger than 2,147,483,647, you must use BgpAsnExtended.

    Valid values: 2,147,483,648 to 4,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 is UnauthorizedOperation.

    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 to PrivateIpv4, you can use an RFC6598 or RFC1918 private IPv4 address. If OutsideIpAddressType is set to PublicIpv4, 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 }