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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Contains the parameters for CreateCustomerGateway.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bgp_asnInteger

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

Default: 65000

Returns:

  • (Integer)


7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 7484

class CreateCustomerGatewayRequest < Struct.new(
  :bgp_asn,
  :public_ip,
  :certificate_arn,
  :type,
  :tag_specifications,
  :device_name,
  :ip_address,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#certificate_arnString

The Amazon Resource Name (ARN) for the customer gateway certificate.

Returns:

  • (String)


7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 7484

class CreateCustomerGatewayRequest < Struct.new(
  :bgp_asn,
  :public_ip,
  :certificate_arn,
  :type,
  :tag_specifications,
  :device_name,
  :ip_address,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#device_nameString

A name for the customer gateway device.

Length Constraints: Up to 255 characters.

Returns:

  • (String)


7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 7484

class CreateCustomerGatewayRequest < Struct.new(
  :bgp_asn,
  :public_ip,
  :certificate_arn,
  :type,
  :tag_specifications,
  :device_name,
  :ip_address,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#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)


7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 7484

class CreateCustomerGatewayRequest < Struct.new(
  :bgp_asn,
  :public_ip,
  :certificate_arn,
  :type,
  :tag_specifications,
  :device_name,
  :ip_address,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#ip_addressString

IPv4 address for the customer gateway device's outside interface. The address must be static.

Returns:

  • (String)


7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 7484

class CreateCustomerGatewayRequest < Struct.new(
  :bgp_asn,
  :public_ip,
  :certificate_arn,
  :type,
  :tag_specifications,
  :device_name,
  :ip_address,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#public_ipString

This member has been deprecated. The Internet-routable IP address for the customer gateway's outside interface. The address must be static.

Returns:

  • (String)


7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 7484

class CreateCustomerGatewayRequest < Struct.new(
  :bgp_asn,
  :public_ip,
  :certificate_arn,
  :type,
  :tag_specifications,
  :device_name,
  :ip_address,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#tag_specificationsArray<Types::TagSpecification>

The tags to apply to the customer gateway.

Returns:



7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 7484

class CreateCustomerGatewayRequest < Struct.new(
  :bgp_asn,
  :public_ip,
  :certificate_arn,
  :type,
  :tag_specifications,
  :device_name,
  :ip_address,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

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

Returns:

  • (String)


7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 7484

class CreateCustomerGatewayRequest < Struct.new(
  :bgp_asn,
  :public_ip,
  :certificate_arn,
  :type,
  :tag_specifications,
  :device_name,
  :ip_address,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end