Interface AwsCloudFormationStackProperties

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
AwsCloudFormationStackProperties.Jsii$Proxy

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-25T14:21:25.305Z") @Stability(Stable) public interface AwsCloudFormationStackProperties extends software.amazon.jsii.JsiiSerializable
Artifact properties for CloudFormation stacks.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cxapi.*;
 AwsCloudFormationStackProperties awsCloudFormationStackProperties = AwsCloudFormationStackProperties.builder()
         .templateFile("templateFile")
         // the properties below are optional
         .parameters(Map.of(
                 "parametersKey", "parameters"))
         .stackName("stackName")
         .terminationProtection(false)
         .build();
 
  • Method Details

    • getTemplateFile

      @Stability(Stable) @NotNull String getTemplateFile()
      A file relative to the assembly root which contains the CloudFormation template for this stack.
    • getParameters

      @Stability(Stable) @Nullable default Map<String,String> getParameters()
      Values for CloudFormation stack parameters that should be passed when the stack is deployed.
    • getStackName

      @Stability(Stable) @Nullable default String getStackName()
      The name to use for the CloudFormation stack.

      Default: - name derived from artifact ID

    • getTerminationProtection

      @Stability(Stable) @Nullable default Boolean getTerminationProtection()
      Whether to enable termination protection for this stack.

      Default: false

    • builder

      @Stability(Stable) static AwsCloudFormationStackProperties.Builder builder()
      Returns:
      a AwsCloudFormationStackProperties.Builder of AwsCloudFormationStackProperties