glue:CancelMLTaskRun

Write

glue:CancelMLTaskRun is a Write access-level action in the glue service. Grants permission to stop a running ML Task Run

Resource types

ARNs that glue:CancelMLTaskRun can be scoped to in an IAM policy.

arn:${Partition}:glue:${Region}:${Account}:mlTransform/${TransformId}
mlTransform

Condition keys

Keys you can use in the Condition block of a policy that grants glue:CancelMLTaskRun.

aws:ResourceTag/${TagKey} String

Filters access by tag key-value pairs attached to the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowGlueCancelMLTaskRun",
      "Effect": "Allow",
      "Action": "glue:CancelMLTaskRun",
      "Resource": "*"
    }
  ]
}

Related actions in glue

View all glue actions →