s3files:GetFileSystemPolicy

Read

s3files:GetFileSystemPolicy is a Read access-level action in the s3files service. Grants permission to get the IAM resource policy for a specified file system

Resource types

ARNs that s3files:GetFileSystemPolicy can be scoped to in an IAM policy.

arn:${Partition}:s3files:${Region}:${Account}:file-system/${FileSystemId}
file-system

Condition keys

Keys you can use in the Condition block of a policy that grants s3files:GetFileSystemPolicy.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowS3filesGetFileSystemPolicy",
      "Effect": "Allow",
      "Action": "s3files:GetFileSystemPolicy",
      "Resource": "*"
    }
  ]
}

Related actions in s3files

View all s3files actions →