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

io.burkard.cdk.services.ecs.EfsVolumeConfiguration.scala Maven / Gradle / Ivy

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

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

  def apply(
    fileSystemId: String,
    authorizationConfig: Option[software.amazon.awscdk.services.ecs.AuthorizationConfig] = None,
    transitEncryption: Option[String] = None,
    transitEncryptionPort: Option[Number] = None,
    rootDirectory: Option[String] = None
  ): software.amazon.awscdk.services.ecs.EfsVolumeConfiguration =
    (new software.amazon.awscdk.services.ecs.EfsVolumeConfiguration.Builder)
      .fileSystemId(fileSystemId)
      .authorizationConfig(authorizationConfig.orNull)
      .transitEncryption(transitEncryption.orNull)
      .transitEncryptionPort(transitEncryptionPort.orNull)
      .rootDirectory(rootDirectory.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy