io.burkard.cdk.services.connect.CfnContactFlow.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.connect
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnContactFlow {
def apply(
internalResourceId: String,
name: String,
content: String,
instanceArn: String,
state: Option[String] = None,
description: Option[String] = None,
tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None,
`type`: Option[String] = None
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.connect.CfnContactFlow =
software.amazon.awscdk.services.connect.CfnContactFlow.Builder
.create(stackCtx, internalResourceId)
.name(name)
.content(content)
.instanceArn(instanceArn)
.state(state.orNull)
.description(description.orNull)
.tags(tags.map(_.asJava).orNull)
.`type`(`type`.orNull)
.build()
}