elasticfilesystem:DeleteFileSystem

Write

elasticfilesystem:DeleteFileSystem is a Write access-level action in the elasticfilesystem service. Grants permission to delete a file system, permanently severing access to its contents

Resource types

ARNs that elasticfilesystem:DeleteFileSystem 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:DeleteFileSystem.

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:DeleteFileSystem. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in elasticfilesystem

View all elasticfilesystem actions →