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

Class: Aws::EC2::Types::InternetGatewayAttachment

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

Overview

Describes the attachment of a VPC to an Internet gateway or an egress-only Internet gateway.

Instance Attribute Summary collapse

Instance Attribute Details

#stateString

The current state of the attachment. For an Internet gateway, the state is available when attached to a VPC; otherwise, this value is not returned.

Returns:

  • (String)


17996
17997
17998
17999
18000
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17996

class InternetGatewayAttachment < Struct.new(
  :state,
  :vpc_id)
  include Aws::Structure
end

#vpc_idString

The ID of the VPC.

Returns:

  • (String)


17996
17997
17998
17999
18000
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17996

class InternetGatewayAttachment < Struct.new(
  :state,
  :vpc_id)
  include Aws::Structure
end