1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Hello shuijing,
It seems like you are able to get the S3 lifecycle information by radosgw-admin lc list, and you want some guidance on how to get it by s3-Boto3.
This link[1] contained the code example shows how to get an S3 bucket’s lifecycle configuration via SDK for Boto3. This third-party link[2] also has a code example along with the steps on the approach to this problem.
References:
[1] https://docs.aws.amazon.com/AmazonS3/latest/userguide/example_s3_GetBucketLifecycleConfiguration_section.html
[2] https://www.tutorialspoint.com/how-to-get-the-lifecycle-of-a-s3-bucket-using-boto3-and-aws-client
répondu il y a 2 ans
Contenus pertinents
- demandé il y a un mois
- demandé il y a 8 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 mois