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
conditions | [R] | @return [Array] Returns an array of policy conditions. |
Adds a condition for the given key. For example:
policy.allow(...).where(:current_time).lte(Date.today + 1)
@return [OperatorBuilder]