Method: AWS::Policy::Statement#initialize
- Defined in:
- lib/aws/policy.rb
#initialize(opts = {}) {|_self| ... } ⇒ Statement
Constructs a new statement.
746 747 748 749 750 751 752 753 |
# File 'lib/aws/policy.rb', line 746 def initialize(opts = {}) self.sid = UUIDTools::UUID..to_s self.conditions = ConditionBlock.new (opts) yield(self) if block_given? end |