storagegateway:DeleteVolume

Write

storagegateway:DeleteVolume is a Write access-level action in the storagegateway service. Grants permission to delete the specified gateway volume that you previously created using the CreateCachediSCSIVolume or CreateStorediSCSIVolume API

Resource types

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

arn:${Partition}:storagegateway:${Region}:${Account}:gateway/${GatewayId}/volume/${VolumeId}
volume

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by tag-value associated with the resource

Example IAM policy

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

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

Related actions in storagegateway

View all storagegateway actions →