AWS Config
Developer Guide

codepipeline-deployment-count-check

Checks whether the first deployment stage of the AWS CodePipeline performs more than one deployment. Optionally, checks if each of the subsequent remaining stages deploy to more than the specified number of deployments (deploymentLimit). The rule is NON_COMPLIANT if the first stage in the AWS CodePipeline deploys to more than one region and the AWS CodePipeline deploys to more than the number specified in the deploymentLimit.

Identifier: CODEPIPELINE_DEPLOYMENT_COUNT_CHECK

Trigger type: Configuration changes

Parameters:

deploymentLimit

The maximum number of deployments each stage can perform.

AWS CloudFormation template

To create AWS Config managed rules with AWS CloudFormation templates, see Creating AWS Config Managed Rules With AWS CloudFormation Templates.