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

#associationTypes::TransitGatewayAttachmentAssociation

The association.

Returns:

#creation_timeTime

The creation time.

Returns:

  • (Time)

    The creation time.

#resource_idString

The ID of the resource.

Returns:

  • (String)

    The ID of the resource.

#resource_owner_idString

The ID of the AWS account that owns the resource.

Returns:

  • (String)

    The ID of the AWS account that owns the resource.

#resource_typeString

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.

#stateString

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.

#tagsArray<Types::Tag>

The tags for the attachment.

Returns:

  • (Array<Types::Tag>)

    The tags for the attachment.

#transit_gateway_attachment_idString

The ID of the attachment.

Returns:

  • (String)

    The ID of the attachment.

#transit_gateway_idString

The ID of the transit gateway.

Returns:

  • (String)

    The ID of the transit gateway.

#transit_gateway_owner_idString

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

Returns:

  • (String)

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