particles-common-core
v0.3.7
Published
DEPRECATED in favor of particles-core
Downloads
18
Readme
DEPRECATED particles-common-core
** Deprecated **
Please use particles-core instead.
This project will remain for any particles that rely on it, but it will not be updated.
DEPRECATED Documentation
As stated above the project has been deprecated in favor of particles-core. For projects that still rely on particles-common-core refer to the documention is accurate as of the last release.
conditions
is_true
Will evalute to true if the related parameter is true
Parameters
paremeterLogicalId {String}
required LogicalId of the parameter
is_false
Will evalute to true if the related parameter is false
Parameters
paremeterLogicalId {String}
required LogicalId of the parameter
is_empty
Will evalute to true if the related parameter is an empty string
Parameters
paremeterLogicalId {String}
required LogicalId of the parameter
##helpers
propertyValue
Evaluates whether the property is an object or string and returns the correct template compatible syntax for each.
Parameters
value {string|object}
required The property value to evaluate and/or change.
parameters
base
value {string|object}
required String, Ref or Fn to output.description {string|object}
String, Ref or Fn to use for the description
parameters
base
A generic implementation of a parameter
Parameters
type {String}
required maps to Typedefault {String}
maps to DefaultnoEcho {Boolean}
maps to NoEchoallowedValues {Array}
maps to AllowedValuesallowedPattern {String}
maps to AllowedPatternmaxLength {String}
maps to MaxLengthminLength {String}
maps to MinLengthmaxValue {Int}
maps to MaxValueminValue {Int}
maps to MinValuedescription {String}
maps to DescriptionconstraintDescription {String}
maps to ConstraintDescription
cidr_range
Creates a parameter that accepts a valid CIDR as the value.
Parameters
default {String}
maps to DefaultnoEcho {Boolean}
maps to NoEchoallowedValues {Array}
maps to AllowedValuesallowedPattern {String}
maps to AllowedPatterndescription {String}
maps to Description
Defaults
description
"Valid CIDR Range. Format: x.x.x.x/x"
true_false
Creates a parameter that accepts either "true" or "false" as the value.
Parameters
default {String}
maps to DefaultnoEcho {Boolean}
maps to NoEchodescription {String}
maps to Description
partials
fn_get_att
Parameters
logicalId {String}
required logicalId to referenceattributeName {String}
required name of the attribute to reference
ref
Parameters
logicalId {String}
required logicalId to reference
sets
true_false
When used in a layout, will generate a parameter and condition for true/false values
Parameters
paremeterLogicalId
required LogicalId for the parameterconditionLogicalId
required LogicalId for the condition
Passed on to parameter
default {String}
maps to DefaultnoEcho {Boolean}
maps to NoEchodescription {String}
maps to Description
resources
base
A generic implementation of a resource
Parameters
type {String}
required maps to TypecreationPolicy {String}
maps to CreationPolicydeletionPolicy {String}
maps to DeletionPolicyupdatePolicy {String}
maps to UpdatePolicyproperties {String|Object}
maps to Propertiescondition {String}
maps to Conditionmetadata {String}
maps to MetadatadependsOn {Int}
maps to DependsOn