codepipeline:StopPipelineExecution is a Write access-level action in the codepipeline service. Grants permission to stop an in-progress pipeline execution
ARNs that codepipeline:StopPipelineExecution can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants codepipeline:StopPipelineExecution.
Filters actions based on tag key-value pairs attached to the resource
A minimal policy that allows codepipeline:StopPipelineExecution. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowCodepipelineStopPipelineExecution",
"Effect": "Allow",
"Action": "codepipeline:StopPipelineExecution",
"Resource": "*"
}
]
}