Class CfnStepPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.emr.CfnStepPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:59.311Z")
@Stability(Stable)
public class CfnStepPropsMixin
extends Mixin
implements software.constructs.IMixin
Use
Step to specify a cluster (job flow) step, which runs only on the master node.
Steps are used to submit data processing jobs to a cluster.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.emr.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnStepPropsMixin cfnStepPropsMixin = CfnStepPropsMixin.Builder.create(CfnStepMixinProps.builder()
.actionOnFailure("actionOnFailure")
.encryptionKeyArn("encryptionKeyArn")
.hadoopJarStep(HadoopJarStepConfigProperty.builder()
.args(List.of("args"))
.jar("jar")
.mainClass("mainClass")
.stepProperties(List.of(KeyValueProperty.builder()
.key("key")
.value("value")
.build()))
.build())
.jobFlowId("jobFlowId")
.logUri("logUri")
.name("name")
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnStepPropsMixin.static interfaceA job flow step consisting of a JAR file whose main function will be executed.static interfaceKeyValueis a subproperty of theHadoopJarStepConfigproperty type.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::EMR::Step.CfnStepPropsMixin(CfnStepMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::EMR::Step.protectedCfnStepPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnStepPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnStepMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods 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, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnStepPropsMixin
protected CfnStepPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnStepPropsMixin
protected CfnStepPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnStepPropsMixin
@Stability(Stable) public CfnStepPropsMixin(@NotNull CfnStepMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::EMR::Step.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnStepPropsMixin
Create a mixin to apply properties toAWS::EMR::Step.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-