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.

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)


1358
1359
1360
1361
1362
1363
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 1358

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

#rulesArray<Types::RuleDeclaration>

The rules that make up the condition.

Returns:



1358
1359
1360
1361
1362
1363
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 1358

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