io.burkard.cdk.cloudassembly.schema.CdkCommands.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.cloudassembly.schema
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CdkCommands {
def apply(
destroy: Option[software.amazon.awscdk.cloudassembly.schema.DestroyCommand] = None,
deploy: Option[software.amazon.awscdk.cloudassembly.schema.DeployCommand] = None
): software.amazon.awscdk.cloudassembly.schema.CdkCommands =
(new software.amazon.awscdk.cloudassembly.schema.CdkCommands.Builder)
.destroy(destroy.orNull)
.deploy(deploy.orNull)
.build()
}