create_transit_gateway_policy_table_entry
¶
create_transit_gateway_policy_table_entry(
*,
config_overrides: Optional[EC2ClientConfig] = None,
transit_gateway_policy_table_id: Optional[TransitGatewayPolicyTableId] = None,
policy_rule_number: Optional[String] = None,
policy_rule: Optional[TransitGatewayRequestPolicyRule] = None,
target_route_table_id: Optional[TransitGatewayRouteTableId] = None,
dry_run: Optional[Boolean] = None,
) -> CreateTransitGatewayPolicyTableEntryResult
Creates an entry in a transit gateway policy table to route matching traffic to a specified route table.
Parameters:
-
transit_gateway_policy_table_id(Optional[TransitGatewayPolicyTableId], default:None) –The ID of the transit gateway policy table.
-
policy_rule_number(Optional[String], default:None) –The rule number for the policy table entry. Lower rule numbers are evaluated first and take precedence.
-
policy_rule(Optional[TransitGatewayRequestPolicyRule], default:None) –The matching criteria for the policy table entry.
-
target_route_table_id(Optional[TransitGatewayRouteTableId], default:None) –The ID of the transit gateway route table to use for traffic matching this rule.
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
13680 13681 13682 13683 13684 13685 13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 13696 13697 13698 13699 13700 13701 13702 13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 13715 13716 13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 | |