CfnTransitGatewayPolicyTableEntryProps
- class aws_cdk.aws_ec2.CfnTransitGatewayPolicyTableEntryProps(*, policy_rule, policy_rule_number, target_route_table_id, transit_gateway_policy_table_id)
Bases:
objectProperties for defining a
CfnTransitGatewayPolicyTableEntry.- Parameters:
policy_rule (
Union[IResolvable,TransitGatewayPolicyRuleProperty,Dict[str,Any]])policy_rule_number (
str) – The rule number for the policy table entry.target_route_table_id (
str) – The ID of the target route table.transit_gateway_policy_table_id (
str) – The ID of the transit gateway policy table.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# 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_policy_table_entry_props = ec2.CfnTransitGatewayPolicyTableEntryProps( policy_rule=ec2.CfnTransitGatewayPolicyTableEntry.TransitGatewayPolicyRuleProperty( destination_cidr_block="destinationCidrBlock", destination_port_range="destinationPortRange", protocol="protocol", source_cidr_block="sourceCidrBlock", source_port_range="sourcePortRange" ), policy_rule_number="policyRuleNumber", target_route_table_id="targetRouteTableId", transit_gateway_policy_table_id="transitGatewayPolicyTableId" )
Attributes
- policy_rule
-
- Type:
see
- policy_rule_number
The rule number for the policy table entry.
- target_route_table_id
The ID of the target route table.
- transit_gateway_policy_table_id
The ID of the transit gateway policy table.