# CfnTransitGatewayRouteTablePropagationProps

Properties for defining a `CfnTransitGatewayRouteTablePropagation`.

Used as props by: [CfnTransitGatewayRouteTablePropagation](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.CfnTransitGatewayRouteTablePropagation.html)

- Source: Generated at build time
- Type last changed: v2.227.0 · 21 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnTransitGatewayRouteTablePropagationProps: ec2.CfnTransitGatewayRouteTablePropagationProps = {
  transitGatewayAttachmentId: 'transitGatewayAttachmentId',
  transitGatewayRouteTableId: 'transitGatewayRouteTableId',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2

cfn_transit_gateway_route_table_propagation_props = ec2.CfnTransitGatewayRouteTablePropagationProps(
    transit_gateway_attachment_id="transitGatewayAttachmentId",
    transit_gateway_route_table_id="transitGatewayRouteTableId"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;

CfnTransitGatewayRouteTablePropagationProps cfnTransitGatewayRouteTablePropagationProps = CfnTransitGatewayRouteTablePropagationProps.builder()
        .transitGatewayAttachmentId("transitGatewayAttachmentId")
        .transitGatewayRouteTableId("transitGatewayRouteTableId")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;

var cfnTransitGatewayRouteTablePropagationProps = new CfnTransitGatewayRouteTablePropagationProps {
    TransitGatewayAttachmentId = "transitGatewayAttachmentId",
    TransitGatewayRouteTableId = "transitGatewayRouteTableId"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnTransitGatewayRouteTablePropagationProps := &CfnTransitGatewayRouteTablePropagationProps{
	TransitGatewayAttachmentId: jsii.String("transitGatewayAttachmentId"),
	TransitGatewayRouteTableId: jsii.String("transitGatewayRouteTableId"),
}
```

## Properties

- `transitGatewayAttachmentId`: string | [ITransitGatewayAttachmentRef](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_ec2.ITransitGatewayAttachmentRef.html) (required) — The ID of the attachment.

- `transitGatewayRouteTableId`: string | [ITransitGatewayRouteTableRef](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_ec2.ITransitGatewayRouteTableRef.html) (required) — The ID of the propagation route table.
