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

io.burkard.cdk.services.ec2.ClientVpnAuthorizationRule.scala Maven / Gradle / Ivy

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

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

  def apply(
    internalResourceId: String,
    description: Option[String] = None,
    groupId: Option[String] = None,
    cidr: Option[String] = None,
    clientVpnEndpoint: Option[software.amazon.awscdk.services.ec2.IClientVpnEndpoint] = None
  )(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.ec2.ClientVpnAuthorizationRule =
    software.amazon.awscdk.services.ec2.ClientVpnAuthorizationRule.Builder
      .create(stackCtx, internalResourceId)
      .description(description.orNull)
      .groupId(groupId.orNull)
      .cidr(cidr.orNull)
      .clientVpnEndpoint(clientVpnEndpoint.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy