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

io.burkard.cdk.services.elasticloadbalancingv2.CfnLoadBalancer.scala Maven / Gradle / Ivy

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

import scala.collection.JavaConverters._

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

  def apply(
    internalResourceId: String,
    subnets: Option[List[String]] = None,
    name: Option[String] = None,
    loadBalancerAttributes: Option[List[_]] = None,
    tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None,
    scheme: Option[String] = None,
    subnetMappings: Option[List[_]] = None,
    ipAddressType: Option[String] = None,
    securityGroups: Option[List[String]] = None,
    `type`: Option[String] = None
  )(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.elasticloadbalancingv2.CfnLoadBalancer =
    software.amazon.awscdk.services.elasticloadbalancingv2.CfnLoadBalancer.Builder
      .create(stackCtx, internalResourceId)
      .subnets(subnets.map(_.asJava).orNull)
      .name(name.orNull)
      .loadBalancerAttributes(loadBalancerAttributes.map(_.asJava).orNull)
      .tags(tags.map(_.asJava).orNull)
      .scheme(scheme.orNull)
      .subnetMappings(subnetMappings.map(_.asJava).orNull)
      .ipAddressType(ipAddressType.orNull)
      .securityGroups(securityGroups.map(_.asJava).orNull)
      .`type`(`type`.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy