Commonly used template construction functions
Commonly used template construction functions
(condition value)
Make a template condition element
Make a template condition element
(encode template)
Encode a template into JSON for use by CloudFormation
Encode a template into JSON for use by CloudFormation
(find-in-map map-name top-level-key second-level-key)
Returns the value corresponding to keys in a two-level map that is declared in the Mappings section
Returns the value corresponding to keys in a two-level map that is declared in the Mappings section
(import-value value-name)
Import an exported value
Import an exported value
(join values)
(join delimiter values)
Join values at template application time with an optional delimiter. See Fn::Join.
Join values at template application time with an optional delimiter. See Fn::Join.
(mapping & {:as keymaps})
Make a template mapping element
Make a template mapping element
(output value & [description export-name])
Make a template output with the value and an optional description and export name
Make a template output with the value and an optional description and export name
(parameter &
{:keys [:crucible.parameters/type]
:or {type :crucible.parameters/string}
:as options})
Make a template parameter element
Make a template parameter element
(resource options)
Make a template resource element
Make a template resource element
(select index values)
Select a value from a list at template application time. See Fn::Select
Select a value from a list at template application time. See Fn::Select
(sub string-to-interpolate)
Interpolate values from a template string
Interpolate values from a template string
(template elements description)
(template description first-key first-val & {:as others})
Make a template structure with the given description and elements
Make a template structure with the given description and elements
(validate template)
Ensure the template is structurally valid, for example xref'd elements exist
Ensure the template is structurally valid, for example xref'd elements exist
(xref xref)
(xref xref att)
Cross-reference another template element, optionally specifying a resource attribute. Produces Ref and Fn::GetAtt.
Cross-reference another template element, optionally specifying a resource attribute. Produces Ref and Fn::GetAtt.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close