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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Describes a virtual private gateway.

Returned by:

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)

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

#availability_zoneString

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

Returns:

  • (String)

    The Availability Zone where the virtual private gateway was created, if applicable.

#stateString

The current state of the virtual private gateway.

Possible values:

  • pending
  • available
  • deleting
  • deleted

Returns:

  • (String)

    The current state of the virtual private gateway.

#tagsArray<Types::Tag>

Any tags assigned to the virtual private gateway.

Returns:

  • (Array<Types::Tag>)

    Any tags assigned to the virtual private gateway.

#typeString

The type of VPN connection the virtual private gateway supports.

Possible values:

  • ipsec.1

Returns:

  • (String)

    The type of VPN connection the virtual private gateway supports.

#vpc_attachmentsArray<Types::VpcAttachment>

Any VPCs attached to the virtual private gateway.

Returns:

#vpn_gateway_idString

The ID of the virtual private gateway.

Returns:

  • (String)

    The ID of the virtual private gateway.