@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:39.802Z") @Stability(value=Stable) public interface ParameterOptions extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ssm.*;
ParameterOptions parameterOptions = ParameterOptions.builder()
.allowedPattern("allowedPattern")
.description("description")
.parameterName("parameterName")
.simpleName(false)
.tier(ParameterTier.ADVANCED)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
ParameterOptions.Builder
A builder for
ParameterOptions |
static class |
ParameterOptions.Jsii$Proxy
An implementation for
ParameterOptions |
| Modifier and Type | Method and Description |
|---|---|
static ParameterOptions.Builder |
builder() |
default String |
getAllowedPattern()
A regular expression used to validate the parameter value.
|
default String |
getDescription()
Information about the parameter that you want to add to the system.
|
default String |
getParameterName()
The name of the parameter.
|
default Boolean |
getSimpleName()
Indicates of the parameter name is a simple name (i.e.
|
default ParameterTier |
getTier()
The tier of the string parameter.
|
@Stability(value=Stable) @Nullable default String getAllowedPattern()
For example, for String types with values restricted to
numbers, you can specify the following: ^\d+$
Default: no validation is performed
@Stability(value=Stable) @Nullable default String getDescription()
Default: none
@Stability(value=Stable) @Nullable default String getParameterName()
Default: - a name will be generated by CloudFormation
@Stability(value=Stable) @Nullable default Boolean getSimpleName()
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.
Default: - auto-detect based on `parameterName`
@Stability(value=Stable) @Nullable default ParameterTier getTier()
Default: - undefined
@Stability(value=Stable) static ParameterOptions.Builder builder()
ParameterOptions.Builder of ParameterOptionsCopyright © 2022. All rights reserved.