Class: CfnDsl::ConditionDefinition

Inherits:
JSONable
  • Object
show all
Includes:
JSONSerialisableObject
Defined in:
lib/cfndsl/conditions.rb

Overview

Handles condition objects

Usage:

Condition :ConditionName, FnEquals(Ref(:ParameterName), 'helloworld')

Instance Method Summary collapse

Methods included from JSONSerialisableObject

#as_json, #to_json

Methods inherited from JSONable

#as_json, #declare, #external_parameters, external_parameters, #ref_children, #to_json

Methods included from Functions

#FnAnd, #FnBase64, #FnCidr, #FnEquals, #FnFindInMap, #FnFormat, #FnGetAZs, #FnGetAtt, #FnIf, #FnImportValue, #FnJoin, #FnNot, #FnOr, #FnSelect, #FnSplit, #FnSub, #Ref

Methods included from RefCheck

#build_references, #ref_children

Constructor Details

#initialize(value) ⇒ ConditionDefinition

Returns a new instance of ConditionDefinition.



13
14
15
# File 'lib/cfndsl/conditions.rb', line 13

def initialize(value)
  @value = value
end