View a markdown version of this page

的操作、资源和条件键 AWS 最终用户消息收发 - 服务授权参考

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

的操作、资源和条件键 AWS 最终用户消息收发

AWS 最终用户消息(服务前缀: end-user-messaging) 提供以下特定服务的操作、资源、操作和条件密钥,用于 IAM 权限策略。

参考:

动作定义为 AWS 最终用户消息收发

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

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

CreateBrandProfile

授予创建品牌资料的权限

aws:RequestTag/${TagKey}

aws:TagKeys

写入

CreateBrandProfileAttributes

授予为品牌资料创建属性的权限

brand-profile*

aws:ResourceTag/${TagKey}

写入

CreateBrandProfileFromRegistration

授予通过 Bedrock 映射创建从现有注册中填充的新品牌资料的权限

aws:RequestTag/${TagKey}

aws:TagKeys

写入

CreateNotifyCodeConfiguration

授予创建通知代码配置的权限

aws:RequestTag/${TagKey}

aws:TagKeys

写入

CreateRegistrationsFromBrandProfile

授予通过 Bedrock 映射根据品牌资料属性预先填写的 DRAFT 注册表的权限

brand-profile*

aws:ResourceTag/${TagKey}

写入

DeleteBrandProfile

授予删除品牌资料的权限

brand-profile*

aws:ResourceTag/${TagKey}

写入

DeleteBrandProfileAttribute

授予删除品牌资料属性的权限

brand-profile*

aws:ResourceTag/${TagKey}

写入

DeleteNotifyCodeConfiguration

授予删除通知代码配置的权限

notify-code-configuration*

aws:ResourceTag/${TagKey}

写入

GetBrandProfile

授予获取品牌资料的权限

brand-profile*

aws:ResourceTag/${TagKey}

读取

GetBrandProfileAttribute

授予获取品牌资料属性的权限

brand-profile*

aws:ResourceTag/${TagKey}

读取

GetJob

授予获取异步任务详细信息的权限

读取

GetNotifyCodeConfiguration

授予获取通知代码配置的权限

notify-code-configuration*

aws:ResourceTag/${TagKey}

读取

ListBrandProfileAttributes

授予列出品牌资料属性的权限

brand-profile*

aws:ResourceTag/${TagKey}

列表

ListBrandProfiles

授予列出品牌资料的权限

列表

ListJobs

授予在您的账户中列出异步任务的权限

列表

ListNotifyCodeConfigurations

授予列出通知代码配置的权限

列表

ListRegistrationsFromBrandProfile

授予列出根据品牌资料创建的注册的权限

brand-profile*

aws:ResourceTag/${TagKey}

列表

ListTagsForResource

授予权限以列出资源的标签

brand-profile

aws:ResourceTag/${TagKey}

读取

notify-code-configuration

aws:ResourceTag/${TagKey}

SendNotifyCodeVerification

授予发送通知码验证的权限

notify-code-configuration

aws:ResourceTag/${TagKey}

写入

TagResource

授予权限以标记资源

brand-profile

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

标记、写入

notify-code-configuration

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

UntagResource

授予权限以取消标记资源

brand-profile

aws:ResourceTag/${TagKey}

aws:TagKeys

标记、写入

notify-code-configuration

aws:ResourceTag/${TagKey}

aws:TagKeys

UpdateBrandProfile

授予更新品牌资料的权限

brand-profile*

aws:ResourceTag/${TagKey}

写入

UpdateBrandProfileAttribute

授予更新品牌资料属性的权限

brand-profile*

aws:ResourceTag/${TagKey}

写入

UpdateBrandProfileFromRegistration

授予从注册中更新品牌资料的权限

brand-profile*

aws:ResourceTag/${TagKey}

写入

UpdateNotifyCodeConfiguration

授予更新通知代码配置的权限

notify-code-configuration*

aws:ResourceTag/${TagKey}

写入

UpdateRegistrationsFromBrandProfile

授予更新品牌资料中注册信息的权限

brand-profile*

aws:ResourceTag/${TagKey}

写入

ValidateNotifyCodeVerification

授予验证通知码验证的权限

写入

资源类型定义为 AWS 最终用户消息收发

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

资源类型 ARN 条件键

brand-profile

arn:${Partition}:end-user-messaging:${Region}:${Account}:brand-profile/${ResourceId}

aws:ResourceTag/${TagKey}

notify-code-configuration

arn:${Partition}:end-user-messaging:${Region}:${Account}:notify-code-configuration/${ResourceId}

aws:ResourceTag/${TagKey}

的条件密钥 AWS 最终用户消息收发

AWS 最终用户消息定义了以下条件密钥,这些密钥可用于 Condition IAM 政策的元素。

条件键 描述 类型

aws:RequestTag/${TagKey}

按请求中传递的标签筛选访问权限

String

aws:ResourceTag/${TagKey}

按附加到资源的标签筛选访问

String

aws:TagKeys

按请求中传递的标签键筛选访问权限

ArrayOfString