Class: Jets::Cfn::Resource

Inherits:
Base
  • Object
show all
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

Instance Method Summary collapse

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

#camelize

Methods included from Util::Logging

#log

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

#definitionObject (readonly)

Returns the value of attribute definition.



3
4
5
# File 'lib/jets/cfn/resource.rb', line 3

def definition
  @definition
end