View a markdown version of this page

的操作、资源和条件键 Amazon AppConfig - 服务授权参考
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)。

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

的操作、资源和条件键 Amazon AppConfig

Amazon AppConfig (服务前缀: appconfig) 提供以下特定服务的操作、资源、操作和条件密钥,用于 IAM 权限策略。

参考:

API 操作定义为 Amazon AppConfig

下表将 API 操作映射到它们授权的 IAM 操作。仅列出具有给定 API 和操作静态值的条件密钥;有关每个操作支持的全套条件密钥,请参阅 操作表。

操作 SDK 客户端 IAM 操作 条件键 可能的值 访问级别

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

写入

动作定义为 Amazon AppConfig

您可以在 IAM 策略语句的 Action 元素中指定以下操作。对于每个操作,该表列出了该操作支持的资源类型和条件键。可以使用策略授予在 Amazon中执行操作的权限。您在策略中使用一项操作时,通常使用相同的名称允许或拒绝对 API 操作或 CLI 命令的访问。但在某些情况下,单一动作可控制对多项操作的访问。还有某些操作需要多种不同的动作。

操作 说明 资源类型(* 为必需) 条件键 访问级别

CreateApplication

授予创建应用程序的权限

aws:RequestTag/${TagKey}

aws:TagKeys

Write

CreateConfigurationProfile

授予创建配置文件的权限

application*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Write

CreateDeploymentStrategy

授予创建部署策略的权限

aws:RequestTag/${TagKey}

aws:TagKeys

Write

CreateEnvironment

授予创建环境的权限

application*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

写入

CreateExperimentDefinition

授予创建实验定义的权限

application*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

写入

CreateExtension

授予权限以创建扩展程序

aws:RequestTag/${TagKey}

aws:TagKeys

写入

CreateExtensionAssociation

授予权限以创建扩展程序关联

aws:RequestTag/${TagKey}

aws:TagKeys

写入

CreateHostedConfigurationVersion

授予权限以创建托管配置版本

application*

aws:ResourceTag/${TagKey}

Write

configurationprofile*

aws:ResourceTag/${TagKey}

DeleteApplication

授予删除应用程序的权限

application*

aws:ResourceTag/${TagKey}

Write

DeleteConfigurationProfile

授予删除配置文件的权限

application*

aws:ResourceTag/${TagKey}

Write

configurationprofile*

aws:ResourceTag/${TagKey}

DeleteDeploymentStrategy

授予删除部署策略的权限

deploymentstrategy*

aws:ResourceTag/${TagKey}

Write

DeleteEnvironment

授予删除环境的权限

application*

aws:ResourceTag/${TagKey}

写入

environment*

aws:ResourceTag/${TagKey}

DeleteExperimentDefinition

授予删除实验定义的权限

application*

aws:ResourceTag/${TagKey}

写入

experimentdefinition*

aws:ResourceTag/${TagKey}

DeleteExtension

授予权限以删除扩展程序

extension*

aws:ResourceTag/${TagKey}

写入

DeleteExtensionAssociation

授予权限以删除扩展程序关联

extensionassociation*

aws:ResourceTag/${TagKey}

写入

DeleteHostedConfigurationVersion

授予权限以删除托管配置版本

application*

aws:ResourceTag/${TagKey}

写入

configurationprofile*

aws:ResourceTag/${TagKey}

hostedconfigurationversion*

GetAccountSettings

授予查看账户范围的权限 AppConfig 设置

读取

GetApplication

授予查看有关应用程序的详细信息的权限

application*

aws:ResourceTag/${TagKey}

Read

GetConfiguration

授予查看有关配置的详细信息的权限

application*

aws:ResourceTag/${TagKey}

Read

configurationprofile*

aws:ResourceTag/${TagKey}

environment*

aws:ResourceTag/${TagKey}

GetConfigurationProfile

授予查看有关配置文件的详细信息的权限

application*

aws:ResourceTag/${TagKey}

Read

configurationprofile*

aws:ResourceTag/${TagKey}

GetDeployment

授予查看有关部署的详细信息的权限

application*

aws:ResourceTag/${TagKey}

Read

deployment*

aws:ResourceTag/${TagKey}

environment*

aws:ResourceTag/${TagKey}

GetDeploymentStrategy

授予查看有关部署策略的详细信息的权限

deploymentstrategy*

aws:ResourceTag/${TagKey}

Read

GetEnvironment

授予查看有关环境的详细信息的权限

application*

aws:ResourceTag/${TagKey}

读取

environment*

aws:ResourceTag/${TagKey}

GetExperimentDefinition

授予查看实验定义详细信息的权限

application*

aws:ResourceTag/${TagKey}

读取

experimentdefinition*

aws:ResourceTag/${TagKey}

GetExperimentRun

授予查看实验运行详细信息的权限

application*

aws:ResourceTag/${TagKey}

读取

experimentdefinition*

aws:ResourceTag/${TagKey}

experimentrun*

aws:ResourceTag/${TagKey}

GetExtension

授予权限以查看有关扩展程序的详细信息

extension*

aws:ResourceTag/${TagKey}

读取

GetExtensionAssociation

授予权限以查看有关扩展程序关联的详细信息

extensionassociation*

aws:ResourceTag/${TagKey}

读取

GetHostedConfigurationVersion

授予权限以查看有关托管配置版本的详细信息

application*

aws:ResourceTag/${TagKey}

读取

configurationprofile*

aws:ResourceTag/${TagKey}

hostedconfigurationversion*

GetLatestConfiguration

授予检索部署的配置的权限

configuration*

aws:ResourceTag/${TagKey}

读取

ListApplications

授予列出您账户中的应用程序的权限

List

ListConfigurationProfiles

授予列出应用程序的配置文件的权限

application*

aws:ResourceTag/${TagKey}

List

ListDeploymentStrategies

授予列出您账户的部署策略的权限

List

ListDeployments

授予列出环境的部署的权限

application*

aws:ResourceTag/${TagKey}

List

environment*

aws:ResourceTag/${TagKey}

ListEnvironments

授予列出应用程序的环境的权限

application*

aws:ResourceTag/${TagKey}

列表

ListExperimentDefinitions

授予在您的账户中列出实验定义的权限

列表

ListExperimentRunEvents

授予列出实验运行事件的权限

application*

aws:ResourceTag/${TagKey}

列表

experimentdefinition*

aws:ResourceTag/${TagKey}

experimentrun*

aws:ResourceTag/${TagKey}

ListExperimentRuns

授予为实验定义列出实验运行次数的权限

application*

aws:ResourceTag/${TagKey}

列表

experimentdefinition*

aws:ResourceTag/${TagKey}

ListExtensionAssociations

授予权限以列出您账户中的扩展程序关联

列表

ListExtensions

授予权限以列出您账户中的扩展程序

列表

ListHostedConfigurationVersions

授予权限以列出配置文件的托管配置版本

application*

aws:ResourceTag/${TagKey}

List

configurationprofile*

aws:ResourceTag/${TagKey}

ListTagsForResource

授予权限以查看指定资源的资源标签的列表

application

aws:ResourceTag/${TagKey}

读取

configurationprofile

aws:ResourceTag/${TagKey}

deployment

aws:ResourceTag/${TagKey}

deploymentstrategy

aws:ResourceTag/${TagKey}

environment

aws:ResourceTag/${TagKey}

experimentdefinition

aws:ResourceTag/${TagKey}

experimentrun

aws:ResourceTag/${TagKey}

extension

aws:ResourceTag/${TagKey}

extensionassociation

aws:ResourceTag/${TagKey}

StartConfigurationSession

授予启动配置会话的权限

configuration*

aws:ResourceTag/${TagKey}

写入

StartDeployment

授予启动部署的权限

application*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

写入

configurationprofile*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

deploymentstrategy*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

environment*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

StartExperimentRun

授予开始实验运行的权限

application*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

写入

experimentdefinition*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

StopDeployment

授予停止部署的权限

application*

aws:ResourceTag/${TagKey}

写入

deployment*

aws:ResourceTag/${TagKey}

environment*

aws:ResourceTag/${TagKey}

StopExperimentRun

授予停止实验运行的权限

application*

aws:ResourceTag/${TagKey}

写入

experimentdefinition*

aws:ResourceTag/${TagKey}

experimentrun*

aws:ResourceTag/${TagKey}

TagResource

授予标记应用配置资源的权限

application

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

标记、写入

configuration

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

configurationprofile

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

deployment

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

deploymentstrategy

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

environment

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

extension

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

extensionassociation

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

UntagResource

授予取消标记应用配置资源的权限

application

aws:ResourceTag/${TagKey}

aws:TagKeys

标记、写入

configuration

aws:ResourceTag/${TagKey}

aws:TagKeys

configurationprofile

aws:ResourceTag/${TagKey}

aws:TagKeys

deployment

aws:ResourceTag/${TagKey}

aws:TagKeys

deploymentstrategy

aws:ResourceTag/${TagKey}

aws:TagKeys

environment

aws:ResourceTag/${TagKey}

aws:TagKeys

experimentdefinition

aws:ResourceTag/${TagKey}

aws:TagKeys

experimentrun

aws:ResourceTag/${TagKey}

aws:TagKeys

extension

aws:ResourceTag/${TagKey}

aws:TagKeys

extensionassociation

aws:ResourceTag/${TagKey}

aws:TagKeys

UpdateAccountSettings

授予修改账户范围的权限 AppConfig 设置

写入

UpdateApplication

授予修改应用程序的权限

application*

aws:ResourceTag/${TagKey}

Write

UpdateConfigurationProfile

授予修改配置文件的权限

application*

aws:ResourceTag/${TagKey}

Write

configurationprofile*

aws:ResourceTag/${TagKey}

UpdateDeploymentStrategy

授予修改部署策略的权限

deploymentstrategy*

aws:ResourceTag/${TagKey}

Write

UpdateEnvironment

授予修改环境的权限

application*

aws:ResourceTag/${TagKey}

写入

environment*

aws:ResourceTag/${TagKey}

UpdateExperimentDefinition

授予修改实验定义的权限

application*

aws:ResourceTag/${TagKey}

写入

experimentdefinition*

aws:ResourceTag/${TagKey}

UpdateExperimentRun

授予修改实验运行的权限

application*

aws:ResourceTag/${TagKey}

写入

experimentdefinition*

aws:ResourceTag/${TagKey}

experimentrun*

aws:ResourceTag/${TagKey}

UpdateExtension

授予权限以修改扩展程序

extension*

aws:ResourceTag/${TagKey}

写入

UpdateExtensionAssociation

授予权限以修改扩展程序关联

extensionassociation*

aws:ResourceTag/${TagKey}

写入

ValidateConfiguration

授予验证配置的权限

application*

aws:ResourceTag/${TagKey}

写入

configurationprofile*

aws:ResourceTag/${TagKey}

资源类型定义为 Amazon AppConfig

以下资源类型是由该服务定义的,可以在 IAM 权限策略语句的 Resource 元素中使用这些资源类型。

资源类型 ARN 条件键

application

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

aws:ResourceTag/${TagKey}

configuration

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

aws:ResourceTag/${TagKey}

configurationprofile

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

aws:ResourceTag/${TagKey}

deployment

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}

environment

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}

extension

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

aws:ResourceTag/${TagKey}

extensionassociation

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

aws:ResourceTag/${TagKey}

hostedconfigurationversion

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

的条件密钥 Amazon AppConfig

Amazon AppConfig 定义了以下条件密钥,这些密钥可用于 Condition IAM 政策的元素。

条件键 描述 类型

aws:RequestTag/${TagKey}

根据指定标签的允许值集筛选访问权限

String

aws:ResourceTag/${TagKey}

按分配给的标签键值对筛选访问权限 Amazon 资源

String

aws:TagKeys

按请求中允许的标签键列表筛选访问

ArrayOfString