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

io.burkard.cdk.services.apigateway.DomainNameProps.scala Maven / Gradle / Ivy

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

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

  def apply(
    certificate: Option[software.amazon.awscdk.services.certificatemanager.ICertificate] = None,
    mapping: Option[software.amazon.awscdk.services.apigateway.IRestApi] = None,
    domainName: Option[String] = None,
    mtls: Option[software.amazon.awscdk.services.apigateway.MTLSConfig] = None,
    basePath: Option[String] = None,
    endpointType: Option[software.amazon.awscdk.services.apigateway.EndpointType] = None,
    securityPolicy: Option[software.amazon.awscdk.services.apigateway.SecurityPolicy] = None
  ): software.amazon.awscdk.services.apigateway.DomainNameProps =
    (new software.amazon.awscdk.services.apigateway.DomainNameProps.Builder)
      .certificate(certificate.orNull)
      .mapping(mapping.orNull)
      .domainName(domainName.orNull)
      .mtls(mtls.orNull)
      .basePath(basePath.orNull)
      .endpointType(endpointType.orNull)
      .securityPolicy(securityPolicy.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy