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

Class: Aws::EC2::Types::InternetGateway

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

Overview

Describes an internet gateway.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#attachments ⇒ Array<Types::InternetGatewayAttachment>

Any VPCs attached to the internet gateway.

Returns:

#internet_gateway_id ⇒ String

The ID of the internet gateway.

Returns:

  • (String) —

    The ID of the internet gateway.

#owner_id ⇒ String

The ID of the AWS account that owns the internet gateway.

Returns:

  • (String) —

    The ID of the AWS account that owns the internet gateway.

#tags ⇒ Array<Types::Tag>

Any tags assigned to the internet gateway.

Returns:

  • (Array<Types::Tag>) —

    Any tags assigned to the internet gateway.