CfnTransitGatewayPolicyTableEntryProps

class aws_cdk.aws_ec2.CfnTransitGatewayPolicyTableEntryProps(*, policy_rule, policy_rule_number, target_route_table_id, transit_gateway_policy_table_id)

Bases: object

Properties 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewaypolicytableentry.html

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

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewaypolicytableentry.html#cfn-ec2-transitgatewaypolicytableentry-policyrule

Type:

see

policy_rule_number

The rule number for the policy table entry.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewaypolicytableentry.html#cfn-ec2-transitgatewaypolicytableentry-policyrulenumber

target_route_table_id

The ID of the target route table.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewaypolicytableentry.html#cfn-ec2-transitgatewaypolicytableentry-targetroutetableid

transit_gateway_policy_table_id

The ID of the transit gateway policy table.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewaypolicytableentry.html#cfn-ec2-transitgatewaypolicytableentry-transitgatewaypolicytableid