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

io.burkard.cdk.services.ec2.cfnClientVpnEndpoint.ConnectionLogOptionsProperty.scala Maven / Gradle / Ivy

package io.burkard.cdk.services.ec2.cfnClientVpnEndpoint

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

  def apply(
    enabled: Boolean,
    cloudwatchLogGroup: Option[String] = None,
    cloudwatchLogStream: Option[String] = None
  ): software.amazon.awscdk.services.ec2.CfnClientVpnEndpoint.ConnectionLogOptionsProperty =
    (new software.amazon.awscdk.services.ec2.CfnClientVpnEndpoint.ConnectionLogOptionsProperty.Builder)
      .enabled(enabled)
      .cloudwatchLogGroup(cloudwatchLogGroup.orNull)
      .cloudwatchLogStream(cloudwatchLogStream.orNull)
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy