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

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

Overview

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

Constant Summary collapse

SENSITIVE =
[]

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)


45229
45230
45231
45232
45233
45234
# File 'lib/aws-sdk-ec2/types.rb', line 45229

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

#vpc_idString

The ID of the VPC.

Returns:

  • (String)


45229
45230
45231
45232
45233
45234
# File 'lib/aws-sdk-ec2/types.rb', line 45229

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