Class: Aws::EC2::Types::VpnGateway

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

Overview

Describes a virtual private gateway.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#amazon_side_asnInteger

The private Autonomous System Number (ASN) for the Amazon side of a BGP session.

Returns:

  • (Integer)


51812
51813
51814
51815
51816
51817
51818
51819
51820
51821
51822
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 51812

class VpnGateway < Struct.new(
  :availability_zone,
  :state,
  :type,
  :vpc_attachments,
  :vpn_gateway_id,
  :amazon_side_asn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#availability_zoneString

The Availability Zone where the virtual private gateway was created, if applicable. This field may be empty or not returned.

Returns:

  • (String)


51812
51813
51814
51815
51816
51817
51818
51819
51820
51821
51822
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 51812

class VpnGateway < Struct.new(
  :availability_zone,
  :state,
  :type,
  :vpc_attachments,
  :vpn_gateway_id,
  :amazon_side_asn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

The current state of the virtual private gateway.

Returns:

  • (String)


51812
51813
51814
51815
51816
51817
51818
51819
51820
51821
51822
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 51812

class VpnGateway < Struct.new(
  :availability_zone,
  :state,
  :type,
  :vpc_attachments,
  :vpn_gateway_id,
  :amazon_side_asn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

Any tags assigned to the virtual private gateway.

Returns:



51812
51813
51814
51815
51816
51817
51818
51819
51820
51821
51822
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 51812

class VpnGateway < Struct.new(
  :availability_zone,
  :state,
  :type,
  :vpc_attachments,
  :vpn_gateway_id,
  :amazon_side_asn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of VPN connection the virtual private gateway supports.

Returns:

  • (String)


51812
51813
51814
51815
51816
51817
51818
51819
51820
51821
51822
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 51812

class VpnGateway < Struct.new(
  :availability_zone,
  :state,
  :type,
  :vpc_attachments,
  :vpn_gateway_id,
  :amazon_side_asn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_attachmentsArray<Types::VpcAttachment>

Any VPCs attached to the virtual private gateway.

Returns:



51812
51813
51814
51815
51816
51817
51818
51819
51820
51821
51822
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 51812

class VpnGateway < Struct.new(
  :availability_zone,
  :state,
  :type,
  :vpc_attachments,
  :vpn_gateway_id,
  :amazon_side_asn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#vpn_gateway_idString

The ID of the virtual private gateway.

Returns:

  • (String)


51812
51813
51814
51815
51816
51817
51818
51819
51820
51821
51822
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 51812

class VpnGateway < Struct.new(
  :availability_zone,
  :state,
  :type,
  :vpc_attachments,
  :vpn_gateway_id,
  :amazon_side_asn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end