View a markdown version of this page

Amazon 的操作、资源和条件密钥 EventBridge - 服务授权参考

Amazon 的操作、资源和条件密钥 EventBridge

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

参考:

亚马逊定义的 API 操作 EventBridge

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

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

CreateEventBus

eventbridgev2

事件:CreateEventBus

写入

事件:TagResource

标记、写作

CreateEventSource

eventbridgev2

事件:CreateEventSource

写入

事件:TagResource

标记、写作

CreateSubscriber

eventbridgev2

事件:CreateSubscriber

写入

事件:TagResource

标记、写作

我是:PassRole

我是:PassedToService

events.amaws.com

写入

DeleteEventBus

eventbridgev2

事件:DeleteEventBus

写入

DeleteEventSource

eventbridgev2

事件:DeleteEventSource

写入

DeleteResourcePolicy

eventbridgev2

事件:DeleteResourcePolicy

权限管理,写入

DeleteSubscriber

eventbridgev2

事件:DeleteSubscriber

写入

DescribeEventBus

eventbridgev2

事件:DescribeEventBus

读取

DescribeEventSource

eventbridgev2

事件:DescribeEventSource

读取

DescribeSubscriber

eventbridgev2

事件:DescribeSubscriber

读取

GetResourcePolicy

eventbridgev2

事件:GetResourcePolicy

读取

ListEventBuses

eventbridgev2

事件:ListEventBuses

列表

ListEventSources

eventbridgev2

事件:ListEventSources

列表

ListResourcePolicies

eventbridgev2

事件:ListResourcePolicies

列表

ListSubscribers

eventbridgev2

事件:ListSubscribers

列表

ListTagsForResource

eventbridgev2

事件:ListTagsForResource

列表

PutEvents

eventbridgev2

事件:PutEvents

写入

PutRawEvents

eventbridgev2

事件:PutRawEvents

写入

PutResourcePolicy

eventbridgev2

事件:PutResourcePolicy

权限管理,写入

RevokeResource

eventbridgev2

事件:RevokeResource

写入

TagResource

eventbridgev2

事件:TagResource

标记、写作

UntagResource

eventbridgev2

事件:UntagResource

标记、写作

UpdateEventBus

eventbridgev2

事件:UpdateEventBus

写入

UpdateEventSource

eventbridgev2

事件:UpdateEventSource

写入

UpdateSubscriber

eventbridgev2

事件:UpdateSubscriber

写入

我是:PassRole

我是:PassedToService

events.amaws.com

写入

ActivateEventSource

events

事件:ActivateEventSource

写入

CancelReplay

events

事件:CancelReplay

写入

CreateApiDestination

events

事件:CreateApiDestination

写入

CreateArchive

events

事件:CreateArchive

写入

CreateConnection

events

事件:CreateConnection

写入

CreateEndpoint

events

事件:CreateEndpoint

写入

我是:PassRole

我是:PassedToService

events.amaws.com

写入

CreateEventBus

events

事件:CreateEventBus

写入

事件:TagResource

标记、写作

CreatePartnerEventSource

events

事件:CreatePartnerEventSource

写入

DeactivateEventSource

events

事件:DeactivateEventSource

写入

DeauthorizeConnection

events

事件:DeauthorizeConnection

写入

DeleteApiDestination

events

事件:DeleteApiDestination

写入

DeleteArchive

events

事件:DeleteArchive

写入

DeleteConnection

events

事件:DeleteConnection

写入

DeleteEndpoint

events

事件:DeleteEndpoint

写入

DeleteEventBus

events

事件:DeleteEventBus

写入

DeletePartnerEventSource

events

事件:DeletePartnerEventSource

写入

DeleteRule

events

事件:DeleteRule

写入

DescribeApiDestination

events

事件:DescribeApiDestination

读取

DescribeArchive

events

事件:DescribeArchive

读取

DescribeConnection

events

事件:DescribeConnection

读取

DescribeEndpoint

events

事件:DescribeEndpoint

读取

DescribeEventBus

events

事件:DescribeEventBus

读取

DescribeEventSource

events

事件:DescribeEventSource

读取

DescribePartnerEventSource

events

事件:DescribePartnerEventSource

读取

DescribeReplay

events

事件:DescribeReplay

读取

DescribeRule

events

事件:DescribeRule

读取

DisableRule

events

事件:DisableRule

写入

EnableRule

events

事件:EnableRule

写入

ListApiDestinations

events

事件:ListApiDestinations

列表

ListArchives

events

事件:ListArchives

列表

ListConnections

events

事件:ListConnections

列表

ListEndpoints

events

事件:ListEndpoints

列表

ListEventBuses

events

事件:ListEventBuses

列表

ListEventSources

events

事件:ListEventSources

列表

ListPartnerEventSourceAccounts

events

事件:ListPartnerEventSourceAccounts

列表

ListPartnerEventSources

events

事件:ListPartnerEventSources

列表

ListReplays

events

事件:ListReplays

列表

ListRuleNamesByTarget

events

事件:ListRuleNamesByTarget

列表

ListRules

events

事件:ListRules

列表

ListTagsForResource

events

事件:ListTagsForResource

列表

ListTargetsByRule

events

事件:ListTargetsByRule

列表

PutEvents

events

事件:PutEvents

写入

PutPartnerEvents

events

事件:PutPartnerEvents

写入

PutPermission

events

事件:PutPermission

权限管理,写入

PutRule

events

事件:PutRule

写入

事件:TagResource

标记、写作

我是:PassRole

我是:PassedToService

events.amaws.com

写入

PutTargets

events

事件:PutTargets

写入

我是:PassRole

我是:PassedToService

events.amaws.com

写入

RemovePermission

events

事件:RemovePermission

权限管理,写入

RemoveTargets

events

事件:RemoveTargets

写入

StartReplay

events

事件:StartReplay

写入

TagResource

events

事件:TagResource

标记、写作

TestEventPattern

events

事件:TestEventPattern

读取

UntagResource

events

事件:UntagResource

标记、写作

UpdateApiDestination

events

事件:UpdateApiDestination

写入

UpdateArchive

events

事件:UpdateArchive

写入

UpdateConnection

events

事件:UpdateConnection

写入

UpdateEndpoint

events

事件:UpdateEndpoint

写入

我是:PassRole

我是:PassedToService

events.amaws.com

写入

UpdateEventBus

events

事件:UpdateEventBus

写入

Amazon 定义的操作 EventBridge

您可以在 IAM 策略语句的 Action 元素中指定以下操作。可以使用策略授予在 AWS中执行操作的权限。您在策略中使用一项操作时,通常使用相同的名称允许或拒绝对 API 操作或 CLI 命令的访问。但在某些情况下,单一动作可控制对多项操作的访问。还有某些操作需要多种不同的动作。

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

ActivateEventSource

授予激活合作伙伴事件源的权限

事件源*

写入

CancelReplay

授予取消重播的权限

重播*

写入

CreateApiDestination

授予创建新 api 目标的权限

api 目的地*

写入

连接*

CreateArchive

授予创建新存档的权限

alias

写入

存档*

活动总线*

aws: ResourceTag /$ {} TagKey

密钥

CreateConnection

授予创建新连接的权限

连接*

写入

CreateEndpoint

授予权限以创建终端节点

端点*

事件:EventBusArn

写入

CreateEventBus

授予创建事件总线的权限

活动总线

aws: RequestTag /$ {} TagKey

aws: ResourceTag /$ {} TagKey

aws:TagKeys

写入

event-busv2

aws: RequestTag /$ {} TagKey

aws: ResourceTag /$ {} TagKey

aws:TagKeys

CreateEventSource

授予创建将事件转发到事件总线的事件源的权限

event-busv2*

aws: RequestTag /$ {} TagKey

aws: ResourceTag /$ {} TagKey

aws:TagKeys

事件:来源

写入

事件源 v2*

aws: RequestTag /$ {} TagKey

aws: ResourceTag /$ {} TagKey

aws:TagKeys

事件:来源

CreatePartnerEventSource

授予创建合作伙伴事件源的权限

事件源*

写入

CreateSubscriber

授予创建订阅用户的权限

event-busv2*

aws: RequestTag /$ {} TagKey

aws: ResourceTag /$ {} TagKey

aws:TagKeys

事件:ContentFilterPresent

事件:元数据/$ {} MetadataKey

事件:元数据/$ {} /Matcher MetadataKey

写入

订阅者*

aws: RequestTag /$ {} TagKey

aws: ResourceTag /$ {} TagKey

aws:TagKeys

事件:ContentFilterPresent

事件:元数据/$ {} MetadataKey

事件:元数据/$ {} /Matcher MetadataKey

DeactivateEventSource

授予停用事件源的权限

事件源*

写入

DeauthorizeConnection

授予取消连接授权的权限,删除其存储的授权密钥

连接*

写入

DeleteApiDestination

授予删除 api 目标的权限

api 目的地*

写入

DeleteArchive

授予删除存档的权限

存档*

写入

DeleteConnection

授予权限以删除连接

连接*

写入

DeleteEndpoint

授予权限以删除终端节点

端点*

写入

DeleteEventBus

授予删除事件总线的权限

活动总线

aws: ResourceTag /$ {} TagKey

写入

event-busv2

aws: ResourceTag /$ {} TagKey

DeleteEventSource

授予删除事件源的权限

事件源 v2*

aws: ResourceTag /$ {} TagKey

写入

DeletePartnerEventSource

授予删除合作伙伴事件源的权限

事件源*

写入

DeleteResourcePolicy

授予删除附加到事件总线的资源策略的权限

event-busv2*

aws: ResourceTag /$ {} TagKey

事件:PolicyName

权限管理,写入

DeleteRule

授予删除规则的权限

自定义事件总线规则

aws: ResourceTag /$ {} TagKey

活动:创建者账号

事件:ManagedBy

写入

默认事件总线规则

aws: ResourceTag /$ {} TagKey

活动:创建者账号

事件:ManagedBy

DeleteSubscriber

授予删除订阅者的权限

订阅者*

aws: ResourceTag /$ {} TagKey

写入

DescribeApiDestination

授予检索 api 目标详细信息的权限

api 目的地*

读取

连接*

DescribeArchive

授予检索存档详细信息的权限

存档*

读取

DescribeConnection

授予检索连接详细信息的权限

连接*

读取

DescribeEndpoint

授予权限以检索有关终端节点的详细信息

端点*

读取

DescribeEventBus

授予检索事件总线详细信息的权限

活动总线

aws: ResourceTag /$ {} TagKey

读取

event-busv2

aws: ResourceTag /$ {} TagKey

DescribeEventSource

授予检索事件源详细信息的权限

事件源

读取

事件源v2

aws: ResourceTag /$ {} TagKey

DescribePartnerEventSource

授予检索合作伙伴事件源详细信息的权限

事件源*

读取

DescribeReplay

授予检索重播详细信息的权限

重播*

读取

DescribeRule

授予检索规则详细信息的权限

自定义事件总线规则

aws: ResourceTag /$ {} TagKey

活动:创建者账号

读取

默认事件总线规则

aws: ResourceTag /$ {} TagKey

活动:创建者账号

DescribeSubscriber

授予检索订阅者详细信息的权限

订阅者*

aws: ResourceTag /$ {} TagKey

读取

DisableRule

授予禁用规则的权限

自定义事件总线规则

aws: ResourceTag /$ {} TagKey

活动:创建者账号

事件:ManagedBy

写入

默认事件总线规则

aws: ResourceTag /$ {} TagKey

活动:创建者账号

事件:ManagedBy

EnableRule

授予启用规则的权限

自定义事件总线规则

aws: ResourceTag /$ {} TagKey

活动:创建者账号

事件:ManagedBy

写入

默认事件总线规则

aws: ResourceTag /$ {} TagKey

活动:创建者账号

事件:ManagedBy

GetResourcePolicy

授予检索附加到事件总线的资源策略的权限

event-busv2*

aws: ResourceTag /$ {} TagKey

事件:PolicyName

读取

ListApiDestinations

授予检索 api 目标列表的权限

List

ListArchives

授予检索存档列表的权限

List

ListConnections

授予权限以检索连接列表

列表

ListEndpoints

授予检索终端节点列表的权限

列表

ListEventBuses

授予检索账户中事件总线列表的权限

列表

ListEventSources

授予检索与此账户共享的事件源列表的权限

列表

ListPartnerEventSourceAccounts

授予检索与事件源关联的 AWS 账户 ID 列表的权限

事件源*

列表

ListPartnerEventSources

授予检索合作伙伴事件源列表的权限

List

ListReplays

授予检索重播列表的权限

列表

ListResourcePolicies

授予列出附加到事件总线的资源策略的权限

event-busv2*

aws: ResourceTag /$ {} TagKey

列表

ListRuleNamesByTarget

授予检索与目标关联的规则名称列表的权限

列表

ListRules

授予在账户中检索亚马逊 EventBridge 规则列表的权限

列表

ListSubscribers

授予检索订阅者列表的权限

列表

ListTagsForResource

授予检索与 Amazon EventBridge 资源关联的标签列表的权限

活动总线

aws: ResourceTag /$ {} TagKey

活动:创建者账号

列表

event-busv2

aws: ResourceTag /$ {} TagKey

活动:创建者账号

事件源v2

aws: ResourceTag /$ {} TagKey

活动:创建者账号

自定义事件总线规则

aws: ResourceTag /$ {} TagKey

活动:创建者账号

默认事件总线规则

aws: ResourceTag /$ {} TagKey

活动:创建者账号

subscriber

aws: ResourceTag /$ {} TagKey

活动:创建者账号

ListTargetsByRule

授予检索针对规则定义的目标列表的权限

自定义事件总线规则

aws: ResourceTag /$ {} TagKey

活动:创建者账号

列表

默认事件总线规则

aws: ResourceTag /$ {} TagKey

活动:创建者账号

PutEvents

授予向 Amazon 发送自定义事件的权限 EventBridge

活动总线

aws: ResourceTag /$ {} TagKey

事件:详细信息类型

事件:事件 BusInvocation

事件:来源

事件:SystemMetadata/AwsDetailType

事件:SystemMetadata/AwsSource

事件:SystemMetadata/ContentType

写入

event-busv2

aws: ResourceTag /$ {} TagKey

事件:详细信息类型

事件:事件 BusInvocation

事件:来源

事件:SystemMetadata/AwsDetailType

事件:SystemMetadata/AwsSource

事件:SystemMetadata/ContentType

PutPartnerEvents

授予向 Amazon 发送自定义事件的权限 EventBridge

写入

PutPermission

授予使用该 PutPermission 操作的权限授予其他人将事件放 AWS 账户 到您的默认事件总线的权限

权限管理,写入

PutRawEvents

授予向 Amazon 发布包含自定义内容类型、元数据、二进制负载和 FIFO 排序的原始格式事件的权限 EventBridge

event-busv2*

aws: ResourceTag /$ {} TagKey

事件:事件 BusInvocation

事件:元数据/$ {} MetadataKey

事件:SystemMetadata/AwsDetailType

事件:SystemMetadata/AwsSource

事件:SystemMetadata/ContentType

写入

PutResourcePolicy

授予将资源策略附加到事件总线的权限

event-busv2*

aws: ResourceTag /$ {} TagKey

事件:PolicyName

权限管理,写入

PutRule

授予权限以创建或更新规则

自定义事件总线规则

aws: RequestTag /$ {} TagKey

aws: ResourceTag /$ {} TagKey

aws:TagKeys

活动:创建者账号

事件:详细信息类型

事件:详情. 事件 TypeCode

事件:详情服务

事件:detail.user Identity.principalId

事件:ManagedBy

事件:来源

写入

默认事件总线规则

aws: RequestTag /$ {} TagKey

aws: ResourceTag /$ {} TagKey

aws:TagKeys

活动:创建者账号

事件:详细信息类型

事件:详情. 事件 TypeCode

事件:详情服务

事件:detail.user Identity.principalId

事件:ManagedBy

事件:来源

PutTargets

授予权限以向规则添加目标

自定义事件总线规则

aws: ResourceTag /$ {} TagKey

活动:创建者账号

事件:ManagedBy

事件:TargetArn

写入

默认事件总线规则

aws: ResourceTag /$ {} TagKey

活动:创建者账号

事件:ManagedBy

事件:TargetArn

RemovePermission

授予撤销他人将事件放 AWS 账户 到您的默认事件总线的权限的权限

权限管理,写入

RemoveTargets

授予将目标从规则中删除的权限

自定义事件总线规则

aws: ResourceTag /$ {} TagKey

活动:创建者账号

事件:ManagedBy

写入

默认事件总线规则

aws: ResourceTag /$ {} TagKey

活动:创建者账号

事件:ManagedBy

RevokeResource

授予撤消事件总线上的订阅者或事件源的权限

event-busv2*

aws: ResourceTag /$ {} TagKey

写入

StartReplay

授予启动存档重播的权限

存档*

写入

活动总线*

aws: ResourceTag /$ {} TagKey

重播*

TagResource

授予向 Amazon EventBridge 资源添加标签的权限

活动总线

aws: RequestTag /$ {} TagKey

aws: ResourceTag /$ {} TagKey

aws:TagKeys

活动:创建者账号

标记、写作

event-busv2

aws: RequestTag /$ {} TagKey

aws: ResourceTag /$ {} TagKey

aws:TagKeys

活动:创建者账号

事件源v2

aws: RequestTag /$ {} TagKey

aws: ResourceTag /$ {} TagKey

aws:TagKeys

活动:创建者账号

自定义事件总线规则

aws: RequestTag /$ {} TagKey

aws: ResourceTag /$ {} TagKey

aws:TagKeys

活动:创建者账号

默认事件总线规则

aws: RequestTag /$ {} TagKey

aws: ResourceTag /$ {} TagKey

aws:TagKeys

活动:创建者账号

subscriber

aws: RequestTag /$ {} TagKey

aws: ResourceTag /$ {} TagKey

aws:TagKeys

活动:创建者账号

TestEventPattern

授予测试事件模式是否与提供的事件匹配的权限

读取

UntagResource

授予从 Amazon EventBridge 资源中移除标签的权限

活动总线

aws: ResourceTag /$ {} TagKey

aws:TagKeys

活动:创建者账号

标记、写作

event-busv2

aws: ResourceTag /$ {} TagKey

aws:TagKeys

活动:创建者账号

事件源v2

aws: ResourceTag /$ {} TagKey

aws:TagKeys

活动:创建者账号

自定义事件总线规则

aws: ResourceTag /$ {} TagKey

aws:TagKeys

活动:创建者账号

默认事件总线规则

aws: ResourceTag /$ {} TagKey

aws:TagKeys

活动:创建者账号

subscriber

aws: ResourceTag /$ {} TagKey

aws:TagKeys

活动:创建者账号

UpdateApiDestination

授予更新 api 目标的权限

api 目的地*

写入

UpdateArchive

授予更新存档的权限

alias

写入

存档*

密钥

UpdateConnection

授予权限以更新连接

连接*

写入

UpdateEndpoint

授予权限以更新终端节点

端点*

事件:EventBusArn

写入

UpdateEventBus

授予权限以更新事件总线

活动总线

aws: ResourceTag /$ {} TagKey

写入

event-busv2

aws: ResourceTag /$ {} TagKey

UpdateEventSource

授予更新事件源的权限

event-busv2

aws: ResourceTag /$ {} TagKey

事件:来源

写入

事件源 v2*

aws: ResourceTag /$ {} TagKey

事件:来源

UpdateSubscriber

授予更新订阅者的权限

event-busv2

aws: ResourceTag /$ {} TagKey

事件:ContentFilterPresent

事件:元数据/$ {} MetadataKey

事件:元数据/$ {} /Matcher MetadataKey

写入

订阅者*

aws: ResourceTag /$ {} TagKey

事件:ContentFilterPresent

事件:元数据/$ {} MetadataKey

事件:元数据/$ {} /Matcher MetadataKey

Permission-only Amazon 的行动 EventBridge

以下操作由 Amazon 定义, EventBridge 但不能通过任何 API 操作直接调用。它们只能在 IAM 策略声明中用于授予或拒绝权限。

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

AllowVendedLogDeliveryForResource

授予为以下各项配置供给日志传输的权限 EventBridge

活动总线

aws: ResourceTag /$ {} TagKey

写入

subscriber

aws: ResourceTag /$ {} TagKey

InvokeApiDestination

授予调用 api 目标的权限

api 目的地*

写入

RetrieveConnectionCredentials

授予检索来自连接的凭证的权限

连接*

写入

Amazon 定义的资源类型 EventBridge

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

资源类型 ARN 条件键

别名

arn: $ {Partition}: kms: $ {Region}: $ {Account}: alias/$ {Alias}

api 目的地

arn: $ {Partition}: events: $ {Region}: $ {Account}: api-destination/$ {} ApiDestinationName

档案

arn: $ {Partition}: events: $ {Region}: $ {Account}: archive/$ {} ArchiveName

连接

arn: $ {Partition}: events: $ {Region}: $ {Account}: connection/$ {} ConnectionName

创建快照

arn: $ {Partition}: events: $ {Region}: $ {Account}:-snapshot target/create

端点

arn: $ {Partition}: events: $ {Region}: $ {Account}: endpoint/$ {} EndpointName

活动总线

arn: $ {Partition}: events: $ {Region}: $ {Account}: event-bus/$ {} EventBusName

aws: ResourceTag /$ {} TagKey

event-busv2

arn: $ {Partition}: events: $ {Region}: $ {Account}: event-busv2/$ {} /$ {} /$ {} EventBusName OpaqueId

aws: ResourceTag /$ {} TagKey

事件源

arn: $ {Partition}: events: $ {Region}:: event-source/$ {} EventSourceName

事件源v2

arn: $ {Partition}: events: $ {Region}: $ {Account}: event-sourcev2/$ {} /$ {} /$ {} /$ {} SourceType EventSourceName OpaqueId

aws: ResourceTag /$ {} TagKey

钥匙

arn: $ {Partition}: kms: $ {Region}: $ {Account}: key/$ {} KeyId

重启实例

arn: $ {Partition}: events: $ {Region}: $ {Account}:-instance target/reboot

重播

arn: $ {Partition}: events: $ {Region}: $ {Account}: replay/$ {} ReplayName

自定义事件总线规则

arn: $ {Partition}: events: $ {Region}: $ {Account}: rule/$ {} /$ {} EventBusName RuleName

aws: ResourceTag /$ {} TagKey

默认事件总线规则

arn: $ {Partition}: events: $ {Region}: $ {Account}: rule/$ {} RuleName

aws: ResourceTag /$ {} TagKey

停止实例

arn: $ {Partition}: events: $ {Region}: $ {Account}:-instance target/stop

订阅者

arn: $ {Partition}: events: $ {Region}: $ {Account}: subscriber/$ {} /$ {} SubscriberName OpaqueId

aws: ResourceTag /$ {} TagKey

终止实例

arn: $ {Partition}: events: $ {Region}: $ {Account}:-instance target/terminate

Amazon 的条件密钥 EventBridge

Amazon EventBridge 定义了以下条件键,这些条件键可用于 IAM 策略的Condition元素。

条件键 描述 类型

aws: RequestTag /$ {} TagKey

根据每个标签的允许值集筛选对事件总线和规则操作的访问权限

字符串

aws: ResourceTag /$ {} TagKey

根据与资源关联的标签值筛选对事件总线和规则操作的访问权限

字符串

aws:TagKeys

按请求中的标签筛选对事件总线和规则操作的访问权限

ArrayOfString

事件:ContentFilterPresent

根据订阅者是否向其声明有效载荷范围的内容过滤器和操作来筛选访问权限 CreateSubscriber UpdateSubscriber

布尔型

事件:EventBusArn

按可与终端节点关联的事件总线的 ARN 筛选访问权限和操作 CreateEndpoint UpdateEndpoint

ArrayOfARN

事件:ManagedBy

按 AWS 服务筛选访问权限。如果规则是由 AWS 服务代表您创建的,则该值为创建该规则的服务的主体名称

字符串

事件:元数据/$ {} MetadataKey

按已发布事件的元数据键值对筛选访问权限,或者按订阅者的元数据过滤器中为该键声明的精确匹配值筛选访问权限到和 PutRawEvents 操作 CreateSubscriber UpdateSubscriber

ArrayOfString

事件:metadata/$ {} /Matcher MetadataKey

按在订阅者的过滤器和 UpdateSubscriber 操作中为元数据密钥声明的匹配类型筛选访问 CreateSubscriber 权限

字符串

事件:PolicyName

按资源策略操作请求中指定的资源策略名称筛选访问权限

字符串

事件:SystemMetadata/AwsDetailType

根据转发到事件总线的事件的系统元数据中记录的详细信息类型筛选访问权限 PutEvents PutRawEvents

字符串

事件:SystemMetadata/AwsSource

按转发到事件总线的事件的系统元数据中记录的源对访问 PutEvents 和 PutRawEvents 操作进行过滤

字符串

事件:SystemMetadata/ContentType

根据在事件上声明的内容类型筛选访问权限, PutRawEvents 以及对授权为的转发事件的访问权限 PutEvents

字符串

事件:TargetArn

按目标的 ARN 筛选访问权限,该目标可以应用于操作规则。 PutTargets targetArn 不包括 DeadLetterConfigArn

ArrayOfARN

活动:创建者账号

根据创建规则的账户筛选对规则操作的访问权限

字符串

事件:详细信息类型

按事件的详细信息类型的文字字符串筛选访问权限和操作 PutEvents PutRule

ArrayOfString

事件:详情. 事件 TypeCode

按事件的 detail.event TypeCode 字段的文字字符串将访问权限筛选为操作 PutRule

字符串

事件:详情.服务

按事件的 detail.service 字段的文字字符串筛选对操作的访问权限 PutRule

字符串

事件:detail.user Identity.principalId

按事件的 detail.useridentity.principalid 字段的文字字符串筛选对操作的访问权限 PutRule

字符串

事件:事件 BusInvocation

筛选对事件的访问权限 PutEvents 以及 PutRawEvents 事件是否是从事件总线转发的,而不是通过直接 API 调用发布的

字符串

事件:来源

按生成事件的 AWS 服务或 AWS 合作伙伴事件源筛选对 PutEvents 和 PutRule 操作的访问权限,或者按事件源的配置源筛选对 CreateEventSource 和 UpdateEventSource 操作的访问权限。匹配事件的 source 字段的文字字符串

ArrayOfString