io.burkard.cdk.services.glue.CfnTrigger.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.glue
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnTrigger {
def apply(
internalResourceId: String,
actions: List[_],
`type`: String,
workflowName: Option[String] = None,
name: Option[String] = None,
predicate: Option[software.amazon.awscdk.services.glue.CfnTrigger.PredicateProperty] = None,
description: Option[String] = None,
tags: Option[AnyRef] = None,
schedule: Option[String] = None,
startOnCreation: Option[Boolean] = None
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.glue.CfnTrigger =
software.amazon.awscdk.services.glue.CfnTrigger.Builder
.create(stackCtx, internalResourceId)
.actions(actions.asJava)
.`type`(`type`)
.workflowName(workflowName.orNull)
.name(name.orNull)
.predicate(predicate.orNull)
.description(description.orNull)
.tags(tags.orNull)
.schedule(schedule.orNull)
.startOnCreation(startOnCreation.map(Boolean.box).getOrElse(java.lang.Boolean.FALSE))
.build()
}