All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.opensearchservice.CustomEndpointOptions.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.opensearchservice

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CustomEndpointOptions {

  def apply(
    domainName: String,
    hostedZone: Option[software.amazon.awscdk.services.route53.IHostedZone] = None,
    certificate: Option[software.amazon.awscdk.services.certificatemanager.ICertificate] = None
  ): software.amazon.awscdk.services.opensearchservice.CustomEndpointOptions =
    (new software.amazon.awscdk.services.opensearchservice.CustomEndpointOptions.Builder)
      .domainName(domainName)
      .hostedZone(hostedZone.orNull)
      .certificate(certificate.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy