iot:CancelAuditTask is a Write access-level action in the iot service. Grants permission to cancel an audit that is in progress. The audit can be either scheduled or on-demand
This action does not support resource-level permissions; use "Resource": "*" in your policy.
No condition keys are documented for this action.
A minimal policy that allows iot:CancelAuditTask. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowIotCancelAuditTask",
"Effect": "Allow",
"Action": "iot:CancelAuditTask",
"Resource": "*"
}
]
}