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

Class: Aws::EC2::Types::TransitGatewayAttachment

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

Overview

Describes an attachment between a resource and a transit gateway.

Instance Attribute Summary collapse

Instance Attribute Details

#associationTypes::TransitGatewayAttachmentAssociation

The association.



36027
36028
36029
36030
36031
36032
36033
36034
36035
36036
36037
36038
36039
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36027

class TransitGatewayAttachment < Struct.new(
  :transit_gateway_attachment_id,
  :transit_gateway_id,
  :transit_gateway_owner_id,
  :resource_owner_id,
  :resource_type,
  :resource_id,
  :state,
  :association,
  :creation_time,
  :tags)
  include Aws::Structure
end

#creation_timeTime

The creation time.

Returns:

  • (Time)


36027
36028
36029
36030
36031
36032
36033
36034
36035
36036
36037
36038
36039
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36027

class TransitGatewayAttachment < Struct.new(
  :transit_gateway_attachment_id,
  :transit_gateway_id,
  :transit_gateway_owner_id,
  :resource_owner_id,
  :resource_type,
  :resource_id,
  :state,
  :association,
  :creation_time,
  :tags)
  include Aws::Structure
end

#resource_idString

The ID of the resource.

Returns:

  • (String)


36027
36028
36029
36030
36031
36032
36033
36034
36035
36036
36037
36038
36039
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36027

class TransitGatewayAttachment < Struct.new(
  :transit_gateway_attachment_id,
  :transit_gateway_id,
  :transit_gateway_owner_id,
  :resource_owner_id,
  :resource_type,
  :resource_id,
  :state,
  :association,
  :creation_time,
  :tags)
  include Aws::Structure
end

#resource_owner_idString

The ID of the AWS account that owns the resource.

Returns:

  • (String)


36027
36028
36029
36030
36031
36032
36033
36034
36035
36036
36037
36038
36039
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36027

class TransitGatewayAttachment < Struct.new(
  :transit_gateway_attachment_id,
  :transit_gateway_id,
  :transit_gateway_owner_id,
  :resource_owner_id,
  :resource_type,
  :resource_id,
  :state,
  :association,
  :creation_time,
  :tags)
  include Aws::Structure
end

#resource_typeString

The resource type.

Returns:

  • (String)


36027
36028
36029
36030
36031
36032
36033
36034
36035
36036
36037
36038
36039
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36027

class TransitGatewayAttachment < Struct.new(
  :transit_gateway_attachment_id,
  :transit_gateway_id,
  :transit_gateway_owner_id,
  :resource_owner_id,
  :resource_type,
  :resource_id,
  :state,
  :association,
  :creation_time,
  :tags)
  include Aws::Structure
end

#stateString

The attachment state.

Returns:

  • (String)


36027
36028
36029
36030
36031
36032
36033
36034
36035
36036
36037
36038
36039
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36027

class TransitGatewayAttachment < Struct.new(
  :transit_gateway_attachment_id,
  :transit_gateway_id,
  :transit_gateway_owner_id,
  :resource_owner_id,
  :resource_type,
  :resource_id,
  :state,
  :association,
  :creation_time,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

The tags for the attachment.

Returns:



36027
36028
36029
36030
36031
36032
36033
36034
36035
36036
36037
36038
36039
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36027

class TransitGatewayAttachment < Struct.new(
  :transit_gateway_attachment_id,
  :transit_gateway_id,
  :transit_gateway_owner_id,
  :resource_owner_id,
  :resource_type,
  :resource_id,
  :state,
  :association,
  :creation_time,
  :tags)
  include Aws::Structure
end

#transit_gateway_attachment_idString

The ID of the attachment.

Returns:

  • (String)


36027
36028
36029
36030
36031
36032
36033
36034
36035
36036
36037
36038
36039
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36027

class TransitGatewayAttachment < Struct.new(
  :transit_gateway_attachment_id,
  :transit_gateway_id,
  :transit_gateway_owner_id,
  :resource_owner_id,
  :resource_type,
  :resource_id,
  :state,
  :association,
  :creation_time,
  :tags)
  include Aws::Structure
end

#transit_gateway_idString

The ID of the transit gateway.

Returns:

  • (String)


36027
36028
36029
36030
36031
36032
36033
36034
36035
36036
36037
36038
36039
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36027

class TransitGatewayAttachment < Struct.new(
  :transit_gateway_attachment_id,
  :transit_gateway_id,
  :transit_gateway_owner_id,
  :resource_owner_id,
  :resource_type,
  :resource_id,
  :state,
  :association,
  :creation_time,
  :tags)
  include Aws::Structure
end

#transit_gateway_owner_idString

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

Returns:

  • (String)


36027
36028
36029
36030
36031
36032
36033
36034
36035
36036
36037
36038
36039
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36027

class TransitGatewayAttachment < Struct.new(
  :transit_gateway_attachment_id,
  :transit_gateway_id,
  :transit_gateway_owner_id,
  :resource_owner_id,
  :resource_type,
  :resource_id,
  :state,
  :association,
  :creation_time,
  :tags)
  include Aws::Structure
end