How do I know AWS events data which is actually generated?

0

I would like to know exact JSON data describing an event to construct a custom event pattern in EventBridge configuration. It seems there is only "detail" information in the Event Record on CloudTrail. How do I know the top-level fields such as "source" or "detail-type" of an event?

2回答
1
承認された回答

Check the following documentation for examples of supported events.
https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/EventTypes.html

For CloudTrail, "detail-type" will all be "AWS API Call via CloudTrail".
For events occurring in AWS, "Source" will always start with "aws".
For more information, please check the following documents.
https://docs.aws.amazon.com/ja_jp/AmazonCloudWatch/latest/events/CloudWatchEventsandEventPatterns.html

profile picture
エキスパート
回答済み 1年前
1

All the top level fields are described here. An event producer must specify the source, detail type and detail. They can also specify the timestamp and resources. All the event information should be provided in the detail type (which indicates what is the event) and the details, which should include all the needed information in nested fields.

profile pictureAWS
エキスパート
Uri
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ