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

io.burkard.cdk.services.appmesh.cfnVirtualNode.AwsCloudMapServiceDiscoveryProperty.scala Maven / Gradle / Ivy

package io.burkard.cdk.services.appmesh.cfnVirtualNode

import scala.collection.JavaConverters._

@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object AwsCloudMapServiceDiscoveryProperty {

  def apply(
    serviceName: String,
    namespaceName: String,
    attributes: Option[List[_]] = None,
    ipPreference: Option[String] = None
  ): software.amazon.awscdk.services.appmesh.CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty =
    (new software.amazon.awscdk.services.appmesh.CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty.Builder)
      .serviceName(serviceName)
      .namespaceName(namespaceName)
      .attributes(attributes.map(_.asJava).orNull)
      .ipPreference(ipPreference.orNull)
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy