AWS::CodePipeline::Pipeline Condition - Amazon CloudFormation
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).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::CodePipeline::Pipeline Condition

The condition for the stage. A condition is made up of the rules and the result for the condition. For more information about conditions, see Stage conditions and How do stage conditions work?.. For more information about rules, see the Amazon CodePipeline rule reference.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Result" : String, "Rules" : [ RuleDeclaration, ... ] }

YAML

Result: String Rules: - RuleDeclaration

Properties

Result

The action to be done when the condition is met. For example, rolling back an execution for a failure condition.

Required: No

Type: String

Allowed values: ROLLBACK | FAIL | RETRY | SKIP

Update requires: No interruption

Rules

The rules that make up the condition.

Required: No

Type: Array of RuleDeclaration

Minimum: 1

Maximum: 5

Update requires: No interruption