class ActiveAws::CloudFormation::Template::DSL
Where the magic inside a Template.new
{} block happens
Attributes
template[RW]
Public Class Methods
new(t)
click to toggle source
Calls superclass method
# File lib/active_aws/cloud_formation/template.rb, line 57 def initialize(t) super(template = t) end
Public Instance Methods
description(description)
click to toggle source
# File lib/active_aws/cloud_formation/template.rb, line 60 def description(description) self.description = description end
mapping(*args)
click to toggle source
# File lib/active_aws/cloud_formation/template.rb, line 66 def mapping(*args) mappings.map(*args) end
parameter(name, type, options = {})
click to toggle source
# File lib/active_aws/cloud_formation/template.rb, line 63 def parameter(name, type, options = {}) parameters.add(name, type, options) end