View a markdown version of this page

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

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

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

參考資料:

AWS AppConfig 定義的 API 操作

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

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

CreateApplication

appconfig

appconfig:CreateApplication

寫入

appconfig:TagResource

標記、寫入

CreateConfigurationProfile

appconfig

appconfig:CreateConfigurationProfile

寫入

appconfig:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

appconfig.amazonaws.com

寫入

CreateDeploymentStrategy

appconfig

appconfig:CreateDeploymentStrategy

寫入

appconfig:TagResource

標記、寫入

CreateEnvironment

appconfig

appconfig:CreateEnvironment

寫入

appconfig:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

appconfig.amazonaws.com

寫入

CreateExperimentDefinition

appconfig

appconfig:CreateExperimentDefinition

寫入

appconfig:TagResource

標記、寫入

CreateExtension

appconfig

appconfig:CreateExtension

寫入

appconfig:TagResource

標記、寫入

iam:PassRole

iam:PassedToService

appconfig.amazonaws.com

寫入

CreateExtensionAssociation

appconfig

appconfig:CreateExtensionAssociation

寫入

appconfig:TagResource

標記、寫入

CreateHostedConfigurationVersion

appconfig

appconfig:CreateHostedConfigurationVersion

寫入

DeleteApplication

appconfig

appconfig:DeleteApplication

寫入

DeleteConfigurationProfile

appconfig

appconfig:DeleteConfigurationProfile

寫入

DeleteDeploymentStrategy

appconfig

appconfig:DeleteDeploymentStrategy

寫入

DeleteEnvironment

appconfig

appconfig:DeleteEnvironment

寫入

DeleteExperimentDefinition

appconfig

appconfig:DeleteExperimentDefinition

寫入

DeleteExtension

appconfig

appconfig:DeleteExtension

寫入

DeleteExtensionAssociation

appconfig

appconfig:DeleteExtensionAssociation

寫入

DeleteHostedConfigurationVersion

appconfig

appconfig:DeleteHostedConfigurationVersion

寫入

GetAccountSettings

appconfig

appconfig:GetAccountSettings

讀取

GetApplication

appconfig

appconfig:GetApplication

讀取

GetConfiguration

appconfig

appconfig:GetConfiguration

讀取

GetConfigurationProfile

appconfig

appconfig:GetConfigurationProfile

讀取

GetDeployment

appconfig

appconfig:GetDeployment

讀取

GetDeploymentStrategy

appconfig

appconfig:GetDeploymentStrategy

讀取

GetEnvironment

appconfig

appconfig:GetEnvironment

讀取

GetExperimentDefinition

appconfig

appconfig:GetExperimentDefinition

讀取

GetExperimentRun

appconfig

appconfig:GetExperimentRun

讀取

GetExtension

appconfig

appconfig:GetExtension

讀取

GetExtensionAssociation

appconfig

appconfig:GetExtensionAssociation

讀取

GetHostedConfigurationVersion

appconfig

appconfig:GetHostedConfigurationVersion

讀取

ListApplications

appconfig

appconfig:ListApplications

清單

ListConfigurationProfiles

appconfig

appconfig:ListConfigurationProfiles

清單

ListDeploymentStrategies

appconfig

appconfig:ListDeploymentStrategies

清單

ListDeployments

appconfig

appconfig:ListDeployments

清單

ListEnvironments

appconfig

appconfig:ListEnvironments

清單

ListExperimentDefinitions

appconfig

appconfig:ListExperimentDefinitions

清單

ListExperimentRunEvents

appconfig

appconfig:ListExperimentRunEvents

清單

ListExperimentRuns

appconfig

appconfig:ListExperimentRuns

清單

ListExtensionAssociations

appconfig

appconfig:ListExtensionAssociations

清單

ListExtensions

appconfig

appconfig:ListExtensions

清單

ListHostedConfigurationVersions

appconfig

appconfig:ListHostedConfigurationVersions

清單

ListTagsForResource

appconfig

appconfig:ListTagsForResource

讀取

StartDeployment

appconfig

appconfig:StartDeployment

寫入

appconfig:TagResource

標記、寫入

StartExperimentRun

appconfig

appconfig:StartExperimentRun

寫入

appconfig:TagResource

標記、寫入

StopDeployment

appconfig

appconfig:StopDeployment

寫入

StopExperimentRun

appconfig

appconfig:StopExperimentRun

寫入

TagResource

appconfig

appconfig:TagResource

標記、寫入

UntagResource

appconfig

appconfig:UntagResource

標記、寫入

UpdateAccountSettings

appconfig

appconfig:UpdateAccountSettings

寫入

UpdateApplication

appconfig

appconfig:UpdateApplication

寫入

UpdateConfigurationProfile

appconfig

appconfig:UpdateConfigurationProfile

寫入

iam:PassRole

iam:PassedToService

appconfig.amazonaws.com

寫入

UpdateDeploymentStrategy

appconfig

appconfig:UpdateDeploymentStrategy

寫入

UpdateEnvironment

appconfig

appconfig:UpdateEnvironment

寫入

iam:PassRole

iam:PassedToService

appconfig.amazonaws.com

寫入

UpdateExperimentDefinition

appconfig

appconfig:UpdateExperimentDefinition

寫入

UpdateExperimentRun

appconfig

appconfig:UpdateExperimentRun

寫入

UpdateExtension

appconfig

appconfig:UpdateExtension

寫入

iam:PassRole

iam:PassedToService

appconfig.amazonaws.com

寫入

UpdateExtensionAssociation

appconfig

appconfig:UpdateExtensionAssociation

寫入

ValidateConfiguration

appconfig

appconfig:ValidateConfiguration

寫入

GetLatestConfiguration

appconfigdata

appconfig:GetLatestConfiguration

讀取

StartConfigurationSession

appconfigdata

appconfig:StartConfigurationSession

寫入

AWS AppConfig 定義的動作

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

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

CreateApplication

准許建立應用程式

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

CreateConfigurationProfile

准許建立組態描述檔

應用程式*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateDeploymentStrategy

准許建立部署策略

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

CreateEnvironment

准許建立環境

應用程式*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateExperimentDefinition

准許建立實驗定義

應用程式*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateExtension

准許建立副檔名

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

CreateExtensionAssociation

准許建立副檔名關聯

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

CreateHostedConfigurationVersion

准許建立託管組態版本

應用程式*

aws:ResourceTag/${TagKey}

寫入

組態設定檔*

aws:ResourceTag/${TagKey}

DeleteApplication

准許刪除應用程式

應用程式*

aws:ResourceTag/${TagKey}

寫入

DeleteConfigurationProfile

准許刪除組態描述檔

應用程式*

aws:ResourceTag/${TagKey}

寫入

組態設定檔*

aws:ResourceTag/${TagKey}

DeleteDeploymentStrategy

准許刪除部署策略

deploymentstrategy*

aws:ResourceTag/${TagKey}

寫入

DeleteEnvironment

准許刪除環境

應用程式*

aws:ResourceTag/${TagKey}

寫入

環境*

aws:ResourceTag/${TagKey}

DeleteExperimentDefinition

准許刪除實驗定義

應用程式*

aws:ResourceTag/${TagKey}

寫入

experimentdefinition*

aws:ResourceTag/${TagKey}

DeleteExtension

准許刪除副檔名

擴充功能*

aws:ResourceTag/${TagKey}

寫入

DeleteExtensionAssociation

准許刪除副檔名關聯

extensionassociation*

aws:ResourceTag/${TagKey}

寫入

DeleteHostedConfigurationVersion

准許刪除託管組態版本

應用程式*

aws:ResourceTag/${TagKey}

寫入

組態設定檔*

aws:ResourceTag/${TagKey}

hostedconfigurationversion*

GetAccountSettings

准許檢視整個帳戶的 AppConfig 設定

讀取

GetApplication

准許檢視應用程式的詳細資訊

應用程式*

aws:ResourceTag/${TagKey}

讀取

GetConfiguration

准許檢視組態的詳細資訊

應用程式*

aws:ResourceTag/${TagKey}

讀取

組態設定檔*

aws:ResourceTag/${TagKey}

環境*

aws:ResourceTag/${TagKey}

GetConfigurationProfile

准許檢視組態描述檔的詳細資訊

應用程式*

aws:ResourceTag/${TagKey}

讀取

組態設定檔*

aws:ResourceTag/${TagKey}

GetDeployment

准許檢視部署的詳細資訊

應用程式*

aws:ResourceTag/${TagKey}

讀取

部署*

aws:ResourceTag/${TagKey}

環境*

aws:ResourceTag/${TagKey}

GetDeploymentStrategy

准許檢視部署策略的詳細資訊

deploymentstrategy*

aws:ResourceTag/${TagKey}

讀取

GetEnvironment

准許檢視環境的詳細資訊

應用程式*

aws:ResourceTag/${TagKey}

讀取

環境*

aws:ResourceTag/${TagKey}

GetExperimentDefinition

准許檢視實驗定義的詳細資訊

應用程式*

aws:ResourceTag/${TagKey}

讀取

experimentdefinition*

aws:ResourceTag/${TagKey}

GetExperimentRun

准許檢視實驗執行的詳細資訊

應用程式*

aws:ResourceTag/${TagKey}

讀取

experimentdefinition*

aws:ResourceTag/${TagKey}

experimentrun*

aws:ResourceTag/${TagKey}

GetExtension

准許檢視關於副檔名的詳細資訊

擴充功能*

aws:ResourceTag/${TagKey}

讀取

GetExtensionAssociation

准許檢視關於副檔名關聯的詳細資訊

extensionassociation*

aws:ResourceTag/${TagKey}

讀取

GetHostedConfigurationVersion

准許檢視託管組態版本的詳細資訊

應用程式*

aws:ResourceTag/${TagKey}

讀取

組態設定檔*

aws:ResourceTag/${TagKey}

hostedconfigurationversion*

GetLatestConfiguration

准許擷取已部署的組態

組態*

aws:ResourceTag/${TagKey}

讀取

ListApplications

准許列出帳戶中的應用程式

清單

ListConfigurationProfiles

准許列出應用程式的組態描述檔

應用程式*

aws:ResourceTag/${TagKey}

清單

ListDeploymentStrategies

准許列出帳戶的部署策略

清單

ListDeployments

准許列出環境部署

應用程式*

aws:ResourceTag/${TagKey}

清單

環境*

aws:ResourceTag/${TagKey}

ListEnvironments

准許列出應用程式的環境

應用程式*

aws:ResourceTag/${TagKey}

清單

ListExperimentDefinitions

准許列出您帳戶中的實驗定義

清單

ListExperimentRunEvents

准許列出實驗執行的事件

應用程式*

aws:ResourceTag/${TagKey}

清單

experimentdefinition*

aws:ResourceTag/${TagKey}

experimentrun*

aws:ResourceTag/${TagKey}

ListExperimentRuns

准許列出實驗定義的實驗執行

應用程式*

aws:ResourceTag/${TagKey}

清單

experimentdefinition*

aws:ResourceTag/${TagKey}

ListExtensionAssociations

准許列出帳戶中的副檔名關聯

清單

ListExtensions

准許列出您帳戶中的副檔名

清單

ListHostedConfigurationVersions

准許列出組態設定檔的託管組態版本

應用程式*

aws:ResourceTag/${TagKey}

清單

組態設定檔*

aws:ResourceTag/${TagKey}

ListTagsForResource

准許檢視指定資源的資源標籤清單

應用程式

aws:ResourceTag/${TagKey}

讀取

組態設定檔

aws:ResourceTag/${TagKey}

部署

aws:ResourceTag/${TagKey}

deploymentstrategy

aws:ResourceTag/${TagKey}

環境

aws:ResourceTag/${TagKey}

experimentdefinition

aws:ResourceTag/${TagKey}

experimentrun

aws:ResourceTag/${TagKey}

延伸模組

aws:ResourceTag/${TagKey}

延伸關聯

aws:ResourceTag/${TagKey}

StartConfigurationSession

准許啟動組態工作階段

組態*

aws:ResourceTag/${TagKey}

寫入

StartDeployment

准許啟動部署

應用程式*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

組態設定檔*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

deploymentstrategy*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

環境*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

StartExperimentRun

准許開始實驗執行

應用程式*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

experimentdefinition*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

StopDeployment

准許停止部署

應用程式*

aws:ResourceTag/${TagKey}

寫入

部署*

aws:ResourceTag/${TagKey}

環境*

aws:ResourceTag/${TagKey}

StopExperimentRun

准許停止實驗執行

應用程式*

aws:ResourceTag/${TagKey}

寫入

experimentdefinition*

aws:ResourceTag/${TagKey}

experimentrun*

aws:ResourceTag/${TagKey}

TagResource

准許標記 AppConfig 資源

應用程式

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

組態

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

組態設定檔

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

部署

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

deploymentstrategy

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

環境

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

experimentdefinition

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

experimentrun

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

延伸模組

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

延伸關聯

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

UntagResource

准許取消標記 AppConfig 資源

應用程式

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

組態

aws:ResourceTag/${TagKey}

aws:TagKeys

組態設定檔

aws:ResourceTag/${TagKey}

aws:TagKeys

部署

aws:ResourceTag/${TagKey}

aws:TagKeys

deploymentstrategy

aws:ResourceTag/${TagKey}

aws:TagKeys

環境

aws:ResourceTag/${TagKey}

aws:TagKeys

實驗定義

aws:ResourceTag/${TagKey}

aws:TagKeys

experimentrun

aws:ResourceTag/${TagKey}

aws:TagKeys

延伸模組

aws:ResourceTag/${TagKey}

aws:TagKeys

延伸關聯

aws:ResourceTag/${TagKey}

aws:TagKeys

UpdateAccountSettings

准許修改整個帳戶的 AppConfig 設定

寫入

UpdateApplication

准許修改應用程式

應用程式*

aws:ResourceTag/${TagKey}

寫入

UpdateConfigurationProfile

准許修改組態描述檔

應用程式*

aws:ResourceTag/${TagKey}

寫入

組態設定檔*

aws:ResourceTag/${TagKey}

UpdateDeploymentStrategy

准許修改部署策略

deploymentstrategy*

aws:ResourceTag/${TagKey}

寫入

UpdateEnvironment

准許修改環境

應用程式*

aws:ResourceTag/${TagKey}

寫入

環境*

aws:ResourceTag/${TagKey}

UpdateExperimentDefinition

准許修改實驗定義

應用程式*

aws:ResourceTag/${TagKey}

寫入

experimentdefinition*

aws:ResourceTag/${TagKey}

UpdateExperimentRun

准許修改實驗執行

應用程式*

aws:ResourceTag/${TagKey}

寫入

experimentdefinition*

aws:ResourceTag/${TagKey}

experimentrun*

aws:ResourceTag/${TagKey}

UpdateExtension

准許修改副檔名

擴充功能*

aws:ResourceTag/${TagKey}

寫入

UpdateExtensionAssociation

准許修改副檔名關聯

extensionassociation*

aws:ResourceTag/${TagKey}

寫入

ValidateConfiguration

准許驗證組態

應用程式*

aws:ResourceTag/${TagKey}

寫入

組態設定檔*

aws:ResourceTag/${TagKey}

AWS AppConfig 定義的資源類型

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

資源類型 ARN 條件索引鍵

應用程式

arn:${Partition}:appconfig:${Region}:${Account}:application/${ApplicationId}

aws:ResourceTag/${TagKey}

組態

arn:${Partition}:appconfig:${Region}:${Account}:application/${ApplicationId}/environment/${EnvironmentId}/configuration/${ConfigurationProfileId}

aws:ResourceTag/${TagKey}

組態設定檔

arn:${Partition}:appconfig:${Region}:${Account}:application/${ApplicationId}/configurationprofile/${ConfigurationProfileId}

aws:ResourceTag/${TagKey}

部署

arn:${Partition}:appconfig:${Region}:${Account}:application/${ApplicationId}/environment/${EnvironmentId}/deployment/${DeploymentNumber}

aws:ResourceTag/${TagKey}

deploymentstrategy

arn:${Partition}:appconfig:${Region}:${Account}:deploymentstrategy/${DeploymentStrategyId}

aws:ResourceTag/${TagKey}

環境

arn:${Partition}:appconfig:${Region}:${Account}:application/${ApplicationId}/environment/${EnvironmentId}

aws:ResourceTag/${TagKey}

experimentdefinition

arn:${Partition}:appconfig:${Region}:${Account}:application/${ApplicationId}/experimentdefinition/${ExperimentDefinitionId}

aws:ResourceTag/${TagKey}

experimentrun

arn:${Partition}:appconfig:${Region}:${Account}:application/${ApplicationId}/experimentdefinition/${ExperimentDefinitionId}/experimentrun/${ExperimentRunNumber}

aws:ResourceTag/${TagKey}

延伸模組

arn:${Partition}:appconfig:${Region}:${Account}:extension/${ExtensionId}/${ExtensionVersionNumber}

aws:ResourceTag/${TagKey}

延伸關聯

arn:${Partition}:appconfig:${Region}:${Account}:extensionassociation/${ExtensionAssociationId}

aws:ResourceTag/${TagKey}

hostedconfigurationversion

arn:${Partition}:appconfig:${Region}:${Account}:application/${ApplicationId}/configurationprofile/${ConfigurationProfileId}

AWS AppConfig 的條件索引鍵

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

條件索引鍵 描述 Type

aws:RequestTag/${TagKey}

依指定標籤的允許值集篩選存取權。

String

aws:ResourceTag/${TagKey}

依指派給 AWS 資源的標籤鍵值對篩選存取權

String

aws:TagKeys

依在請求中允許的標籤索引鍵清單篩選存取

ArrayOfString