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