CfnStepMixinProps
- class aws_cdk.mixins_preview.aws_emr.mixins.CfnStepMixinProps(*, action_on_failure=None, encryption_key_arn=None, hadoop_jar_step=None, job_flow_id=None, log_uri=None, name=None)
Bases:
objectProperties for CfnStepPropsMixin.
- Parameters:
action_on_failure (
Optional[str]) – This specifies what action to take when the cluster step fails. Possible values areCANCEL_AND_WAITandCONTINUE.encryption_key_arn (
Optional[str]) – The KMS key ARN to encrypt the logs published to the given Amazon S3 destination. When omitted, EMR falls back to cluster-level logging behavior.hadoop_jar_step (
Union[IResolvable,HadoopJarStepConfigProperty,Dict[str,Any],None]) – TheHadoopJarStepConfigproperty type specifies a job flow step consisting of a JAR file whose main function will be executed. The main function submits a job for the cluster to execute as a step on the master node, and then waits for the job to finish or fail before executing subsequent steps.job_flow_id (
Optional[str]) – A string that uniquely identifies the cluster (job flow).log_uri (
Optional[str]) – The Amazon S3 destination URI for log publishing. When omitted, EMR falls back to cluster-level logging behavior.name (
Optional[str]) – The name of the cluster step.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-step.html
- 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.mixins_preview.aws_emr import mixins as emr_mixins cfn_step_mixin_props = emr_mixins.CfnStepMixinProps( action_on_failure="actionOnFailure", encryption_key_arn="encryptionKeyArn", hadoop_jar_step=emr_mixins.CfnStepPropsMixin.HadoopJarStepConfigProperty( args=["args"], jar="jar", main_class="mainClass", step_properties=[emr_mixins.CfnStepPropsMixin.KeyValueProperty( key="key", value="value" )] ), job_flow_id="jobFlowId", log_uri="logUri", name="name" )
Attributes
- action_on_failure
This specifies what action to take when the cluster step fails.
Possible values are
CANCEL_AND_WAITandCONTINUE.
- encryption_key_arn
The KMS key ARN to encrypt the logs published to the given Amazon S3 destination.
When omitted, EMR falls back to cluster-level logging behavior.
- hadoop_jar_step
The
HadoopJarStepConfigproperty type specifies a job flow step consisting of a JAR file whose main function will be executed.The main function submits a job for the cluster to execute as a step on the master node, and then waits for the job to finish or fail before executing subsequent steps.
- job_flow_id
A string that uniquely identifies the cluster (job flow).
- log_uri
The Amazon S3 destination URI for log publishing.
When omitted, EMR falls back to cluster-level logging behavior.
- name
The name of the cluster step.