Quotas in Amazon CodePipeline - Amazon CodePipeline
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Quotas in Amazon CodePipeline

CodePipeline has quotas for the number of pipelines, stages, actions, and webhooks that an Amazon account can have in each Amazon Region. These quotas apply per Region and can be increased. To request an increase, use the Support Center console.

It can take up to two weeks to process requests for a quota increase.

Resource Default

Length of time before an action times out

Amazon CloudFormation deployment action: 3 days

CodeBuild build action and test action: 8 hours

CodeDeploy and CodeDeploy ECS (blue/green) deployment actions: 5 days

Amazon Lambda invoke action: 24 hours

Note

While the action is running, CodePipeline periodically contacts Lambda for a status. The Lambda function replies with a status where the action execution is either successful, failed, or in progress. If the Lambda function has sent no reply after 20 minutes, the action times out. If, during the 20 minutes, the Lambda function has replied that the action is still in progress, CodePipeline restarts the 20-minute timer and tries again. If not successful after 24 hours, CodePipeline sets the Lambda invoke action state to failed.

Lambda has a separate timeout for Lambda functions that is not related to the CodePipeline action timeout.

Amazon S3 deployment action: 90 minutes

Note

If the upload to S3 times out during deployment of a large ZIP file, the action fails with a timeout error. Try breaking up the ZIP file into smaller files.

Step Functions invoke action: 7 days

Custom actions: 24 hours

All other actions: 1 hour

Note

The Amazon ECS deployment action timeout is configurable up to one hour (the default timeout).

Maximum number of total pipelines per Region in an Amazon account

1000

Note

Pipelines configured for either polling or event-based change detection are counted toward this quota.

Maximum number of pipelines set to polling for source changes, per Amazon Region

300

Note

This quota is fixed and cannot be changed. If you reach the limit for polling pipelines, you can still configure additional pipelines that use event-based change detection. For more information, see Source actions and change detection methods.1

Maximum number of webhooks per Region in an Amazon account 300

Number of custom actions per Region in an Amazon account

50

1Based on your source provider, use the following instructions to update your polling pipelines to use event-based change detection:

The following quotas in Amazon CodePipeline apply to Region availability, naming constraints, and allowed artifact sizes. These quotas are fixed and cannot be changed.

For a list of the CodePipeline service endpoints for each Region, see Amazon CodePipeline endpoints and quotas in the Amazon General Reference.

For information about structural requirements, see CodePipeline pipeline structure reference.

Amazon Regions where you can create a pipeline

US East (Ohio)

US East (N. Virginia)

US West (N. California)

US West (Oregon)

Canada (Central)

Europe (Frankfurt)

Europe (Ireland)

Europe (London)

Europe (Milan)*

Europe (Paris)

Europe (Stockholm)

Asia Pacific (Hong Kong)*

Asia Pacific (Mumbai)

Asia Pacific (Tokyo)

Asia Pacific (Seoul)

Asia Pacific (Singapore)

Asia Pacific (Sydney)

South America (São Paulo)

Amazon GovCloud (US-West)

Characters allowed in an action name

Action names cannot exceed 100 characters. Allowed characters include:

Lowercase letters a through z, inclusive.

Uppercase letters A through Z, inclusive.

Numbers 0 through 9, inclusive.

Special characters . (period), @ (at sign), - (minus sign), and _ (underscore).

Any other characters, such as spaces, are not allowed.

Characters allowed in action types

Action type names cannot exceed 25 characters. Allowed characters include:

Lowercase letters a through z, inclusive.

Uppercase letters A through Z, inclusive.

Numbers 0 through 9, inclusive.

Special characters . (period), @ (at sign), - (minus sign), and _ (underscore).

Any other characters, such as spaces, are not allowed.

Characters allowed in artifact names

Artifact names cannot exceed 100 characters. Allowed characters include:

Lowercase letters a through z, inclusive.

Uppercase letters A through Z, inclusive.

Numbers 0 through 9, inclusive.

Special characters - (minus sign), and _ (underscore).

Any other characters, such as spaces, are not allowed.

Characters allowed in partner action names Partner action names must follow the same naming conventions and restrictions as other action names in CodePipeline. Specifically, they cannot exceed 100 characters. Allowed characters include:

Lowercase letters a through z, inclusive.

Uppercase letters A through Z, inclusive.

Numbers 0 through 9, inclusive.

Special characters . (period), @ (at sign), - (minus sign), and _ (underscore).

Any other characters, such as spaces, are not allowed.

Characters allowed in a pipeline name

Pipeline names cannot exceed 100 characters. Allowed characters include:

Lowercase letters a through z, inclusive.

Uppercase letters A through Z, inclusive.

Numbers 0 through 9, inclusive.

Special characters . (period), @ (at sign),- (minus sign), and _ (underscore).

Any other characters, such as spaces, are not allowed.

Characters allowed in a stage name

Stage names cannot exceed 100 characters. Allowed characters include:

Lowercase letters a through z, inclusive.

Uppercase letters A through Z, inclusive.

Numbers 0 through 9, inclusive.

Special characters . (period), @ (at sign), - (minus sign), and _ (underscore).

Any other characters, such as spaces, are not allowed.

Length of time before a manual approval action times out

7 days

Maximum length of the action configuration key (for example, the CodeBuild configuration keys are ProjectName, PrimarySource, and EnvironmentVariables)

50 characters

Maximum length of the action configuration value (for example, the value of the RepositoryName configuration in the CodeCommit action configuration should be less than 1000 characters:

"RepositoryName": "my-repo-name-less-than-1000-characters")

1000 characters
Maximum number of actions per pipeline 500
Maximum number of files for an Amazon S3 object 100,000
Maximum number of months that pipeline execution history information is retained 12
Maximum number of parallel actions in a stage 50
Maximum number of sequential actions in a stage 50
Maximum size of artifacts in a source stage

Artifacts stored in Amazon S3 buckets: 7 GB

Artifacts stored in CodeCommit or GitHub repositories: 1 GB

Exception: If you are using Amazon Elastic Beanstalk to deploy applications, the maximum artifact size is always 512 MB.

Exception: If you are using Amazon CloudFormation to deploy applications, the maximum artifact size is always 256 MB.

Exception: If you are using the CodeDeployToECS action to deploy applications, the maximum artifact size is always 3 MB.

Maximum size of the image definitions JSON file used in pipelines deploying Amazon ECS containers and images

100 KB
Maximum size of input artifacts for Amazon CloudFormation actions 256 MB
Maximum size of input artifacts for the CodeDeployToECS action 3 MB

Maximum size of the JSON object that can be stored in the ParameterOverrides property

For a CodePipeline deploy action with Amazon CloudFormation as the provider, the ParameterOverrides property is used to store a JSON object that specifies values for the Amazon CloudFormation template configuration file. There is a maximum size limit of 1 kilobyte for the JSON object that can be stored in the ParameterOverrides property.

Number of actions in a stage

Minimum of 1, maximum of 50

Number of artifacts allowed for each action For the number of input and output artifacts allowed for each action, see the Number of input and output artifacts for each action type

Number of stages in a pipeline

Minimum of 2, maximum of 50

Pipeline tags Tags are case sensitive. Maximum of 50 per resource.
Pipeline tag key names

Any combination of Unicode letters, numbers, spaces, and allowed characters in UTF-8 between 1 and 128 characters in length. Allowed characters are + - = . _ : / @

Tag key names must be unique, and each key can have only one value. A tag cannot:

  • begin with aws:

  • consist only of spaces

  • end with a space

  • contain emojis or any of the following characters: ? ^ * [ \ ~ ! # $ % & * ( ) > < | " '

Pipeline tag values

Any combination of Unicode letters, numbers, spaces, and allowed characters in UTF-8 between 1 and 256 characters in length. Allowed characters are + - = . _ : / @

A key can have only one value, but many keys can have the same value. A tag cannot:

  • begin with aws:

  • consist only of spaces

  • end with a space

  • contain emojis or any of the following characters: ? ^ * [ \ ~ ! # $ % & * ( ) > < | " '

Uniqueness of names

Within a single Amazon account, each pipeline you create in an Amazon Region must have a unique name. You can reuse names for pipelines in different Amazon Regions.

Stage names must be unique within a pipeline.

Action names must be unique within a stage.

Variable quotas

There is a maximum size limit of 122880 bytes for all output variables combined for a particular action.

There is a maximum size limit of 100 KB for the total resolved action configuration for a particular action.

Output variable names are case sensitive.

Namespaces are case sensitive.

Allowed characters include:

  • Lowercase letters a through z, inclusive.

  • Uppercase letters A through Z, inclusive.

  • Numbers 0 through 9, inclusive.

  • Special characters ^ (caret), @ (at sign), - (minus sign), _ (underscore), [ (left bracket), ] (right bracket), * (asterisk), $ (dollar sign).

    Any other characters, such as spaces, are not allowed.

* You must enable this Region before you can use it.