@Generated(value="jsii-pacmak/0.21.2 (build 4370756)", date="2020-01-23T18:16:35.492Z") @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, prepare, synthesize, toString, validatejsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSetprotected CfnParameter(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnParameter(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) public CfnParameter(Construct scope, String id, 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(Construct scope, 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) public Object resolve(IResolveContext _context)
_context - This parameter is required.@Stability(value=Stable) public Boolean getNoEcho()
@Stability(value=Stable) public IResolvable getValue()
@Stability(value=Stable) public List<String> getValueAsList()
@Stability(value=Stable) public Number getValueAsNumber()
@Stability(value=Stable) public String getValueAsString()
Copyright © 2020. All rights reserved.