CfnNotebookExecutionPropsMixin
- class aws_cdk.cfn_property_mixins.aws_emr.CfnNotebookExecutionPropsMixin(props, *, strategy=None)
Bases:
MixinAn Amazon EMR Notebook execution.
A notebook execution is a specific instance that an Amazon EMR Notebook is run using the StartNotebookExecution action.
- See:
- CloudformationResource:
AWS::EMR::NotebookExecution
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_emr as emr import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_notebook_execution_props_mixin = emr.CfnNotebookExecutionPropsMixin(emr.CfnNotebookExecutionMixinProps( environment_variables={ "environment_variables_key": "environmentVariables" }, execution_engine=emr.CfnNotebookExecutionPropsMixin.ExecutionEngineConfigProperty( id="id", type="type" ), notebook_execution_name="notebookExecutionName", notebook_params="notebookParams", notebook_s3_location=emr.CfnNotebookExecutionPropsMixin.NotebookS3LocationProperty( bucket="bucket", key="key" ), output_notebook_format="outputNotebookFormat", output_notebook_s3_location=emr.CfnNotebookExecutionPropsMixin.OutputNotebookS3LocationProperty( bucket="bucket", key="key" ), tags=[cdk.CfnTag( key="key", value="value" )] ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::EMR::NotebookExecution.- Parameters:
props (
Union[CfnNotebookExecutionMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['environmentVariables', 'executionEngine', 'notebookExecutionName', 'notebookParams', 'notebookS3Location', 'outputNotebookFormat', 'outputNotebookS3Location', 'tags']
Static Methods
- classmethod is_mixin(x)
Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
ExecutionEngineConfigProperty
- class CfnNotebookExecutionPropsMixin.ExecutionEngineConfigProperty(*, id=None, type=None)
Bases:
objectSpecifies the execution engine (cluster) to run the notebook and perform the notebook execution.
- Parameters:
id (
Optional[str]) – The unique identifier of the execution engine. For an Amazon EMR cluster, this is the cluster ID.type (
Optional[str]) – The type of execution engine.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_emr as emr execution_engine_config_property = emr.CfnNotebookExecutionPropsMixin.ExecutionEngineConfigProperty( id="id", type="type" )
Attributes
- id
The unique identifier of the execution engine.
For an Amazon EMR cluster, this is the cluster ID.
NotebookS3LocationProperty
- class CfnNotebookExecutionPropsMixin.NotebookS3LocationProperty(*, bucket=None, key=None)
Bases:
objectThe Amazon S3 location that stores the notebook execution input.
- Parameters:
bucket (
Optional[str]) – The Amazon S3 bucket that stores the notebook execution input.key (
Optional[str]) – The key to the Amazon S3 location that stores the notebook execution input.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_emr as emr notebook_s3_location_property = emr.CfnNotebookExecutionPropsMixin.NotebookS3LocationProperty( bucket="bucket", key="key" )
Attributes
- bucket
The Amazon S3 bucket that stores the notebook execution input.
- key
The key to the Amazon S3 location that stores the notebook execution input.
OutputNotebookS3LocationProperty
- class CfnNotebookExecutionPropsMixin.OutputNotebookS3LocationProperty(*, bucket=None, key=None)
Bases:
objectThe Amazon S3 location for the notebook execution output.
- Parameters:
bucket (
Optional[str]) – The Amazon S3 bucket that stores the notebook execution output.key (
Optional[str]) – The key to the Amazon S3 location that stores the notebook execution output.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_emr as emr output_notebook_s3_location_property = emr.CfnNotebookExecutionPropsMixin.OutputNotebookS3LocationProperty( bucket="bucket", key="key" )
Attributes
- bucket
The Amazon S3 bucket that stores the notebook execution output.
- key
The key to the Amazon S3 location that stores the notebook execution output.