Class: Aws::CodePipeline::Types::Condition

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codepipeline/types.rb

Overview

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]. For more information about rules, see the [CodePipeline rule reference].

[1]: docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html [2]: docs.aws.amazon.com/codepipeline/latest/userguide/rule-reference.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resultString

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

Returns:

  • (String)


1379
1380
1381
1382
1383
1384
# File 'lib/aws-sdk-codepipeline/types.rb', line 1379

class Condition < Struct.new(
  :result,
  :rules)
  SENSITIVE = []
  include Aws::Structure
end

#rulesArray<Types::RuleDeclaration>

The rules that make up the condition.

Returns:



1379
1380
1381
1382
1383
1384
# File 'lib/aws-sdk-codepipeline/types.rb', line 1379

class Condition < Struct.new(
  :result,
  :rules)
  SENSITIVE = []
  include Aws::Structure
end