Interface StringParameterProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,ParameterOptions
- All Known Implementing Classes:
StringParameterProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:37.839Z")
@Stability(Stable)
public interface StringParameterProps
extends software.amazon.jsii.JsiiSerializable, ParameterOptions
Properties needed to create a String SSM parameter.
Example:
StringParameter.Builder.create(this, "Parameter") .allowedPattern(".*") .description("The value Foo") .parameterName("FooParameter") .stringValue("Foo") .tier(ParameterTier.ADVANCED) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forStringParameterProps
static final class
An implementation forStringParameterProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringParameterProps.Builder
builder()
default ParameterDataType
The data type of the parameter, such astext
oraws:ec2:image
.The value of the parameter.default ParameterType
getType()
The type of the string parameter.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.ssm.ParameterOptions
getAllowedPattern, getDescription, getParameterName, getSimpleName, getTier
-
Method Details
-
getStringValue
The value of the parameter.It may not reference another parameter and
{{}}
cannot be used in the value. -
getDataType
The data type of the parameter, such astext
oraws:ec2:image
.Default: ParameterDataType.TEXT
-
getType
The type of the string parameter.Default: ParameterType.STRING
-
builder
- Returns:
- a
StringParameterProps.Builder
ofStringParameterProps
-