You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::EC2::Types::CreateCustomerGatewayRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateCustomerGatewayRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  bgp_asn: 1, # required
  public_ip: "String", # required
  type: "ipsec.1", # required, accepts ipsec.1
  dry_run: false,
}

Contains the parameters for CreateCustomerGateway.

Instance Attribute Summary collapse

Instance Attribute Details

#bgp_asnInteger

For devices that support BGP, the customer gateway\'s BGP ASN.

Default: 65000

Returns:

  • (Integer)

    For devices that support BGP, the customer gateway\'s BGP ASN.

#dry_runBoolean

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.

Returns:

  • (Boolean)

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.

#public_ipString

The Internet-routable IP address for the customer gateway\'s outside interface. The address must be static.

Returns:

  • (String)

    The Internet-routable IP address for the customer gateway\'s outside interface.

#typeString

The type of VPN connection that this customer gateway supports (ipsec.1).

Possible values:

  • ipsec.1

Returns:

  • (String)

    The type of VPN connection that this customer gateway supports (ipsec.1).