storagegateway:EvictFilesFailingUpload

Write

storagegateway:EvictFilesFailingUpload is a Write access-level action in the storagegateway service. Grants permission to clean a share's cache of file entries that are failing upload to Amazon S3

Resource types

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

arn:${Partition}:storagegateway:${Region}:${Account}:share/${ShareId}
share

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by tag-value associated with the resource

Example IAM policy

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

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

Related actions in storagegateway

View all storagegateway actions →