Interface AwsCloudFormationStackProperties

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

@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)", date="2026-02-09T14:39:21.379Z") @Stability(Deprecated) @Deprecated public interface AwsCloudFormationStackProperties extends software.amazon.jsii.JsiiSerializable
Deprecated.
The definition of this type has moved to @aws-cdk/cloud-assembly-api.
(deprecated) 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(Deprecated) @Deprecated @NotNull String getTemplateFile()
      Deprecated.
      (deprecated) A file relative to the assembly root which contains the CloudFormation template for this stack.
    • getParameters

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

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

      Default: - name derived from artifact ID

    • getTerminationProtection

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

      Default: false

    • builder

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