fsx:DeleteVolume

Write

fsx:DeleteVolume is a Write access-level action in the fsx service. Grants permission to delete a volume, deleting its contents and any existing automatic backups of the volume

Resource types

ARNs that fsx:DeleteVolume can be scoped to in an IAM policy.

arn:${Partition}:fsx:${Region}:${Account}:backup/${BackupId}
backup
arn:${Partition}:fsx:${Region}:${Account}:volume/${FileSystemId}/${VolumeId} required
volume

Condition keys

Keys you can use in the Condition block of a policy that grants fsx:DeleteVolume.

aws:RequestTag/${TagKey} String

Filters access by the tags that are passed in the request

aws:TagKeys ArrayOfString

Filters access by the tag keys that are passed in the request

fsx:ParentVolumeId String

Filters access by the containing parent volume for mutating volume operations

fsx:StorageVirtualMachineId String

Filters access by the containing storage virtual machine for a volume for mutating volume operations

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowFsxDeleteVolume",
      "Effect": "Allow",
      "Action": "fsx:DeleteVolume",
      "Resource": "*"
    }
  ]
}

Related actions in fsx

View all fsx actions →