Class AWS::Policy::ConditionBuilder
In: lib/aws/policy.rb
Parent: Object

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

Methods

new   where  

Attributes

conditions  [R]  @return [Array] Returns an array of policy conditions.

Public Class methods

Public Instance methods

Adds a condition for the given key. For example:

  policy.allow(...).where(:current_time).lte(Date.today + 1)

@return [OperatorBuilder]

[Validate]