Class: Jets::Cfn::Resource
- Defined in:
- lib/jets/cfn/resource/associated.rb,
lib/jets/cfn/resource.rb,
lib/jets/cfn/resource/replacer.rb,
lib/jets/cfn/resource/standardizer.rb,
lib/jets/cfn/resource/associated_outputs.rb
Overview
Does not do full expansion, mainly a container that holds the definition and standardizes it without camelizing it.
Defined Under Namespace
Modules: Codebuild, S3 Classes: Associated, AssociatedOutputs, Replacer, Standardizer
Instance Attribute Summary collapse
-
#definition ⇒ Object
readonly
Returns the value of attribute definition.
Instance Method Summary collapse
-
#initialize(definition, replacements) ⇒ Resource
constructor
A new instance of Resource.
Methods inherited from Base
#attributes, #config, #logical_id, #normalize_tags, #outputs, #parameters, #properties, #replacements, #replacer, #standarize, #template, truncate_id, #type
Methods included from Util::Camelize
Methods included from Util::Logging
Constructor Details
#initialize(definition, replacements) ⇒ Resource
Returns a new instance of Resource.
4 5 6 |
# File 'lib/jets/cfn/resource.rb', line 4 def initialize(definition, replacements) @definition, @replacements = definition, replacements end |
Instance Attribute Details
#definition ⇒ Object (readonly)
Returns the value of attribute definition.
3 4 5 |
# File 'lib/jets/cfn/resource.rb', line 3 def definition @definition end |