AWS::CodePipeline::Pipeline Condition - AWS CloudFormation

AWS::CodePipeline::Pipeline Condition

The condition for the stage. A condition is made up of the rules and the result for the condition.

Syntax

To declare this entity in your AWS 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

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