EC2: Tagging Metadata (Get Tag Created Date/Time)

0

I hope you can help me.

I would like to retrieve the timestamp of when a tag was last updated (or created if it's never been edited).

I was hoping to use Python (with boto3) to retrieve this information. I have investigated and it doesn't appear that this information is available. Does anyone know any different?

Many thanks in advance,

Lee

質問済み 2年前263ビュー
1回答
0

Hi There

If you have CloudTrail enabled, you can retrieve the information from the trail. For example, you can look for an event from the CreateTags API call on a particular EC2 instance. (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html)

Here are instructions for viewing CloudTrail events

https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events-console.html

profile pictureAWS
エキスパート
Matt-B
回答済み 2年前

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

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

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

関連するコンテンツ