Skip to content
v2.273.0

CfnTransitGatewayPolicyTableEntryProps Struct ​

Properties for defining a CfnTransitGatewayPolicyTableEntry.

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 ​

policyRuleNumberstringpolicy_rule_numberstrpolicyRuleNumberStringPolicyRuleNumberstringPolicyRuleNumber*stringrequired#
The rule number for the policy table entry.
targetRouteTableIdstringtarget_route_table_idstrtargetRouteTableIdStringTargetRouteTableIdstringTargetRouteTableId*stringrequired#
The ID of the target route table.
transitGatewayPolicyTableIdstringtransit_gateway_policy_table_idstrtransitGatewayPolicyTableIdStringTransitGatewayPolicyTableIdstringTransitGatewayPolicyTableId*stringrequired#
The ID of the transit gateway policy table.

Used as props by ​