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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codepipeline/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.

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 'gems/aws-sdk-codepipeline/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 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 1379

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