

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# Transit Gateway 中傳輸閘道政策資料表的先決條件 AWS
<a name="tgw-policy-tables-prerequisites"></a>

在傳輸閘道附件上設定政策型路由 (PBR) 之前，請確認下列事項：
+ 您有現有的傳輸閘道。預設會在所有傳輸閘道上啟用 PBR。啟用功能不需要額外的組態。
+ 您擁有呼叫 PBR APIs所需的 IAM 許可。至少必須在相關資源上允許下列動作：
  + `ec2:CreateTransitGatewayPolicyTable`
  + `ec2:DescribeTransitGatewayPolicyTables`
  + `ec2:DeleteTransitGatewayPolicyTable`
  + `ec2:AssociateTransitGatewayPolicyTable`
  + `ec2:DisassociateTransitGatewayPolicyTable`
  + `ec2:GetTransitGatewayPolicyTableAssociations`
  + `ec2:GetTransitGatewayPolicyTableEntries`
  + `ec2:CreateTransitGatewayPolicyTableEntry`
  + `ec2:ModifyTransitGatewayPolicyTableEntry`
  + `ec2:DeleteTransitGatewayPolicyTableEntry`
+ 您要做為目標參考的傳輸閘道路由表已存在。
+ 如果附件目前與路由表相關聯，您必須先將其取消關聯，才能關聯政策表。

如需 PBR 資源層級 IAM 條件的相關資訊，請參閱 中的範例政策[關聯傳輸閘道政策表](tgw-policy-tables-associate.md)。