s3:GetLifecycleConfiguration

Read

s3:GetLifecycleConfiguration is a Read access-level action in the s3 service. Grants permission to return the lifecycle configuration information set on an Amazon S3 bucket

Resource types

ARNs that s3:GetLifecycleConfiguration can be scoped to in an IAM policy.

arn:${Partition}:s3:::${BucketName}
bucket

Condition keys

Keys you can use in the Condition block of a policy that grants s3:GetLifecycleConfiguration.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

s3:BucketTag/${TagKey} String

Filters access by the tags associated with the bucket

Example IAM policy

A minimal policy that allows s3:GetLifecycleConfiguration. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowS3GetLifecycleConfiguration",
      "Effect": "Allow",
      "Action": "s3:GetLifecycleConfiguration",
      "Resource": "*"
    }
  ]
}

Related actions in s3

View all s3 actions →