@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.568Z") @Stability(value=Stable) public abstract class StackSetParameters extends software.amazon.jsii.JsiiObject
Example:
// Example automatically generated from non-compiling source. May contain errors.
StackSetParameters parameters = StackSetParameters.fromLiteral(Map.of(
"BucketName", "my-bucket",
"Asset1", "true"));
| Modifier | Constructor and Description |
|---|---|
protected |
StackSetParameters() |
protected |
StackSetParameters(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
StackSetParameters(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static StackSetParameters |
fromArtifactPath(ArtifactPath artifactPath)
Read the parameters from a JSON file from one of the pipeline's artifacts.
|
static StackSetParameters |
fromLiteral(Map<String,String> parameters)
A list of template parameters for your stack set.
|
static StackSetParameters |
fromLiteral(Map<String,String> parameters,
List<String> usePreviousValues)
A list of template parameters for your stack set.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected StackSetParameters(software.amazon.jsii.JsiiObjectRef objRef)
protected StackSetParameters(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) protected StackSetParameters()
@Stability(value=Stable) @NotNull public static StackSetParameters fromArtifactPath(@NotNull ArtifactPath artifactPath)
The file needs to contain a list of { ParameterKey, ParameterValue, UsePreviousValue } objects, like
this:
[
{
"ParameterKey": "BucketName",
"ParameterValue": "my-bucket"
},
{
"ParameterKey": "Asset1",
"ParameterValue": "true"
},
{
"ParameterKey": "Asset2",
"UsePreviousValue": true
}
]
You must specify all template parameters. Parameters you don't specify will revert
to their Default values as specified in the template.
For of parameters you want to retain their existing values
without specifying what those values are, set UsePreviousValue: true.
Use of this feature is discouraged. CDK is for
specifying desired-state infrastructure, and use of this feature makes the
parameter values unmanaged.
artifactPath - This parameter is required.@Stability(value=Stable) @NotNull public static StackSetParameters fromLiteral(@NotNull Map<String,String> parameters, @Nullable List<String> usePreviousValues)
You must specify all template parameters. Parameters you don't specify will revert
to their Default values as specified in the template.
Specify the names of parameters you want to retain their existing values, without specifying what those values are, in an array in the second argument to this function. Use of this feature is discouraged. CDK is for specifying desired-state infrastructure, and use of this feature makes the parameter values unmanaged.
Example:
// Example automatically generated from non-compiling source. May contain errors.
StackSetParameters parameters = StackSetParameters.fromLiteral(Map.of(
"BucketName", "my-bucket",
"Asset1", "true"));
parameters - This parameter is required.usePreviousValues - @Stability(value=Stable) @NotNull public static StackSetParameters fromLiteral(@NotNull Map<String,String> parameters)
You must specify all template parameters. Parameters you don't specify will revert
to their Default values as specified in the template.
Specify the names of parameters you want to retain their existing values, without specifying what those values are, in an array in the second argument to this function. Use of this feature is discouraged. CDK is for specifying desired-state infrastructure, and use of this feature makes the parameter values unmanaged.
Example:
// Example automatically generated from non-compiling source. May contain errors.
StackSetParameters parameters = StackSetParameters.fromLiteral(Map.of(
"BucketName", "my-bucket",
"Asset1", "true"));
parameters - This parameter is required.Copyright © 2022. All rights reserved.