AWSEC2CreateCustomerGatewayRequest

Objective-C

@interface AWSEC2CreateCustomerGatewayRequest

Swift

class AWSEC2CreateCustomerGatewayRequest

Contains the parameters for CreateCustomerGateway.

Required parameters: [BgpAsn, Type]

  • For devices that support BGP, the customer gateway’s BGP ASN.

    Default: 65000

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable bgpAsn;

    Swift

    var bgpAsn: 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 }
  • 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 }