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

io.burkard.cdk.services.transfer.CfnServer.scala Maven / Gradle / Ivy

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

import scala.collection.JavaConverters._

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

  def apply(
    internalResourceId: String,
    loggingRole: Option[String] = None,
    protocols: Option[List[String]] = None,
    certificate: Option[String] = None,
    preAuthenticationLoginBanner: Option[String] = None,
    tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None,
    domain: Option[String] = None,
    workflowDetails: Option[software.amazon.awscdk.services.transfer.CfnServer.WorkflowDetailsProperty] = None,
    endpointDetails: Option[software.amazon.awscdk.services.transfer.CfnServer.EndpointDetailsProperty] = None,
    securityPolicyName: Option[String] = None,
    identityProviderDetails: Option[software.amazon.awscdk.services.transfer.CfnServer.IdentityProviderDetailsProperty] = None,
    endpointType: Option[String] = None,
    postAuthenticationLoginBanner: Option[String] = None,
    protocolDetails: Option[software.amazon.awscdk.services.transfer.CfnServer.ProtocolDetailsProperty] = None,
    identityProviderType: Option[String] = None
  )(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.transfer.CfnServer =
    software.amazon.awscdk.services.transfer.CfnServer.Builder
      .create(stackCtx, internalResourceId)
      .loggingRole(loggingRole.orNull)
      .protocols(protocols.map(_.asJava).orNull)
      .certificate(certificate.orNull)
      .preAuthenticationLoginBanner(preAuthenticationLoginBanner.orNull)
      .tags(tags.map(_.asJava).orNull)
      .domain(domain.orNull)
      .workflowDetails(workflowDetails.orNull)
      .endpointDetails(endpointDetails.orNull)
      .securityPolicyName(securityPolicyName.orNull)
      .identityProviderDetails(identityProviderDetails.orNull)
      .endpointType(endpointType.orNull)
      .postAuthenticationLoginBanner(postAuthenticationLoginBanner.orNull)
      .protocolDetails(protocolDetails.orNull)
      .identityProviderType(identityProviderType.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy