Class CloudFormationProduct

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IConstruct, IDependable, IResource, IProduct, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.783Z") @Stability(Stable) public class CloudFormationProduct extends Product
A Service Catalog Cloudformation Product.

Example:

 import software.amazon.awscdk.services.s3.*;
 import software.amazon.awscdk.core.*;
 public class S3BucketProduct extends ProductStack {
     public S3BucketProduct(Construct scope, String id) {
         super(scope, id);
         new Bucket(this, "BucketProduct");
     }
 }
 CloudFormationProduct product = CloudFormationProduct.Builder.create(this, "Product")
         .productName("My Product")
         .owner("Product Owner")
         .productVersions(List.of(CloudFormationProductVersion.builder()
                 .productVersionName("v1")
                 .cloudFormationTemplate(CloudFormationTemplate.fromProductStack(new S3BucketProduct(this, "S3BucketProduct")))
                 .build()))
         .build();
 
  • Constructor Details

    • CloudFormationProduct

      protected CloudFormationProduct(software.amazon.jsii.JsiiObjectRef objRef)
    • CloudFormationProduct

      protected CloudFormationProduct(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CloudFormationProduct

      @Stability(Stable) public CloudFormationProduct(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CloudFormationProductProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details