io.burkard.cdk.services.emr.CfnStep.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.emr
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnStep {
def apply(
internalResourceId: String,
name: String,
hadoopJarStep: software.amazon.awscdk.services.emr.CfnStep.HadoopJarStepConfigProperty,
jobFlowId: String,
actionOnFailure: String
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.emr.CfnStep =
software.amazon.awscdk.services.emr.CfnStep.Builder
.create(stackCtx, internalResourceId)
.name(name)
.hadoopJarStep(hadoopJarStep)
.jobFlowId(jobFlowId)
.actionOnFailure(actionOnFailure)
.build()
}