class AWS::Core::Policy::ConditionBuilder

@see Policy#deny
@see Policy#allow
Convenient syntax for adding conditions to a statement.

def initialize(conditions)

Other tags:
    Api: - private
def initialize(conditions)
  @conditions = conditions
end

def where(key, operator = nil, *values)

Returns:
  • (OperatorBuilder) -
def where(key, operator = nil, *values)
  if operator
    @conditions.add(operator, key, *values)
    self
  else
    OperatorBuilder.new(self, key)
  end
end