io.burkard.cdk.services.codeartifact.CfnDomainProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.codeartifact
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnDomainProps {
def apply(
domainName: String,
tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None,
permissionsPolicyDocument: Option[AnyRef] = None,
encryptionKey: Option[String] = None
): software.amazon.awscdk.services.codeartifact.CfnDomainProps =
(new software.amazon.awscdk.services.codeartifact.CfnDomainProps.Builder)
.domainName(domainName)
.tags(tags.map(_.asJava).orNull)
.permissionsPolicyDocument(permissionsPolicyDocument.orNull)
.encryptionKey(encryptionKey.orNull)
.build()
}