Class: Aws::EC2::Types::CreateCustomerGatewayRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::CreateCustomerGatewayRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
When making an API call, you may pass CreateCustomerGatewayRequest data as a 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
-
#bgp_asn ⇒ Integer
For devices that support BGP, the customer gateway’s BGP ASN.
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#public_ip ⇒ String
The Internet-routable IP address for the customer gateway’s outside interface.
-
#type ⇒ String
The type of VPN connection that this customer gateway supports (‘ipsec.1`).
Instance Attribute Details
#bgp_asn ⇒ Integer
For devices that support BGP, the customer gateway’s BGP ASN.
Default: 65000
4337 4338 4339 4340 4341 4342 4343 |
# File 'lib/aws-sdk-ec2/types.rb', line 4337 class CreateCustomerGatewayRequest < Struct.new( :bgp_asn, :public_ip, :type, :dry_run) include Aws::Structure end |
#dry_run ⇒ Boolean
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`.
4337 4338 4339 4340 4341 4342 4343 |
# File 'lib/aws-sdk-ec2/types.rb', line 4337 class CreateCustomerGatewayRequest < Struct.new( :bgp_asn, :public_ip, :type, :dry_run) include Aws::Structure end |
#public_ip ⇒ String
The Internet-routable IP address for the customer gateway’s outside interface. The address must be static.
4337 4338 4339 4340 4341 4342 4343 |
# File 'lib/aws-sdk-ec2/types.rb', line 4337 class CreateCustomerGatewayRequest < Struct.new( :bgp_asn, :public_ip, :type, :dry_run) include Aws::Structure end |
#type ⇒ String
The type of VPN connection that this customer gateway supports (‘ipsec.1`).
4337 4338 4339 4340 4341 4342 4343 |
# File 'lib/aws-sdk-ec2/types.rb', line 4337 class CreateCustomerGatewayRequest < Struct.new( :bgp_asn, :public_ip, :type, :dry_run) include Aws::Structure end |