Class CfnNotebookExecution
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.emr.CfnNotebookExecution
- All Implemented Interfaces:
IInspectable,INotebookExecutionRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-08-10T14:51:03.718Z")
@Stability(Stable)
public class CfnNotebookExecution
extends CfnResource
implements IInspectable, INotebookExecutionRef, ITaggableV2
An Amazon EMR Notebook execution.
A notebook execution is a specific instance that an Amazon EMR Notebook is run using the StartNotebookExecution action.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.emr.*;
CfnNotebookExecution cfnNotebookExecution = CfnNotebookExecution.Builder.create(this, "MyCfnNotebookExecution")
.environmentVariables(Map.of(
"environmentVariablesKey", "environmentVariables"))
.executionEngine(ExecutionEngineConfigProperty.builder()
.id("id")
// the properties below are optional
.type("type")
.build())
.notebookExecutionName("notebookExecutionName")
.notebookParams("notebookParams")
.notebookS3Location(NotebookS3LocationProperty.builder()
.bucket("bucket")
.key("key")
.build())
.outputNotebookFormat("outputNotebookFormat")
.outputNotebookS3Location(OutputNotebookS3LocationProperty.builder()
.bucket("bucket")
.key("key")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnNotebookExecution.static interfaceSpecifies the execution engine (cluster) to run the notebook and perform the notebook execution.static interfaceThe Amazon S3 location that stores the notebook execution input.static interfaceThe Amazon S3 location for the notebook execution output.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.emr.INotebookExecutionRef
INotebookExecutionRef.Jsii$Default, INotebookExecutionRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnNotebookExecution(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnNotebookExecution(software.amazon.jsii.JsiiObjectRef objRef) CfnNotebookExecution(software.constructs.Construct scope, String id) Create a newAWS::EMR::NotebookExecution.CfnNotebookExecution(software.constructs.Construct scope, String id, CfnNotebookExecutionProps props) Create a newAWS::EMR::NotebookExecution. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForNotebookExecution(INotebookExecutionRef resource) The Amazon Resource Name (ARN) of the notebook execution.The unique identifier of the notebook execution.The timestamp when notebook execution started.The status of the notebook execution.Tag Manager which manages the tags for this resource.The environment variables associated with the notebook execution.Specifies the execution engine (cluster) to run the notebook and perform the notebook execution.An optional name for the notebook execution.A reference to a NotebookExecution resource.Input parameters in JSON format passed to the Amazon EMR Notebook at runtime for execution.The Amazon S3 location that stores the notebook execution input.The output format for the notebook execution.The Amazon S3 location for the notebook execution output.getTags()A list of tags associated with a notebook execution.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnNotebookExecution.renderProperties(Map<String, Object> props) voidsetEnvironmentVariables(Map<String, String> value) The environment variables associated with the notebook execution.voidThe environment variables associated with the notebook execution.voidsetExecutionEngine(IResolvable value) Specifies the execution engine (cluster) to run the notebook and perform the notebook execution.voidSpecifies the execution engine (cluster) to run the notebook and perform the notebook execution.voidsetNotebookExecutionName(String value) An optional name for the notebook execution.voidsetNotebookParams(String value) Input parameters in JSON format passed to the Amazon EMR Notebook at runtime for execution.voidsetNotebookS3Location(IResolvable value) The Amazon S3 location that stores the notebook execution input.voidThe Amazon S3 location that stores the notebook execution input.voidsetOutputNotebookFormat(String value) The output format for the notebook execution.voidThe Amazon S3 location for the notebook execution output.voidThe Amazon S3 location for the notebook execution output.voidA list of tags associated with a notebook execution.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnNotebookExecution
protected CfnNotebookExecution(software.amazon.jsii.JsiiObjectRef objRef) -
CfnNotebookExecution
protected CfnNotebookExecution(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnNotebookExecution
@Stability(Stable) public CfnNotebookExecution(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnNotebookExecutionProps props) Create a newAWS::EMR::NotebookExecution.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties.
-
CfnNotebookExecution
@Stability(Stable) public CfnNotebookExecution(@NotNull software.constructs.Construct scope, @NotNull String id) Create a newAWS::EMR::NotebookExecution.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.
-
-
Method Details
-
arnForNotebookExecution
@Stability(Stable) @NotNull public static String arnForNotebookExecution(@NotNull INotebookExecutionRef resource) - Parameters:
resource- This parameter is required.
-
isCfnNotebookExecution
Checks whether the given object is a CfnNotebookExecution.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the notebook execution. -
getAttrNotebookExecutionId
The unique identifier of the notebook execution. -
getAttrStartTime
The timestamp when notebook execution started. -
getAttrStatus
The status of the notebook execution. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getNotebookExecutionRef
A reference to a NotebookExecution resource.- Specified by:
getNotebookExecutionRefin interfaceINotebookExecutionRef
-
getEnvironmentVariables
The environment variables associated with the notebook execution.Returns union: either
IResolvableor Mapinvalid input: '<'String,String> -
setEnvironmentVariables
The environment variables associated with the notebook execution. -
setEnvironmentVariables
The environment variables associated with the notebook execution. -
getExecutionEngine
Specifies the execution engine (cluster) to run the notebook and perform the notebook execution.Returns union: either
IResolvableorCfnNotebookExecution.ExecutionEngineConfigProperty -
setExecutionEngine
Specifies the execution engine (cluster) to run the notebook and perform the notebook execution. -
setExecutionEngine
@Stability(Stable) public void setExecutionEngine(@Nullable CfnNotebookExecution.ExecutionEngineConfigProperty value) Specifies the execution engine (cluster) to run the notebook and perform the notebook execution. -
getNotebookExecutionName
An optional name for the notebook execution. -
setNotebookExecutionName
An optional name for the notebook execution. -
getNotebookParams
Input parameters in JSON format passed to the Amazon EMR Notebook at runtime for execution. -
setNotebookParams
Input parameters in JSON format passed to the Amazon EMR Notebook at runtime for execution. -
getNotebookS3Location
The Amazon S3 location that stores the notebook execution input.Returns union: either
IResolvableorCfnNotebookExecution.NotebookS3LocationProperty -
setNotebookS3Location
The Amazon S3 location that stores the notebook execution input. -
setNotebookS3Location
@Stability(Stable) public void setNotebookS3Location(@Nullable CfnNotebookExecution.NotebookS3LocationProperty value) The Amazon S3 location that stores the notebook execution input. -
getOutputNotebookFormat
The output format for the notebook execution. -
setOutputNotebookFormat
The output format for the notebook execution. -
getOutputNotebookS3Location
The Amazon S3 location for the notebook execution output.Returns union: either
IResolvableorCfnNotebookExecution.OutputNotebookS3LocationProperty -
setOutputNotebookS3Location
The Amazon S3 location for the notebook execution output. -
setOutputNotebookS3Location
@Stability(Stable) public void setOutputNotebookS3Location(@Nullable CfnNotebookExecution.OutputNotebookS3LocationProperty value) The Amazon S3 location for the notebook execution output. -
getTags
A list of tags associated with a notebook execution. -
setTags
A list of tags associated with a notebook execution.
-