logs:CancelExportTask is a Write access-level action in the logs service. Grants permission to cancel an export task if it is in PENDING or RUNNING state
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 logs:CancelExportTask. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowLogsCancelExportTask",
"Effect": "Allow",
"Action": "logs:CancelExportTask",
"Resource": "*"
}
]
}