codepipeline:StopPipelineExecution

Write

codepipeline:StopPipelineExecution is a Write access-level action in the codepipeline service. Grants permission to stop an in-progress pipeline execution

Resource types

ARNs that codepipeline:StopPipelineExecution can be scoped to in an IAM policy.

arn:${Partition}:codepipeline:${Region}:${Account}:${PipelineName}
pipeline

Condition keys

Keys you can use in the Condition block of a policy that grants codepipeline:StopPipelineExecution.

aws:ResourceTag/${TagKey} String

Filters actions based on tag key-value pairs attached to the resource

Example IAM policy

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": "*"
    }
  ]
}

Related actions in codepipeline

View all codepipeline actions →