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

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.

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)


25945
25946
25947
25948
25949
25950
25951
25952
25953
25954
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25945

class VpnGateway < Struct.new(
  :availability_zone,
  :state,
  :type,
  :vpc_attachments,
  :vpn_gateway_id,
  :amazon_side_asn,
  :tags)
  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)


25945
25946
25947
25948
25949
25950
25951
25952
25953
25954
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25945

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

#stateString

The current state of the virtual private gateway.

Returns:

  • (String)


25945
25946
25947
25948
25949
25950
25951
25952
25953
25954
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25945

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

#tagsArray<Types::Tag>

Any tags assigned to the virtual private gateway.

Returns:



25945
25946
25947
25948
25949
25950
25951
25952
25953
25954
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25945

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

#typeString

The type of VPN connection the virtual private gateway supports.

Returns:

  • (String)


25945
25946
25947
25948
25949
25950
25951
25952
25953
25954
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25945

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

#vpc_attachmentsArray<Types::VpcAttachment>

Any VPCs attached to the virtual private gateway.

Returns:



25945
25946
25947
25948
25949
25950
25951
25952
25953
25954
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25945

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

#vpn_gateway_idString

The ID of the virtual private gateway.

Returns:

  • (String)


25945
25946
25947
25948
25949
25950
25951
25952
25953
25954
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25945

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