View a markdown version of this page

AWS Control Tower 的動作、資源和條件索引鍵 - 服務授權參考

AWS Control Tower 的動作、資源和條件索引鍵

AWS Control Tower (服務字首:controltower) 提供下列服務特定的操作、資源、動作和條件索引鍵,可用於 IAM 許可政策。

參考資料:

AWS Control Tower 定義的 API 操作

下表將 API 操作映射至其授權的 IAM 動作。只會列出具有指定 API 和動作靜態值的條件金鑰;如需每個動作支援的完整條件金鑰集,請參閱動作表格。

作業 IAM 動作 條件鍵 可能的值 (s) 存取層級

CreateLandingZone

controltower:CreateLandingZone

寫入

controltower:PerformPreLaunchChecks

讀取

controltower:SetupLandingZone

寫入

controltower:TagResource

標記、寫入

DeleteLandingZone

controltower:DeleteLandingZone

寫入

DisableBaseline

controltower:DeregisterOrganizationalUnit

寫入

controltower:DisableBaseline

寫入

DisableControl

controltower:DisableControl

寫入

controltower:DisableGuardrail

寫入

EnableBaseline

controltower:EnableBaseline

寫入

controltower:ManageOrganizationalUnit

寫入

controltower:TagResource

標記、寫入

EnableControl

controltower:EnableControl

寫入

controltower:EnableGuardrail

寫入

controltower:TagResource

標記、寫入

GetBaseline

controltower:GetBaseline

讀取

GetBaselineOperation

controltower:DescribeRegisterOrganizationalUnitOperation

讀取

controltower:GetBaselineOperation

讀取

GetControlOperation

controltower:GetControlOperation

讀取

GetEnabledBaseline

controltower:DescribeManagedAccount

讀取

controltower:DescribeManagedOrganizationalUnit

讀取

controltower:GetEnabledBaseline

讀取

GetEnabledControl

controltower:DescribeGuardrailForTarget

讀取

controltower:GetEnabledControl

讀取

GetLandingZone

controltower:DescribeLandingZoneConfiguration

讀取

controltower:GetAvailableUpdates

讀取

controltower:GetLandingZone

讀取

controltower:GetLandingZoneDriftStatus

讀取

controltower:GetLandingZoneStatus

讀取

GetLandingZoneOperation

controltower:GetLandingZoneOperation

讀取

controltower:GetLandingZoneStatus

讀取

ListBaselines

controltower:ListBaselines

清單

ListControlOperations

controltower:ListControlOperations

清單

ListEnabledBaselines

controltower:ListEnabledBaselines

清單

controltower:ListManagedAccounts

清單

controltower:ListManagedOrganizationalUnits

清單

ListEnabledControls

controltower:ListEnabledControls

清單

controltower:ListGuardrailsForTarget

清單

ListLandingZoneOperations

controltower:GetLandingZoneStatus

讀取

controltower:ListLandingZoneOperations

清單

ListLandingZones

controltower:GetHomeRegion

讀取

controltower:ListLandingZones

清單

ListTagsForResource

controltower:ListTagsForResource

讀取

ResetEnabledBaseline

controltower:ManageOrganizationalUnit

寫入

controltower:ResetEnabledBaseline

寫入

ResetEnabledControl

controltower:ResetEnabledControl

寫入

ResetLandingZone

controltower:ResetLandingZone

寫入

controltower:SetupLandingZone

寫入

TagResource

controltower:TagResource

標記、寫入

UntagResource

controltower:UntagResource

標記、寫入

UpdateEnabledBaseline

controltower:ManageOrganizationalUnit

寫入

controltower:UpdateEnabledBaseline

寫入

UpdateEnabledControl

controltower:UpdateEnabledControl

寫入

UpdateLandingZone

controltower:SetupLandingZone

寫入

controltower:UpdateLandingZone

寫入

AWS Control Tower 定義的動作

您可在 IAM 政策陳述式的 Action 元素中指定以下動作。使用政策來授予在 AWS中執行操作的許可。在政策中使用動作時,通常會允許或拒絕存取相同名稱的 API 操作或 CLI 命令。不過,在某些情況下,單一動作可控制對多個操作的存取。或者,某些操作需要多種不同的動作。

動作 說明 資源類型 (*必填項目) 條件索引鍵 存取層級

CreateLandingZone

准許建立登陸區域

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

DeleteLandingZone

准許刪除 AWS Control Tower 登陸區域

LandingZone*

aws:ResourceTag/${TagKey}

寫入

DisableBaseline

准許停用目標上的基準

EnabledBaseline*

aws:ResourceTag/${TagKey}

寫入

DisableControl

准許從組織單位移除控制項

EnabledControl*

aws:ResourceTag/${TagKey}

寫入

EnableBaseline

准許在目標上啟用基準

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

EnableControl

准許啟動組織單位控制項

EnabledControl

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

GetBaseline

准許取得基準詳細資訊

基準*

讀取

GetBaselineOperation

准許取得特定基準操作的目前狀態

讀取

GetControlOperation

准許取得特定 EnabledControl 或 DisableControl 操作的目前狀態

讀取

GetEnabledBaseline

准許取得已啟用的基準

EnabledBaseline*

aws:ResourceTag/${TagKey}

讀取

GetEnabledControl

准許從組織單位取得啟用的控制項

EnabledControl*

aws:ResourceTag/${TagKey}

讀取

GetLandingZone

准許取得登陸區域設定的目前狀態

LandingZone*

aws:ResourceTag/${TagKey}

讀取

GetLandingZoneDriftStatus

准許取得目前登陸區域偏離狀態

讀取

GetLandingZoneOperation

准許取得特定登陸區域操作的目前狀態

讀取

ListBaselines

准許列出基準

清單

ListControlOperations

准許列出所有控制操作

清單

ListDriftDetails

准許列出 AWS Control Tower 中出現的偏離

讀取

ListEnabledBaselines

准許列出已啟用的基準

清單

ListEnabledControls

准許列出指定組織單位中的所有已啟用的控制項

清單

ListExternalConfigRuleCompliance

准許列出外部 Config AWS 規則的合規

讀取

ListLandingZoneOperations

准許列出所有登陸區域操作

清單

ListLandingZones

准許列出所有登陸區域

清單

ListTagsForResource

准許列出資源的標籤

EnabledBaseline

aws:ResourceTag/${TagKey}

讀取

EnabledControl

aws:ResourceTag/${TagKey}

LandingZone

aws:ResourceTag/${TagKey}

ResetEnabledBaseline

准許重設已啟用的基準

EnabledBaseline*

aws:ResourceTag/${TagKey}

寫入

ResetEnabledControl

准許重設組織單位的已啟用控制項

EnabledControl*

aws:ResourceTag/${TagKey}

寫入

ResetLandingZone

准許重設登陸區域

LandingZone*

aws:ResourceTag/${TagKey}

寫入

TagResource

准許將 標籤新增至資源

EnabledBaseline

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

EnabledControl

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

LandingZone

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

UntagResource

授予許可來從資源中移除標籤

EnabledBaseline

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

EnabledControl

aws:ResourceTag/${TagKey}

aws:TagKeys

LandingZone

aws:ResourceTag/${TagKey}

aws:TagKeys

UpdateEnabledBaseline

准許更新已啟用的基準

EnabledBaseline*

aws:ResourceTag/${TagKey}

寫入

UpdateEnabledControl

准許更新組織單位的啟用控制項

EnabledControl*

aws:ResourceTag/${TagKey}

寫入

UpdateLandingZone

准許更新登陸區域

LandingZone*

aws:ResourceTag/${TagKey}

寫入

AWS Control Tower 的僅限許可動作

下列動作是由 AWS Control Tower 定義,但無法透過任何 API 操作直接叫用。它們只能在 IAM 政策陳述式中使用,以授予或拒絕許可。

動作 說明 資源類型 (*必填項目) 條件索引鍵 存取層級

CreateManagedAccount

准許建立 AWS Control Tower 管理的帳戶

寫入

DeregisterManagedAccount

准許從 AWS Control Tower 取消註冊透過帳戶工廠建立的帳戶

寫入

DeregisterOrganizationalUnit

准許從 AWS Control Tower 管理取消註冊組織單位

寫入

DescribeAccountFactoryConfig

准許描述目前的 Account Factory 組態

讀取

DescribeCoreService

准許描述 AWS Control Tower 中核心帳戶管理的資源

讀取

DescribeGuardrail

准許描述防護機制

讀取

DescribeGuardrailForTarget

准許描述組織單位的防護機制

讀取

DescribeLandingZoneConfiguration

准許描述目前的登陸區域組態

讀取

DescribeManagedAccount

准許描述透過 Account Factory 建立的帳戶

讀取

DescribeManagedOrganizationalUnit

准許描述由 AWS Control Tower 管理的 AWS Organizations 組織單位

讀取

DescribeRegisterOrganizationalUnitOperation

准許描述登記組織單位操作

讀取

DescribeSingleSignOn

准許描述目前的 AWS Control Tower IAM Identity Center 組態

讀取

DisableGuardrail

准許從組織單位停用防護機制

寫入

EnableGuardrail

准許對組織單位啟用防護機制

寫入

GetAccountInfo

准許描述帳戶電子郵件,並驗證其是否存在

讀取

GetAvailableUpdates

准許列出目前 AWS Control Tower 部署的可用更新

讀取

GetGuardrailComplianceStatus

准許取得防護機制目前的規範遵循狀態

讀取

GetHomeRegion

准許取得 AWS Control Tower 設定的主區域

讀取

GetLandingZoneStatus

准許取得登陸區域設定的目前狀態

讀取

ListDirectoryGroups

准許列出透過 IAM Identity Center 可用的目前目錄群組

清單

ListEnabledGuardrails

准許列出目前已啟用的防護機制

清單

ListExtendGovernancePrecheckDetails

准許列出組織單位的預先檢查詳細資訊

清單

ListGuardrailViolations

准許列出現有防護機制違規

清單

ListGuardrails

准許列出所有可用防護機制

清單

ListGuardrailsForTarget

准許列出組織單位防護機制及其目前狀態

清單

ListManagedAccounts

准許列出透過 AWS Control Tower 管理的帳戶

清單

ListManagedAccountsForGuardrail

准許列出套用指定防護機制的受管帳戶

清單

ListManagedAccountsForParent

准許在組織單位下列出受管帳戶

清單

ListManagedOrganizationalUnits

准許列出 AWS Control Tower 管理的組織單位

清單

ListManagedOrganizationalUnitsForGuardrail

准許列出已套用指定防護機制的受管組織單位

清單

ManageOrganizationalUnit

准許設定由 AWS Control Tower 管理的組織單位

寫入

PerformPreLaunchChecks

准許在帳戶中執行驗證

讀取

SetupLandingZone

准許設定或更新 AWS Control Tower 登陸區域

寫入

UpdateAccountFactoryConfig

准許更新 Account Factory 組態

寫入

AWS Control Tower 定義的資源類型

此服務會定義下列資源類型,並可用在 IAM 許可政策陳述式的 Resource 元素中。

資源類型 ARN 條件索引鍵

基準

arn:${Partition}:controltower:${Region}::baseline/${BaselineId}

EnabledBaseline

arn:${Partition}:controltower:${Region}:${Account}:enabledbaseline/${EnabledBaselineId}

aws:ResourceTag/${TagKey}

EnabledControl

arn:${Partition}:controltower:${Region}:${Account}:enabledcontrol/${EnabledControlId}

aws:ResourceTag/${TagKey}

LandingZone

arn:${Partition}:controltower:${Region}:${Account}:landingzone/${LandingZoneId}

aws:ResourceTag/${TagKey}

AWS Control Tower 的條件索引鍵

AWS Control Tower 定義了下列條件索引鍵,可用於 IAM 政策的 Condition元素。

條件索引鍵 描述 Type

aws:RequestTag/${TagKey}

依要求中傳遞的標籤來篩選存取權

String

aws:ResourceTag/${TagKey}

依與資源關聯的標籤來篩選存取權

String

aws:TagKeys

依要求中傳遞的標籤索引鍵來篩選存取權

ArrayOfString