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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Describes an attachment between a resource and a transit gateway.

Instance Attribute Summary collapse

Instance Attribute Details

#association ⇒ Types::TransitGatewayAttachmentAssociation

The association.

Returns:

#creation_time ⇒ Time

The creation time.

Returns:

  • (Time) —

    The creation time.

#resource_id ⇒ String

The ID of the resource.

Returns:

  • (String) —

    The ID of the resource.

#resource_owner_id ⇒ String

The ID of the AWS account that owns the resource.

Returns:

  • (String) —

    The ID of the AWS account that owns the resource.

#resource_type ⇒ String

The resource type. Note that the tgw-peering resource type has been deprecated.

Possible values:

  • vpc
  • vpn
  • direct-connect-gateway
  • peering
  • tgw-peering

Returns:

  • (String) —

    The resource type.

#state ⇒ String

The attachment state. Note that the initiating state has been deprecated.

Possible values:

  • initiating
  • initiatingRequest
  • pendingAcceptance
  • rollingBack
  • pending
  • available
  • modifying
  • deleting
  • deleted
  • failed
  • rejected
  • rejecting
  • failing

Returns:

  • (String) —

    The attachment state.

#tags ⇒ Array<Types::Tag>

The tags for the attachment.

Returns:

  • (Array<Types::Tag>) —

    The tags for the attachment.

#transit_gateway_attachment_id ⇒ String

The ID of the attachment.

Returns:

  • (String) —

    The ID of the attachment.

#transit_gateway_id ⇒ String

The ID of the transit gateway.

Returns:

  • (String) —

    The ID of the transit gateway.

#transit_gateway_owner_id ⇒ String

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

Returns:

  • (String) —

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