io.burkard.cdk.services.appsync.CfnDomainName.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.appsync
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnDomainName {
def apply(
internalResourceId: String,
certificateArn: String,
domainName: String,
description: Option[String] = None
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.appsync.CfnDomainName =
software.amazon.awscdk.services.appsync.CfnDomainName.Builder
.create(stackCtx, internalResourceId)
.certificateArn(certificateArn)
.domainName(domainName)
.description(description.orNull)
.build()
}