Class: Humidifier::Lex::ResourcePolicy
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::Lex::ResourcePolicy resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#policy ⇒ Object
returns the Policy property.
-
#policy=(value) ⇒ Object
sets the Policy property (Structure).
-
#resource_arn ⇒ Object
returns the ResourceArn property.
-
#resource_arn=(value) ⇒ Object
sets the ResourceArn property (String).
Methods inherited from Resource
#initialize, #method_missing, prop?, #respond_to_missing?, #to_cf, #update, #update_attributes, #update_property
Constructor Details
This class inherits a constructor from Humidifier::Resource
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Humidifier::Resource
Instance Method Details
#policy ⇒ Object
returns the Policy property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def policy properties['policy'] end |
#policy=(value) ⇒ Object
sets the Policy property (Structure)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def policy=(value) update_property('policy', value) end |
#resource_arn ⇒ Object
returns the ResourceArn property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def resource_arn properties['resource_arn'] end |
#resource_arn=(value) ⇒ Object
sets the ResourceArn property (String)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def resource_arn=(value) update_property('resource_arn', value) end |