AWS AppConfig 的動作、資源和條件索引鍵
AWS AppConfig (服務字首:appconfig) 提供下列服務特定的操作、資源、動作和條件索引鍵,可用於 IAM 許可政策。
參考資料:
-
了解如何設定此服務。
-
檢視可供此服務使用的 API 操作清單。
-
了解如何使用 IAM 許可政策來保護此服務及其資源。
-
檢視此服務的程式設計服務授權參考
。
AWS AppConfig 定義的 API 操作
下表將 API 操作映射至其授權的 IAM 動作。只會列出具有指定 API 和動作靜態值的條件金鑰;如需每個動作支援的完整條件金鑰集,請參閱動作表格。
| 作業 | SDK 用戶端 | IAM 動作 | 條件鍵 | 可能的值 (s) | 存取層級 |
|---|---|---|---|---|---|
|
CreateApplication |
appconfig |
寫入 |
|||
標記、寫入 |
|||||
|
CreateConfigurationProfile |
appconfig |
寫入 |
|||
標記、寫入 |
|||||
iam:PassedToService |
appconfig.amazonaws.com |
寫入 |
|||
|
CreateDeploymentStrategy |
appconfig |
寫入 |
|||
標記、寫入 |
|||||
|
CreateEnvironment |
appconfig |
寫入 |
|||
標記、寫入 |
|||||
iam:PassedToService |
appconfig.amazonaws.com |
寫入 |
|||
|
CreateExperimentDefinition |
appconfig |
寫入 |
|||
標記、寫入 |
|||||
|
CreateExtension |
appconfig |
寫入 |
|||
標記、寫入 |
|||||
iam:PassedToService |
appconfig.amazonaws.com |
寫入 |
|||
|
CreateExtensionAssociation |
appconfig |
寫入 |
|||
標記、寫入 |
|||||
|
CreateHostedConfigurationVersion |
appconfig |
寫入 |
|||
|
DeleteApplication |
appconfig |
寫入 |
|||
|
DeleteConfigurationProfile |
appconfig |
寫入 |
|||
|
DeleteDeploymentStrategy |
appconfig |
寫入 |
|||
|
DeleteEnvironment |
appconfig |
寫入 |
|||
|
DeleteExperimentDefinition |
appconfig |
寫入 |
|||
|
DeleteExtension |
appconfig |
寫入 |
|||
|
DeleteExtensionAssociation |
appconfig |
寫入 |
|||
|
DeleteHostedConfigurationVersion |
appconfig |
寫入 |
|||
|
GetAccountSettings |
appconfig |
讀取 |
|||
|
GetApplication |
appconfig |
讀取 |
|||
|
GetConfiguration |
appconfig |
讀取 |
|||
|
GetConfigurationProfile |
appconfig |
讀取 |
|||
|
GetDeployment |
appconfig |
讀取 |
|||
|
GetDeploymentStrategy |
appconfig |
讀取 |
|||
|
GetEnvironment |
appconfig |
讀取 |
|||
|
GetExperimentDefinition |
appconfig |
讀取 |
|||
|
GetExperimentRun |
appconfig |
讀取 |
|||
|
GetExtension |
appconfig |
讀取 |
|||
|
GetExtensionAssociation |
appconfig |
讀取 |
|||
|
GetHostedConfigurationVersion |
appconfig |
讀取 |
|||
|
ListApplications |
appconfig |
清單 |
|||
|
ListConfigurationProfiles |
appconfig |
清單 |
|||
|
ListDeploymentStrategies |
appconfig |
清單 |
|||
|
ListDeployments |
appconfig |
清單 |
|||
|
ListEnvironments |
appconfig |
清單 |
|||
|
ListExperimentDefinitions |
appconfig |
清單 |
|||
|
ListExperimentRunEvents |
appconfig |
清單 |
|||
|
ListExperimentRuns |
appconfig |
清單 |
|||
|
ListExtensionAssociations |
appconfig |
清單 |
|||
|
ListExtensions |
appconfig |
清單 |
|||
|
ListHostedConfigurationVersions |
appconfig |
清單 |
|||
|
ListTagsForResource |
appconfig |
讀取 |
|||
|
StartDeployment |
appconfig |
寫入 |
|||
標記、寫入 |
|||||
|
StartExperimentRun |
appconfig |
寫入 |
|||
標記、寫入 |
|||||
|
StopDeployment |
appconfig |
寫入 |
|||
|
StopExperimentRun |
appconfig |
寫入 |
|||
|
TagResource |
appconfig |
標記、寫入 |
|||
|
UntagResource |
appconfig |
標記、寫入 |
|||
|
UpdateAccountSettings |
appconfig |
寫入 |
|||
|
UpdateApplication |
appconfig |
寫入 |
|||
|
UpdateConfigurationProfile |
appconfig |
寫入 |
|||
iam:PassedToService |
appconfig.amazonaws.com |
寫入 |
|||
|
UpdateDeploymentStrategy |
appconfig |
寫入 |
|||
|
UpdateEnvironment |
appconfig |
寫入 |
|||
iam:PassedToService |
appconfig.amazonaws.com |
寫入 |
|||
|
UpdateExperimentDefinition |
appconfig |
寫入 |
|||
|
UpdateExperimentRun |
appconfig |
寫入 |
|||
|
UpdateExtension |
appconfig |
寫入 |
|||
iam:PassedToService |
appconfig.amazonaws.com |
寫入 |
|||
|
UpdateExtensionAssociation |
appconfig |
寫入 |
|||
|
ValidateConfiguration |
appconfig |
寫入 |
|||
|
GetLatestConfiguration |
appconfigdata |
讀取 |
|||
|
StartConfigurationSession |
appconfigdata |
寫入 |
AWS AppConfig 定義的動作
您可在 IAM 政策陳述式的 Action 元素中指定以下動作。使用政策來授予在 AWS中執行操作的許可。在政策中使用動作時,通常會允許或拒絕存取相同名稱的 API 操作或 CLI 命令。不過,在某些情況下,單一動作可控制對多個操作的存取。或者,某些操作需要多種不同的動作。
| 動作 | 說明 | 資源類型 (*必填項目) | 條件索引鍵 | 存取層級 |
|---|---|---|---|---|
准許建立應用程式 |
寫入 |
|||
准許建立組態描述檔 |
寫入 |
|||
准許建立部署策略 |
寫入 |
|||
准許建立環境 |
寫入 |
|||
准許建立實驗定義 |
寫入 |
|||
准許建立副檔名 |
寫入 |
|||
准許建立副檔名關聯 |
寫入 |
|||
准許建立託管組態版本 |
寫入 |
|||
准許刪除應用程式 |
寫入 |
|||
准許刪除組態描述檔 |
寫入 |
|||
准許刪除部署策略 |
寫入 |
|||
准許刪除環境 |
寫入 |
|||
准許刪除實驗定義 |
寫入 |
|||
准許刪除副檔名 |
寫入 |
|||
准許刪除副檔名關聯 |
寫入 |
|||
准許刪除託管組態版本 |
寫入 |
|||
准許檢視整個帳戶的 AppConfig 設定 |
讀取 |
|||
准許檢視應用程式的詳細資訊 |
讀取 |
|||
准許檢視組態的詳細資訊 |
讀取 |
|||
准許檢視組態描述檔的詳細資訊 |
讀取 |
|||
准許檢視部署的詳細資訊 |
讀取 |
|||
准許檢視部署策略的詳細資訊 |
讀取 |
|||
准許檢視環境的詳細資訊 |
讀取 |
|||
准許檢視實驗定義的詳細資訊 |
讀取 |
|||
准許檢視實驗執行的詳細資訊 |
讀取 |
|||
准許檢視關於副檔名的詳細資訊 |
讀取 |
|||
准許檢視關於副檔名關聯的詳細資訊 |
讀取 |
|||
准許檢視託管組態版本的詳細資訊 |
讀取 |
|||
准許擷取已部署的組態 |
讀取 |
|||
准許列出帳戶中的應用程式 |
清單 |
|||
准許列出應用程式的組態描述檔 |
清單 |
|||
准許列出帳戶的部署策略 |
清單 |
|||
准許列出環境部署 |
清單 |
|||
准許列出應用程式的環境 |
清單 |
|||
准許列出您帳戶中的實驗定義 |
清單 |
|||
准許列出實驗執行的事件 |
清單 |
|||
准許列出實驗定義的實驗執行 |
清單 |
|||
准許列出帳戶中的副檔名關聯 |
清單 |
|||
准許列出您帳戶中的副檔名 |
清單 |
|||
准許列出組態設定檔的託管組態版本 |
清單 |
|||
准許檢視指定資源的資源標籤清單 |
讀取 |
|||
准許啟動組態工作階段 |
寫入 |
|||
准許啟動部署 |
寫入 |
|||
准許開始實驗執行 |
寫入 |
|||
准許停止部署 |
寫入 |
|||
准許停止實驗執行 |
寫入 |
|||
准許標記 AppConfig 資源 |
標記、寫入 |
|||
准許取消標記 AppConfig 資源 |
標記、寫入 |
|||
准許修改整個帳戶的 AppConfig 設定 |
寫入 |
|||
准許修改應用程式 |
寫入 |
|||
准許修改組態描述檔 |
寫入 |
|||
准許修改部署策略 |
寫入 |
|||
准許修改環境 |
寫入 |
|||
准許修改實驗定義 |
寫入 |
|||
准許修改實驗執行 |
寫入 |
|||
准許修改副檔名 |
寫入 |
|||
准許修改副檔名關聯 |
寫入 |
|||
准許驗證組態 |
寫入 |
|||
AWS AppConfig 定義的資源類型
此服務會定義下列資源類型,並可用在 IAM 許可政策陳述式的 Resource 元素中。
| 資源類型 | ARN | 條件索引鍵 |
|---|---|---|
arn:${Partition}:appconfig:${Region}:${Account}:application/${ApplicationId} |
||
arn:${Partition}:appconfig:${Region}:${Account}:application/${ApplicationId}/environment/${EnvironmentId}/configuration/${ConfigurationProfileId} |
||
arn:${Partition}:appconfig:${Region}:${Account}:application/${ApplicationId}/configurationprofile/${ConfigurationProfileId} |
||
arn:${Partition}:appconfig:${Region}:${Account}:application/${ApplicationId}/environment/${EnvironmentId}/deployment/${DeploymentNumber} |
||
arn:${Partition}:appconfig:${Region}:${Account}:deploymentstrategy/${DeploymentStrategyId} |
||
arn:${Partition}:appconfig:${Region}:${Account}:application/${ApplicationId}/environment/${EnvironmentId} |
||
arn:${Partition}:appconfig:${Region}:${Account}:application/${ApplicationId}/experimentdefinition/${ExperimentDefinitionId} |
||
arn:${Partition}:appconfig:${Region}:${Account}:application/${ApplicationId}/experimentdefinition/${ExperimentDefinitionId}/experimentrun/${ExperimentRunNumber} |
||
arn:${Partition}:appconfig:${Region}:${Account}:extension/${ExtensionId}/${ExtensionVersionNumber} |
||
arn:${Partition}:appconfig:${Region}:${Account}:extensionassociation/${ExtensionAssociationId} |
||
arn:${Partition}:appconfig:${Region}:${Account}:application/${ApplicationId}/configurationprofile/${ConfigurationProfileId} |
AWS AppConfig 的條件索引鍵
AWS AppConfig 定義下列條件索引鍵,可用於 IAM 政策的 Condition元素。
| 條件索引鍵 | 描述 | Type |
|---|---|---|
依指定標籤的允許值集篩選存取權。 |
String |
|
依指派給 AWS 資源的標籤鍵值對篩選存取權 |
String |
|
依在請求中允許的標籤索引鍵清單篩選存取 |
ArrayOfString |