public class SsmSubstitutor
extends org.apache.commons.text.StrSubstitutor
| Constructor and Description |
|---|
SsmSubstitutor(com.amazonaws.services.simplesystemsmanagement.AWSSimpleSystemsManagement ssm,
boolean strict,
boolean substitutionInVariables,
String namespacePrefix)
Constructor
|
SsmSubstitutor(com.amazonaws.services.simplesystemsmanagement.AWSSimpleSystemsManagement ssm,
boolean strict,
String namespacePrefix) |
SsmSubstitutor(boolean strict) |
SsmSubstitutor(boolean strict,
String namespacePrefix) |
getEscapeChar, getValueDelimiterMatcher, getVariablePrefixMatcher, getVariableResolver, getVariableSuffixMatcher, isDisableSubstitutionInValues, isEnableSubstitutionInVariables, isPreserveEscapes, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replace, replaceIn, replaceIn, replaceIn, replaceIn, replaceIn, replaceIn, replaceSystemProperties, resolveVariable, setDisableSubstitutionInValues, setEnableSubstitutionInVariables, setEscapeChar, setPreserveEscapes, setValueDelimiter, setValueDelimiter, setValueDelimiterMatcher, setVariablePrefix, setVariablePrefix, setVariablePrefixMatcher, setVariableResolver, setVariableSuffix, setVariableSuffix, setVariableSuffixMatcher, substitutepublic SsmSubstitutor(boolean strict)
public SsmSubstitutor(boolean strict,
String namespacePrefix)
public SsmSubstitutor(@Nonnull com.amazonaws.services.simplesystemsmanagement.AWSSimpleSystemsManagement ssm, boolean strict, String namespacePrefix)
public SsmSubstitutor(@Nonnull com.amazonaws.services.simplesystemsmanagement.AWSSimpleSystemsManagement ssm, boolean strict, boolean substitutionInVariables, String namespacePrefix)
ssm - Amazon SSM clientstrict - true if looking up undefined environment variables
should throw a UndefinedEnvironmentVariableException,
false otherwise.substitutionInVariables - a flag whether substitution is done in variable names.namespacePrefix - A prefix to prepend to variable names when determining the parameter key.
Example: if this is set to "foobar/" and you look up the variable "buzz/bar", this SsmLookup will look up the value in a parameter named "foobar/buzz/bar".
This is mostly useful for re-using a variable name across multiple environments
EnvironmentVariableLookup.EnvironmentVariableLookup(boolean),
StrSubstitutor.setEnableSubstitutionInVariables(boolean)Copyright © 2018. All rights reserved.