io.burkard.cdk.services.certificatemanager.cfnCertificate.DomainValidationOptionProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.certificatemanager.cfnCertificate
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object DomainValidationOptionProperty {
def apply(
domainName: String,
hostedZoneId: Option[String] = None,
validationDomain: Option[String] = None
): software.amazon.awscdk.services.certificatemanager.CfnCertificate.DomainValidationOptionProperty =
(new software.amazon.awscdk.services.certificatemanager.CfnCertificate.DomainValidationOptionProperty.Builder)
.domainName(domainName)
.hostedZoneId(hostedZoneId.orNull)
.validationDomain(validationDomain.orNull)
.build()
}