本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
中转网关策略表的先决条件 Amazon Transit Gateway
在中转网关连接上配置 Policy-Based 路由 (PBR) 之前,请确认以下事项:
-
您已有公交网关。默认情况下,所有传输网关上均启用 PBR。无需额外配置即可激活该功能。
-
您拥有调用 PBR API 所需的 IAM 权限。至少必须允许对相关资源采取以下操作:
ec2:CreateTransitGatewayPolicyTableec2:DescribeTransitGatewayPolicyTablesec2:DeleteTransitGatewayPolicyTableec2:AssociateTransitGatewayPolicyTableec2:DisassociateTransitGatewayPolicyTableec2:GetTransitGatewayPolicyTableAssociationsec2:GetTransitGatewayPolicyTableEntriesec2:CreateTransitGatewayPolicyTableEntryec2:ModifyTransitGatewayPolicyTableEntryec2:DeleteTransitGatewayPolicyTableEntry
-
您打算作为目标引用的公交网关路由表已经存在。
-
如果附件当前与路由表关联,则必须先取消其关联,然后才能关联策略表。
有关 PBR 的资源级 IAM 条件的信息,请参阅中的示例策略。关联中转网关策略表