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