@Generated(value="jsii-pacmak/1.3.2 (build 237c474)", date="2020-04-22T03:19:29.799Z") @Stability(value=Stable) public class CfnParameter extends CfnElement
Use the optional Parameters section to customize your templates. Parameters enable you to input custom values to your template each time you create or update a stack.
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnParameter.Builder
A fluent builder for
CfnParameter. |
| Modifier | Constructor and Description |
|---|---|
|
CfnParameter(Construct scope,
String id)
Creates a parameter construct.
|
|
CfnParameter(Construct scope,
String id,
CfnParameterProps props)
Creates a parameter construct.
|
protected |
CfnParameter(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnParameter(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getNoEcho()
Indicates if this parameter is configured with "NoEcho" enabled.
|
IResolvable |
getValue()
The parameter value as a Token.
|
List<String> |
getValueAsList()
The parameter value, if it represents a string list.
|
Number |
getValueAsNumber()
The parameter value, if it represents a number.
|
String |
getValueAsString()
The parameter value, if it represents a string.
|
Object |
resolve(IResolveContext _context) |
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSetprotected CfnParameter(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnParameter(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnParameter(@NotNull
Construct scope,
@NotNull
String id,
@Nullable
CfnParameterProps props)
Note that the name (logical ID) of the parameter will derive from it's coname and location
within the stack. Therefore, it is recommended that parameters are defined at the stack level.
scope - The parent construct. This parameter is required.id - This parameter is required.props - The parameter properties.@Stability(value=Stable)
public CfnParameter(@NotNull
Construct scope,
@NotNull
String id)
Note that the name (logical ID) of the parameter will derive from it's coname and location
within the stack. Therefore, it is recommended that parameters are defined at the stack level.
scope - The parent construct. This parameter is required.id - This parameter is required.@Stability(value=Stable) @NotNull public Object resolve(@NotNull IResolveContext _context)
_context - This parameter is required.@Stability(value=Stable) @NotNull public Boolean getNoEcho()
@Stability(value=Stable) @NotNull public IResolvable getValue()
@Stability(value=Stable) @NotNull public List<String> getValueAsList()
@Stability(value=Stable) @NotNull public Number getValueAsNumber()
@Stability(value=Stable) @NotNull public String getValueAsString()
Copyright © 2020. All rights reserved.