iotsitewise:DeleteTask

Write

iotsitewise:DeleteTask is a Write access-level action in the iotsitewise service. Grants permission to delete a task definition from a workspace

Resource types

ARNs that iotsitewise:DeleteTask can be scoped to in an IAM policy.

arn:${Partition}:iotsitewise:${Region}:${Account}:workspace/${WorkspaceName}/task/${TaskName} required
task

Condition keys

Keys you can use in the Condition block of a policy that grants iotsitewise:DeleteTask.

aws:ResourceTag/${TagKey} String

Filters access by the tags attached to the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowIotsitewiseDeleteTask",
      "Effect": "Allow",
      "Action": "iotsitewise:DeleteTask",
      "Resource": "*"
    }
  ]
}

Related actions in iotsitewise

View all iotsitewise actions →