elasticfilesystem:PutFileSystemPolicy

Permissions management

elasticfilesystem:PutFileSystemPolicy is a Permissions management access-level action in the elasticfilesystem service. Grants permission to apply a resource-level policy that defines the actions allowed or denied from given actors for the specified file system

Resource types

ARNs that elasticfilesystem:PutFileSystemPolicy can be scoped to in an IAM policy.

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

Condition keys

Keys you can use in the Condition block of a policy that grants elasticfilesystem:PutFileSystemPolicy.

aws:ResourceTag/${TagKey} String

Filters access by a tag key and value pair of a resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowElasticfilesystemPutFileSystemPolicy",
      "Effect": "Allow",
      "Action": "elasticfilesystem:PutFileSystemPolicy",
      "Resource": "*"
    }
  ]
}

Related actions in elasticfilesystem

View all elasticfilesystem actions →