fsx:CancelDataRepositoryTask

Write

fsx:CancelDataRepositoryTask is a Write access-level action in the fsx service. Grants permission to cancel a data repository task

Resource types

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

arn:${Partition}:fsx:${Region}:${Account}:task/${TaskId}
task

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

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

Related actions in fsx

View all fsx actions →