@Stability(value=Stable) public static final class StringParameterProps.Builder extends Object implements software.amazon.jsii.Builder<StringParameterProps>
StringParameterProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public StringParameterProps.Builder stringValue(String stringValue)
StringParameterProps.getStringValue()stringValue - The value of the parameter. This parameter is required.
It may not reference another parameter and {{}} cannot be used in the value.this@Stability(value=Stable) public StringParameterProps.Builder dataType(ParameterDataType dataType)
StringParameterProps.getDataType()dataType - The data type of the parameter, such as `text` or `aws:ec2:image`.this@Stability(value=Deprecated) @Deprecated public StringParameterProps.Builder type(ParameterType type)
StringParameterProps.getType()type - The type of the string parameter.this@Stability(value=Stable) public StringParameterProps.Builder allowedPattern(String allowedPattern)
ParameterOptions.getAllowedPattern()allowedPattern - A regular expression used to validate the parameter value.
For example, for String types with values restricted to
numbers, you can specify the following: ^\d+$this@Stability(value=Stable) public StringParameterProps.Builder description(String description)
ParameterOptions.getDescription()description - Information about the parameter that you want to add to the system.this@Stability(value=Stable) public StringParameterProps.Builder parameterName(String parameterName)
ParameterOptions.getParameterName()parameterName - The name of the parameter.this@Stability(value=Stable) public StringParameterProps.Builder simpleName(Boolean simpleName)
ParameterOptions.getSimpleName()simpleName - Indicates of the parameter name is a simple name (i.e. does not include "/" separators).
This is only required only if parameterName is a token, which means we
are unable to detect if the name is simple or "path-like" for the purpose
of rendering SSM parameter ARNs.
If parameterName is not specified, simpleName must be true (or
undefined) since the name generated by AWS CloudFormation is always a
simple name.
this@Stability(value=Stable) public StringParameterProps.Builder tier(ParameterTier tier)
ParameterOptions.getTier()tier - The tier of the string parameter.this@Stability(value=Stable) public StringParameterProps build()
build in interface software.amazon.jsii.Builder<StringParameterProps>StringParameterPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.