Class: CfnDsl::CreationPolicyDefinition
- Includes:
- JSONSerialisableObject
- Defined in:
- lib/cfndsl/creation_policy.rb
Overview
Handles creation policy objects for Resources
Usage
Resource("aaa") {
CreationPolicy('ResourceSignal', { 'Count' => 1, 'Timeout' => 'PT10M' })
}
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ CreationPolicyDefinition
constructor
A new instance of CreationPolicyDefinition.
Methods included from JSONSerialisableObject
Methods inherited from JSONable
#as_json, #declare, #incorrect_capitalization?, #method_missing, #ref_children, #titleize, #to_json
Methods included from Functions
#FnAnd, #FnBase64, #FnEquals, #FnFindInMap, #FnFormat, #FnGetAZs, #FnGetAtt, #FnIf, #FnJoin, #FnNot, #FnOr, #FnSelect, #Ref
Methods included from RefCheck
#build_references, #ref_children
Constructor Details
#initialize(value) ⇒ CreationPolicyDefinition
Returns a new instance of CreationPolicyDefinition.
15 16 17 |
# File 'lib/cfndsl/creation_policy.rb', line 15 def initialize(value) @value = value end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class CfnDsl::JSONable
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
13 14 15 |
# File 'lib/cfndsl/creation_policy.rb', line 13 def value @value end |