Method: CfnDsl::Functions#FnAnd

Defined in:
lib/cfndsl/jsonable.rb

#FnAnd(array) ⇒ Object

Equivalent to the CloudFormation template built in function Fn::And



47
48
49
50
51
# File 'lib/cfndsl/jsonable.rb', line 47

def FnAnd(array)
  raise 'The array passed to Fn::And must have at least 2 elements and no more than 10' if !array || array.count < 2 || array.count > 10

  Fn.new('And', array)
end