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

Class: Aws::EC2::Types::VpcAttachment

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

Overview

Describes an attachment between a virtual private gateway and a VPC.

Instance Attribute Summary collapse

Instance Attribute Details

#stateString

The current state of the attachment.

Returns:

  • (String)


24697
24698
24699
24700
24701
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24697

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

#vpc_idString

The ID of the VPC.

Returns:

  • (String)


24697
24698
24699
24700
24701
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24697

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