s3-object-lambda:GetObjectLegalHold

Read

s3-object-lambda:GetObjectLegalHold is a Read access-level action in the s3-object-lambda service. Grants permission to get an object's current Legal Hold status

Resource types

ARNs that s3-object-lambda:GetObjectLegalHold can be scoped to in an IAM policy.

arn:${Partition}:s3-object-lambda:${Region}:${Account}:accesspoint/${AccessPointName}
objectlambdaaccesspoint

Condition keys

No condition keys are documented for this action.

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowS3objectlambdaGetObjectLegalHold",
      "Effect": "Allow",
      "Action": "s3-object-lambda:GetObjectLegalHold",
      "Resource": "*"
    }
  ]
}

Related actions in s3-object-lambda

View all s3-object-lambda actions →