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

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

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

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

  def apply(
    `type`: String,
    federatedAuthentication: Option[software.amazon.awscdk.services.ec2.CfnClientVpnEndpoint.FederatedAuthenticationRequestProperty] = None,
    mutualAuthentication: Option[software.amazon.awscdk.services.ec2.CfnClientVpnEndpoint.CertificateAuthenticationRequestProperty] = None,
    activeDirectory: Option[software.amazon.awscdk.services.ec2.CfnClientVpnEndpoint.DirectoryServiceAuthenticationRequestProperty] = None
  ): software.amazon.awscdk.services.ec2.CfnClientVpnEndpoint.ClientAuthenticationRequestProperty =
    (new software.amazon.awscdk.services.ec2.CfnClientVpnEndpoint.ClientAuthenticationRequestProperty.Builder)
      .`type`(`type`)
      .federatedAuthentication(federatedAuthentication.orNull)
      .mutualAuthentication(mutualAuthentication.orNull)
      .activeDirectory(activeDirectory.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy