@Stability(value=Stable) public static final class ProductStackHistory.Builder extends Object implements software.amazon.jsii.Builder<ProductStackHistory>
ProductStackHistory.| Modifier and Type | Method and Description |
|---|---|
ProductStackHistory |
build() |
static ProductStackHistory.Builder |
create(software.constructs.Construct scope,
String id) |
ProductStackHistory.Builder |
currentVersionLocked(Boolean currentVersionLocked)
If this is set to true, the ProductStack will not be overwritten if a snapshot is found for the currentVersionName.
|
ProductStackHistory.Builder |
currentVersionName(String currentVersionName)
The current version name of the ProductStack.
|
ProductStackHistory.Builder |
description(String description)
The description of the product version.
|
ProductStackHistory.Builder |
directory(String directory)
The directory where template snapshots will be stored.
|
ProductStackHistory.Builder |
productStack(ProductStack productStack)
The ProductStack whose history will be retained as a snapshot.
|
ProductStackHistory.Builder |
validateTemplate(Boolean validateTemplate)
Whether the specified product template will be validated by CloudFormation.
|
@Stability(value=Stable) public static ProductStackHistory.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.ProductStackHistory.Builder.@Stability(value=Stable) public ProductStackHistory.Builder currentVersionLocked(Boolean currentVersionLocked)
currentVersionLocked - If this is set to true, the ProductStack will not be overwritten if a snapshot is found for the currentVersionName. This parameter is required.this@Stability(value=Stable) public ProductStackHistory.Builder currentVersionName(String currentVersionName)
currentVersionName - The current version name of the ProductStack. This parameter is required.this@Stability(value=Stable) public ProductStackHistory.Builder productStack(ProductStack productStack)
productStack - The ProductStack whose history will be retained as a snapshot. This parameter is required.this@Stability(value=Stable) public ProductStackHistory.Builder description(String description)
Default: - No description provided
description - The description of the product version. This parameter is required.this@Stability(value=Stable) public ProductStackHistory.Builder directory(String directory)
Default: 'product-stack-snapshots'
directory - The directory where template snapshots will be stored. This parameter is required.this@Stability(value=Stable) public ProductStackHistory.Builder validateTemplate(Boolean validateTemplate)
If turned off, an invalid template configuration can be stored.
Default: true
validateTemplate - Whether the specified product template will be validated by CloudFormation. This parameter is required.this@Stability(value=Stable) public ProductStackHistory build()
build in interface software.amazon.jsii.Builder<ProductStackHistory>Copyright © 2022. All rights reserved.