io.burkard.cdk.services.stepfunctions.CustomState.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.stepfunctions
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CustomState {
def apply(
internalResourceId: String,
stateJson: Map[String, _]
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.stepfunctions.CustomState =
software.amazon.awscdk.services.stepfunctions.CustomState.Builder
.create(stackCtx, internalResourceId)
.stateJson(stateJson.asJava)
.build()
}