# CfnTransitGatewayRouteTableAttachmentProps

Properties for defining a `CfnTransitGatewayRouteTableAttachment`.

Extends: CfnTransitGatewayRouteTableAttachmentProps
Used as props by: CfnTransitGatewayRouteTableAttachment

- Source: Generated code
- Type last changed: v2.272.0 · 30 Sep 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkmanager as networkmanager } from 'aws-cdk-lib';
const cfnTransitGatewayRouteTableAttachmentProps: networkmanager.CfnTransitGatewayRouteTableAttachmentProps = {
  peeringId: 'peeringId',
  transitGatewayRouteTableArn: 'transitGatewayRouteTableArn',

  // the properties below are optional
  networkFunctionGroupName: 'networkFunctionGroupName',
  proposedSegmentChange: {
    attachmentPolicyRuleNumber: 123,
    segmentName: 'segmentName',
    tags: [{
      key: 'key',
      value: 'value',
    }],
  },
  routingPolicyLabel: 'routingPolicyLabel',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `networkFunctionGroupName`: string — The name of the network function group.

- `peeringId`: string (required) — The ID of the transit gateway peering.

- `proposedSegmentChange`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTransitGatewayRouteTableAttachment.ProposedSegmentChangeProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_networkmanager.CfnTransitGatewayRouteTableAttachment.ProposedSegmentChangeProperty.html) — This property is read-only.

  Values can't be assigned to it.

- `routingPolicyLabel`: string — Routing policy label.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The list of key-value pairs associated with the transit gateway route table attachment.

- `transitGatewayRouteTableArn`: string (required) — The ARN of the transit gateway attachment route table.

  For example, `"TransitGatewayRouteTableArn": "arn:aws:ec2:us-west-2:123456789012:transit-gateway-route-table/tgw-rtb-9876543210123456"` .
