我如何知道实际生成的AWS事件数据?

0

【以下的问题经过翻译处理】 我想了解精确的JSON数据描述事件,以构建事件桥的自定义事件模式配置。在CloudTrail的事件记录中似乎只有“详细信息”。我如何知道事件的顶级字段,例如“源”或“详细类型”?

profile picture
EXPERT
asked 5 months ago54 views
1 Answer
0

【以下的回答经过翻译处理】 请查看以下文档以获取支持的事件的示例。

https://docs.aws.amazon.com/zh_cn/AmazonCloudWatch/latest/events/EventTypes.html

对于 CloudTrail,“detail-type” 将全部为 “AWS API Call via CloudTrail”。

对于在 AWS 中发生的事件,“Source” 将始终以 “aws” 开头。

有关更多信息,请查阅以下文档。

https://docs.aws.amazon.com/zh_cn/AmazonCloudWatch/latest/events/CloudWatchEventsandEventPatterns.html

如果此答案有助于解决问题,请批准该答案以改善社区。

profile picture
EXPERT
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions