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년 전285회 조회
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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠