@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:40.408Z") @Stability(value=Experimental) public interface CfnParameterProps extends software.amazon.jsii.JsiiSerializable
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.core.*;
Object default_;
CfnParameterProps cfnParameterProps = CfnParameterProps.builder()
.allowedPattern("allowedPattern")
.allowedValues(List.of("allowedValues"))
.constraintDescription("constraintDescription")
.default(default_)
.description("description")
.maxLength(123)
.maxValue(123)
.minLength(123)
.minValue(123)
.noEcho(false)
.type("type")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnParameterProps.Builder
A builder for
CfnParameterProps |
static class |
CfnParameterProps.Jsii$Proxy
An implementation for
CfnParameterProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnParameterProps.Builder |
builder() |
default String |
getAllowedPattern()
(experimental) A regular expression that represents the patterns to allow for String types.
|
default List<String> |
getAllowedValues()
(experimental) An array containing the list of values allowed for the parameter.
|
default String |
getConstraintDescription()
(experimental) A string that explains a constraint when the constraint is violated.
|
default Object |
getDefaultValue()
(experimental) A value of the appropriate type for the template to use if no value is specified when a stack is created.
|
default String |
getDescription()
(experimental) A string of up to 4000 characters that describes the parameter.
|
default Number |
getMaxLength()
(experimental) An integer value that determines the largest number of characters you want to allow for String types.
|
default Number |
getMaxValue()
(experimental) A numeric value that determines the largest numeric value you want to allow for Number types.
|
default Number |
getMinLength()
(experimental) An integer value that determines the smallest number of characters you want to allow for String types.
|
default Number |
getMinValue()
(experimental) A numeric value that determines the smallest numeric value you want to allow for Number types.
|
default Boolean |
getNoEcho()
(experimental) Whether to mask the parameter value when anyone makes a call that describes the stack.
|
default String |
getType()
(experimental) The data type for the parameter (DataType).
|
@Stability(value=Experimental) @Nullable default String getAllowedPattern()
Default: - No constraints on patterns allowed for parameter.
@Stability(value=Experimental) @Nullable default List<String> getAllowedValues()
Default: - No constraints on values allowed for parameter.
@Stability(value=Experimental) @Nullable default String getConstraintDescription()
For example, without a constraint description, a parameter that has an allowed pattern of [A-Za-z0-9]+ displays the following error message when the user specifies an invalid value:
Default: - No description with customized error message when user specifies invalid values.
@Stability(value=Experimental) @Nullable default Object getDefaultValue()
If you define constraints for the parameter, you must specify a value that adheres to those constraints.
Default: - No default value for parameter.
@Stability(value=Experimental) @Nullable default String getDescription()
Default: - No description for the parameter.
@Stability(value=Experimental) @Nullable default Number getMaxLength()
Default: - None.
@Stability(value=Experimental) @Nullable default Number getMaxValue()
Default: - None.
@Stability(value=Experimental) @Nullable default Number getMinLength()
Default: - None.
@Stability(value=Experimental) @Nullable default Number getMinValue()
Default: - None.
@Stability(value=Experimental) @Nullable default Boolean getNoEcho()
If you set the value to true, the parameter value is masked with asterisks (*****).
Default: - Parameter values are not masked.
@Stability(value=Experimental) @Nullable default String getType()
Default: String
@Stability(value=Experimental) static CfnParameterProps.Builder builder()
CfnParameterProps.Builder of CfnParameterPropsCopyright © 2022. All rights reserved.