io.burkard.cdk.services.fsx.CfnFileSystem.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.fsx
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnFileSystem {
def apply(
internalResourceId: String,
subnetIds: List[String],
fileSystemType: String,
ontapConfiguration: Option[software.amazon.awscdk.services.fsx.CfnFileSystem.OntapConfigurationProperty] = None,
openZfsConfiguration: Option[software.amazon.awscdk.services.fsx.CfnFileSystem.OpenZFSConfigurationProperty] = None,
fileSystemTypeVersion: Option[String] = None,
tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None,
securityGroupIds: Option[List[String]] = None,
backupId: Option[String] = None,
storageType: Option[String] = None,
lustreConfiguration: Option[software.amazon.awscdk.services.fsx.CfnFileSystem.LustreConfigurationProperty] = None,
windowsConfiguration: Option[software.amazon.awscdk.services.fsx.CfnFileSystem.WindowsConfigurationProperty] = None,
storageCapacity: Option[Number] = None,
kmsKeyId: Option[String] = None
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.fsx.CfnFileSystem =
software.amazon.awscdk.services.fsx.CfnFileSystem.Builder
.create(stackCtx, internalResourceId)
.subnetIds(subnetIds.asJava)
.fileSystemType(fileSystemType)
.ontapConfiguration(ontapConfiguration.orNull)
.openZfsConfiguration(openZfsConfiguration.orNull)
.fileSystemTypeVersion(fileSystemTypeVersion.orNull)
.tags(tags.map(_.asJava).orNull)
.securityGroupIds(securityGroupIds.map(_.asJava).orNull)
.backupId(backupId.orNull)
.storageType(storageType.orNull)
.lustreConfiguration(lustreConfiguration.orNull)
.windowsConfiguration(windowsConfiguration.orNull)
.storageCapacity(storageCapacity.orNull)
.kmsKeyId(kmsKeyId.orNull)
.build()
}