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

io.burkard.cdk.services.globalaccelerator.cfnEndpointGroup.EndpointConfigurationProperty.scala Maven / Gradle / Ivy

package io.burkard.cdk.services.globalaccelerator.cfnEndpointGroup

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

  def apply(
    endpointId: String,
    weight: Option[Number] = None,
    clientIpPreservationEnabled: Option[Boolean] = None
  ): software.amazon.awscdk.services.globalaccelerator.CfnEndpointGroup.EndpointConfigurationProperty =
    (new software.amazon.awscdk.services.globalaccelerator.CfnEndpointGroup.EndpointConfigurationProperty.Builder)
      .endpointId(endpointId)
      .weight(weight.orNull)
      .clientIpPreservationEnabled(clientIpPreservationEnabled.map(Boolean.box).orNull)
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy