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

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

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

Overview

Describes an internet gateway.

Instance Attribute Summary collapse

Instance Attribute Details

#attachmentsArray<Types::InternetGatewayAttachment>

Any VPCs attached to the internet gateway.



24516
24517
24518
24519
24520
24521
24522
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24516

class InternetGateway < Struct.new(
  :attachments,
  :internet_gateway_id,
  :owner_id,
  :tags)
  include Aws::Structure
end

#internet_gateway_idString

The ID of the internet gateway.

Returns:

  • (String)


24516
24517
24518
24519
24520
24521
24522
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24516

class InternetGateway < Struct.new(
  :attachments,
  :internet_gateway_id,
  :owner_id,
  :tags)
  include Aws::Structure
end

#owner_idString

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

Returns:

  • (String)


24516
24517
24518
24519
24520
24521
24522
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24516

class InternetGateway < Struct.new(
  :attachments,
  :internet_gateway_id,
  :owner_id,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

Any tags assigned to the internet gateway.

Returns:



24516
24517
24518
24519
24520
24521
24522
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24516

class InternetGateway < Struct.new(
  :attachments,
  :internet_gateway_id,
  :owner_id,
  :tags)
  include Aws::Structure
end