@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:47:14.055Z") @Stability(value=Experimental) public interface ProductStackHistoryProps extends software.amazon.jsii.JsiiSerializable
Example:
import software.amazon.awscdk.core.*;
import software.amazon.awscdk.core.*;
public class S3BucketProduct extends ProductStack {
public S3BucketProduct(Construct scope, String id) {
super(scope, id);
new Bucket(this, "BucketProductV2");
}
}
ProductStackHistory productStackHistory = ProductStackHistory.Builder.create(this, "ProductStackHistory")
.productStack(new S3BucketProduct(this, "S3BucketProduct"))
.currentVersionName("v2")
.currentVersionLocked(true)
.build();
CloudFormationProduct product = CloudFormationProduct.Builder.create(this, "MyFirstProduct")
.productName("My Product")
.owner("Product Owner")
.productVersions(List.of(productStackHistory.currentVersion()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
ProductStackHistoryProps.Builder
A builder for
ProductStackHistoryProps |
static class |
ProductStackHistoryProps.Jsii$Proxy
An implementation for
ProductStackHistoryProps |
| Modifier and Type | Method and Description |
|---|---|
static ProductStackHistoryProps.Builder |
builder() |
Boolean |
getCurrentVersionLocked()
(experimental) If this is set to true, the ProductStack will not be overwritten if a snapshot is found for the currentVersionName.
|
String |
getCurrentVersionName()
(experimental) The current version name of the ProductStack.
|
default String |
getDescription()
(experimental) The description of the product version.
|
default String |
getDirectory()
(experimental) The directory where template snapshots will be stored.
|
ProductStack |
getProductStack()
(experimental) The ProductStack whose history will be retained as a snapshot.
|
default Boolean |
getValidateTemplate()
(experimental) Whether the specified product template will be validated by CloudFormation.
|
@Stability(value=Experimental) @NotNull Boolean getCurrentVersionLocked()
@Stability(value=Experimental) @NotNull String getCurrentVersionName()
@Stability(value=Experimental) @NotNull ProductStack getProductStack()
@Stability(value=Experimental) @Nullable default String getDescription()
Default: - No description provided
@Stability(value=Experimental) @Nullable default String getDirectory()
Default: 'product-stack-snapshots'
@Stability(value=Experimental) @Nullable default Boolean getValidateTemplate()
If turned off, an invalid template configuration can be stored.
Default: true
@Stability(value=Experimental) static ProductStackHistoryProps.Builder builder()
ProductStackHistoryProps.Builder of ProductStackHistoryPropsCopyright © 2022. All rights reserved.