Interface ParameterOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
StringListParameterProps
,StringParameterProps
- All Known Implementing Classes:
ParameterOptions.Jsii$Proxy
,StringListParameterProps.Jsii$Proxy
,StringParameterProps.Jsii$Proxy
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forParameterOptions
static final class
An implementation forParameterOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic ParameterOptions.Builder
builder()
default String
A regular expression used to validate the parameter value.default String
Information about the parameter that you want to add to the system.default String
The name of the parameter.default Boolean
Indicates whether the parameter name is a simple name.default ParameterTier
getTier()
The tier of the string parameter.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAllowedPattern
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+$
Default: no validation is performed
-
getDescription
Information about the parameter that you want to add to the system.Default: none
-
getParameterName
The name of the parameter.Default: - a name will be generated by CloudFormation
-
getSimpleName
Indicates whether the parameter name is a simple name.A parameter name without any "/" is considered a simple name. If the parameter name includes "/", setting simpleName to true might cause unintended issues such as duplicate "/" in the resulting ARN.
This is 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 betrue
(or undefined) since the name generated by AWS CloudFormation is always a simple name.Default: - auto-detect based on `parameterName`
-
getTier
The tier of the string parameter.Default: - undefined
-
builder
- Returns:
- a
ParameterOptions.Builder
ofParameterOptions
-