io.github.hsiehshujeng.cdk.emrserverless.quickdemo.EmrClusterTemplateStack Maven / Gradle / Ivy
package io.github.hsiehshujeng.cdk.emrserverless.quickdemo;
/**
* Creates a CloudFormation template which will be a Product under a Portfolio of AWS Service Catalog.
*
* This is for creating an EMR cluster via cluster template in the EMR Studio, created by the EmrServerless
construct, on the AWS Console.
*
* And you don't have control via the EmrServerless
construct by now. The documentation is for you to grasp the architecture of the EmrServerless
more easily.
*
* For detail, please refer to Create AWS CloudFormation templates for Amazon EMR Studio.
*
*
* const product = new servicecatalog.CloudFormationProduct(this, 'MyFirstProduct', {
* productName: 'EMR_6.6.0',
* owner: 'scott.hsieh',
* description: 'EMR cluster with 6.6.0 version',
* productVersions: [
* {
* productVersionName: 'v1',
* validateTemplate: true,
* cloudFormationTemplate: servicecatalog.CloudFormationTemplate.fromProductStack(new EmrClusterTemplateStack(this, 'EmrStudio')),
* },
* ],
* });
*
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.103.0 (build 3b9adc4)", date = "2024-08-28T01:02:02.017Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = io.github.hsiehshujeng.cdk.emrserverless.quickdemo.$Module.class, fqn = "cdk-emrserverless-with-delta-lake.EmrClusterTemplateStack")
public class EmrClusterTemplateStack extends software.amazon.awscdk.services.servicecatalog.ProductStack {
protected EmrClusterTemplateStack(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected EmrClusterTemplateStack(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
* @param scope This parameter is required.
* @param id This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public EmrClusterTemplateStack(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required") });
}
}