Class: Aws::EC2::Types::CustomerGateway

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

Overview

Describes a customer gateway.

Instance Attribute Summary collapse

Instance Attribute Details

#bgp_asnString

The customer gateway’s Border Gateway Protocol (BGP) Autonomous System Number (ASN).

Returns:

  • (String)


7624
7625
7626
7627
7628
7629
7630
7631
7632
# File 'lib/aws-sdk-ec2/types.rb', line 7624

class CustomerGateway < Struct.new(
  :bgp_asn,
  :customer_gateway_id,
  :ip_address,
  :state,
  :type,
  :tags)
  include Aws::Structure
end

#customer_gateway_idString

The ID of the customer gateway.

Returns:

  • (String)


7624
7625
7626
7627
7628
7629
7630
7631
7632
# File 'lib/aws-sdk-ec2/types.rb', line 7624

class CustomerGateway < Struct.new(
  :bgp_asn,
  :customer_gateway_id,
  :ip_address,
  :state,
  :type,
  :tags)
  include Aws::Structure
end

#ip_addressString

The Internet-routable IP address of the customer gateway’s outside interface.

Returns:

  • (String)


7624
7625
7626
7627
7628
7629
7630
7631
7632
# File 'lib/aws-sdk-ec2/types.rb', line 7624

class CustomerGateway < Struct.new(
  :bgp_asn,
  :customer_gateway_id,
  :ip_address,
  :state,
  :type,
  :tags)
  include Aws::Structure
end

#stateString

The current state of the customer gateway (‘pending | available | deleting | deleted`).

Returns:

  • (String)


7624
7625
7626
7627
7628
7629
7630
7631
7632
# File 'lib/aws-sdk-ec2/types.rb', line 7624

class CustomerGateway < Struct.new(
  :bgp_asn,
  :customer_gateway_id,
  :ip_address,
  :state,
  :type,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

Any tags assigned to the customer gateway.

Returns:



7624
7625
7626
7627
7628
7629
7630
7631
7632
# File 'lib/aws-sdk-ec2/types.rb', line 7624

class CustomerGateway < Struct.new(
  :bgp_asn,
  :customer_gateway_id,
  :ip_address,
  :state,
  :type,
  :tags)
  include Aws::Structure
end

#typeString

The type of VPN connection the customer gateway supports (‘ipsec.1`).

Returns:

  • (String)


7624
7625
7626
7627
7628
7629
7630
7631
7632
# File 'lib/aws-sdk-ec2/types.rb', line 7624

class CustomerGateway < Struct.new(
  :bgp_asn,
  :customer_gateway_id,
  :ip_address,
  :state,
  :type,
  :tags)
  include Aws::Structure
end