---
title: "GET /transit-gateway-route-table-attachments/{attachmentId}"
method: GET
path: "/transit-gateway-route-table-attachments/{attachmentId}"
---

# GET /transit-gateway-route-table-attachments/{attachmentId}

`GET /transit-gateway-route-table-attachments/{attachmentId}`

Returns information about a transit gateway route table attachment.

## Path parameters

- `attachmentId` string, required

## Response `200`

Success

- GetTransitGatewayRouteTableAttachmentResponse
  - `TransitGatewayRouteTableAttachment` object — Returns information about the transit gateway route table attachment.
    - `Attachment` Attachment — Describes a core network attachment.
      - `CoreNetworkId` string — The ID of a core network.
      - `CoreNetworkArn` string — The ARN of a core network.
      - `AttachmentId` string — The ID of the attachment.
      - `OwnerAccountId` string — The ID of the attachment account owner.
      - `AttachmentType` 'CONNECT' | 'SITE_TO_SITE_VPN' | 'VPC' | 'TRANSIT_GATEWAY_ROUTE_TABLE' — The type of attachment.
      - `State` 'REJECTED' | 'PENDING_ATTACHMENT_ACCEPTANCE' | 'CREATING' | 'FAILED' | 'AVAILABLE' | 'UPDATING' | 'PENDING_NETWORK_UPDATE' | 'PENDING_TAG_ACCEPTANCE' | 'DELETING' — The state of the attachment.
      - `EdgeLocation` string — The Region where the edge is located.
      - `ResourceArn` string — The attachment resource ARN.
      - `AttachmentPolicyRuleNumber` integer — The policy rule number associated with the attachment.
      - `SegmentName` string — The name of the segment attachment.
      - `Tags` Tag[] — The tags associated with the attachment.
        - `Key` string — <p>The tag key.</p> <p>Constraints: Maximum length of 128 characters.</p>
        - `Value` string — <p>The tag value.</p> <p>Constraints: Maximum length of 256 characters.</p>
      - `ProposedSegmentChange` object — The attachment to move from one segment to another.
        - `Tags` Tag[] — The list of key-value tags that changed for the segment.
          - `Key` string — <p>The tag key.</p> <p>Constraints: Maximum length of 128 characters.</p>
          - `Value` string — <p>The tag value.</p> <p>Constraints: Maximum length of 256 characters.</p>
        - `AttachmentPolicyRuleNumber` integer — The rule number in the policy document that applies to this change.
        - `SegmentName` string — The name of the segment to change.
      - `CreatedAt` string, date-time — The timestamp when the attachment was created.
      - `UpdatedAt` string, date-time — The timestamp when the attachment was last updated.
    - `PeeringId` string — The ID of the peering attachment.
    - `TransitGatewayRouteTableArn` string — The ARN of the transit gateway attachment route table. For example, <code>"TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456"</code>.

## Other responses

- `480` — ValidationException
- `481` — AccessDeniedException
- `482` — ResourceNotFoundException
- `483` — ThrottlingException
- `484` — InternalServerException

---

[API](https://skmtc.net/aws/apis/networkmanager.md) · [All operations](https://skmtc.net/aws/apis/networkmanager/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/networkmanager/versions/4ea0acef56bf/schema)
