View a markdown version of this page

中转网关策略表的先决条件 Amazon Transit Gateway - Amazon VPC
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

中转网关策略表的先决条件 Amazon Transit Gateway

在中转网关连接上配置 Policy-Based 路由 (PBR) 之前,请确认以下事项:

  • 您已有公交网关。默认情况下,所有传输网关上均启用 PBR。无需额外配置即可激活该功能。

  • 您拥有调用 PBR API 所需的 IAM 权限。至少必须允许对相关资源采取以下操作:

    • ec2:CreateTransitGatewayPolicyTable

    • ec2:DescribeTransitGatewayPolicyTables

    • ec2:DeleteTransitGatewayPolicyTable

    • ec2:AssociateTransitGatewayPolicyTable

    • ec2:DisassociateTransitGatewayPolicyTable

    • ec2:GetTransitGatewayPolicyTableAssociations

    • ec2:GetTransitGatewayPolicyTableEntries

    • ec2:CreateTransitGatewayPolicyTableEntry

    • ec2:ModifyTransitGatewayPolicyTableEntry

    • ec2:DeleteTransitGatewayPolicyTableEntry

  • 您打算作为目标引用的公交网关路由表已经存在。

  • 如果附件当前与路由表关联,则必须先取消其关联,然后才能关联策略表。

有关 PBR 的资源级 IAM 条件的信息,请参阅中的示例策略。关联中转网关策略表