cleanrooms-ml:CancelTrainedModelInferenceJob

Write

cleanrooms-ml:CancelTrainedModelInferenceJob is a Write access-level action in the cleanrooms-ml service. Grants permission to cancel a trained model inference job

Resource types

ARNs that cleanrooms-ml:CancelTrainedModelInferenceJob can be scoped to in an IAM policy.

arn:${Partition}:cleanrooms-ml:${Region}:${Account}:membership/${MembershipId}/trained-model-inference-job/${ResourceId}
TrainedModelInferenceJob

Condition keys

Keys you can use in the Condition block of a policy that grants cleanrooms-ml:CancelTrainedModelInferenceJob.

aws:ResourceTag/${TagKey} String

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

Example IAM policy

A minimal policy that allows cleanrooms-ml:CancelTrainedModelInferenceJob. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCleanroomsmlCancelTrainedModelInferenceJob",
      "Effect": "Allow",
      "Action": "cleanrooms-ml:CancelTrainedModelInferenceJob",
      "Resource": "*"
    }
  ]
}

Related actions in cleanrooms-ml

View all cleanrooms-ml actions →