# CfnTransitGatewayPolicyTableEntryProps

Properties for defining a `CfnTransitGatewayPolicyTableEntry`.

Extends: CfnTransitGatewayPolicyTableEntryProps
Used as props by: CfnTransitGatewayPolicyTableEntry

- Source: Generated code
- Type last changed: v2.268.0 · 2 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_ec2 as ec2 } from 'aws-cdk-lib';
const cfnTransitGatewayPolicyTableEntryProps: ec2.CfnTransitGatewayPolicyTableEntryProps = {
  policyRule: {
    destinationCidrBlock: 'destinationCidrBlock',
    destinationPortRange: 'destinationPortRange',
    protocol: 'protocol',
    sourceCidrBlock: 'sourceCidrBlock',
    sourcePortRange: 'sourcePortRange',
  },
  policyRuleNumber: 'policyRuleNumber',
  targetRouteTableId: 'targetRouteTableId',
  transitGatewayPolicyTableId: 'transitGatewayPolicyTableId',
};
```

## Properties

- `policyRule`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTransitGatewayPolicyTableEntry.TransitGatewayPolicyRuleProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.CfnTransitGatewayPolicyTableEntry.TransitGatewayPolicyRuleProperty.html) (required)

- `policyRuleNumber`: string (required) — The rule number for the policy table entry.

- `targetRouteTableId`: string (required) — The ID of the target route table.

- `transitGatewayPolicyTableId`: string (required) — The ID of the transit gateway policy table.
