@Stability(value=Stable) public static final class CfnParameter.Builder extends Object
CfnParameter.| Modifier and Type | Method and Description |
|---|---|
CfnParameter.Builder |
allowedPattern(String allowedPattern) |
CfnParameter.Builder |
allowedValues(List<String> allowedValues) |
CfnParameter |
build() |
CfnParameter.Builder |
constraintDescription(String constraintDescription) |
static CfnParameter.Builder |
create(Construct scope,
String id) |
CfnParameter.Builder |
defaultValue(Object defaultValue) |
CfnParameter.Builder |
description(String description) |
CfnParameter.Builder |
maxLength(Number maxLength) |
CfnParameter.Builder |
maxValue(Number maxValue) |
CfnParameter.Builder |
minLength(Number minLength) |
CfnParameter.Builder |
minValue(Number minValue) |
CfnParameter.Builder |
noEcho(Boolean noEcho) |
CfnParameter.Builder |
type(String type) |
@Stability(value=Stable) public static CfnParameter.Builder create(Construct scope, String id)
scope - The parent construct. This parameter is required.id - This parameter is required.CfnParameter.Builder.@Stability(value=Stable) public CfnParameter.Builder allowedPattern(String allowedPattern)
allowedPattern - A regular expression that represents the patterns to allow for String types. This parameter is required.this@Stability(value=Stable) public CfnParameter.Builder allowedValues(List<String> allowedValues)
allowedValues - An array containing the list of values allowed for the parameter. This parameter is required.this@Stability(value=Stable) public CfnParameter.Builder constraintDescription(String constraintDescription)
constraintDescription - A string that explains a constraint when the constraint is violated. 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:. This parameter is required.this@Stability(value=Stable) public CfnParameter.Builder defaultValue(Object defaultValue)
defaultValue - A value of the appropriate type for the template to use if no value is specified when a stack is created. This parameter is required.this@Stability(value=Stable) public CfnParameter.Builder description(String description)
description - A string of up to 4000 characters that describes the parameter. This parameter is required.this@Stability(value=Stable) public CfnParameter.Builder maxLength(Number maxLength)
maxLength - An integer value that determines the largest number of characters you want to allow for String types. This parameter is required.this@Stability(value=Stable) public CfnParameter.Builder maxValue(Number maxValue)
maxValue - A numeric value that determines the largest numeric value you want to allow for Number types. This parameter is required.this@Stability(value=Stable) public CfnParameter.Builder minLength(Number minLength)
minLength - An integer value that determines the smallest number of characters you want to allow for String types. This parameter is required.this@Stability(value=Stable) public CfnParameter.Builder minValue(Number minValue)
minValue - A numeric value that determines the smallest numeric value you want to allow for Number types. This parameter is required.this@Stability(value=Stable) public CfnParameter.Builder noEcho(Boolean noEcho)
noEcho - Whether to mask the parameter value when anyone makes a call that describes the stack. If you set the value to ``true``, the parameter value is masked with asterisks (``*****``). This parameter is required.this@Stability(value=Stable) public CfnParameter.Builder type(String type)
type - The data type for the parameter (DataType). This parameter is required.this@Stability(value=Stable) public CfnParameter build()
Copyright © 2019. All rights reserved.