@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.109Z") @Stability(value=Stable) public interface ProductStackHistoryProps extends software.amazon.jsii.JsiiSerializable
Example:
// Example automatically generated from non-compiling source. May contain errors.
import software.amazon.awscdk.services.s3.*;
import software.amazon.awscdk.*;
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()
If this is set to true, the ProductStack will not be overwritten if a snapshot is found for the currentVersionName.
|
String |
getCurrentVersionName()
The current version name of the ProductStack.
|
default String |
getDescription()
The description of the product version.
|
default String |
getDirectory()
The directory where template snapshots will be stored.
|
ProductStack |
getProductStack()
The ProductStack whose history will be retained as a snapshot.
|
default Boolean |
getValidateTemplate()
Whether the specified product template will be validated by CloudFormation.
|
@Stability(value=Stable) @NotNull Boolean getCurrentVersionLocked()
@Stability(value=Stable) @NotNull String getCurrentVersionName()
@Stability(value=Stable) @NotNull ProductStack getProductStack()
@Stability(value=Stable) @Nullable default String getDescription()
Default: - No description provided
@Stability(value=Stable) @Nullable default String getDirectory()
Default: 'product-stack-snapshots'
@Stability(value=Stable) @Nullable default Boolean getValidateTemplate()
If turned off, an invalid template configuration can be stored.
Default: true
@Stability(value=Stable) static ProductStackHistoryProps.Builder builder()
ProductStackHistoryProps.Builder of ProductStackHistoryPropsCopyright © 2022. All rights reserved.