codepipeline:GetPipelineState

Read

codepipeline:GetPipelineState is a Read access-level action in the codepipeline service. Grants permission to view information about the current state of the stages and actions of a pipeline

Resource types

ARNs that codepipeline:GetPipelineState 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:GetPipelineState.

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:GetPipelineState. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCodepipelineGetPipelineState",
      "Effect": "Allow",
      "Action": "codepipeline:GetPipelineState",
      "Resource": "*"
    }
  ]
}

Related actions in codepipeline

View all codepipeline actions →