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
ARNs that s3-object-lambda:GetObjectLegalHold can be scoped to in an IAM policy.
No condition keys are documented for this action.
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": "*"
}
]
}