io.github.hsiehshujeng.cdk.emrserverless.quickdemo.EmrClusterTemplateStack Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cdk-emrserverless-quickdemo-with-delta-lake Show documentation
Show all versions of cdk-emrserverless-quickdemo-with-delta-lake Show documentation
A construct for the quick demo of EMR Serverless.
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.105.0 (build 0a2adcb)", date = "2024-12-02T01:11:38.390Z")
@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") });
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy