interface CfnTransitGatewayPolicyTableEntryProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.CfnTransitGatewayPolicyTableEntryProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnTransitGatewayPolicyTableEntryProps |
Java | software.amazon.awscdk.services.ec2.CfnTransitGatewayPolicyTableEntryProps |
Python | aws_cdk.aws_ec2.CfnTransitGatewayPolicyTableEntryProps |
TypeScript | aws-cdk-lib » aws_ec2 » CfnTransitGatewayPolicyTableEntryProps |
Properties for defining a CfnTransitGatewayPolicyTableEntry.
Example
// 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
| Name | Type | Description |
|---|---|---|
| policy | IResolvable | Transit | |
| policy | string | The rule number for the policy table entry. |
| target | string | The ID of the target route table. |
| transit | string | The ID of the transit gateway policy table. |
policyRule
Type:
IResolvable | Transit
policyRuleNumber
Type:
string
The rule number for the policy table entry.
targetRouteTableId
Type:
string
The ID of the target route table.
transitGatewayPolicyTableId
Type:
string
The ID of the transit gateway policy table.

.NET
Go
Java
Python
TypeScript