S3 Bucket's last modified time

0

Is there a way to get the Bucket's last modified time in go language?

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

Yes, use AWS SDK for Go: https://aws.amazon.com/sdk-for-go

And build with Go something equivalent to https://www.learnaws.org/2022/10/10/aws-s3-list-files-date/

profile pictureAWS
エキスパート
回答済み 1年前
  • Thanks for the reply. I do get the last modified date for objects inside the bucket, however I need the last modified time for bucket, I wanted to track what changes has occurred at particular time interval like policy update, file upload etc. for bucket.

0

Oh, I see Have a look at the example at end of https://docs.aws.amazon.com/cli/latest/reference/macie2/describe-buckets.html Are you looking for "lastUpdated" parameter then?

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

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

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

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

関連するコンテンツ