io.burkard.cdk.services.ecs.AssetEnvironmentFile.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.ecs
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object AssetEnvironmentFile {
def apply(
path: String,
assetHashType: Option[software.amazon.awscdk.AssetHashType] = None,
readers: Option[List[_ <: software.amazon.awscdk.services.iam.IGrantable]] = None,
assetHash: Option[String] = None,
bundling: Option[software.amazon.awscdk.BundlingOptions] = None,
followSymlinks: Option[software.amazon.awscdk.SymlinkFollowMode] = None,
exclude: Option[List[String]] = None,
ignoreMode: Option[software.amazon.awscdk.IgnoreMode] = None
): software.amazon.awscdk.services.ecs.AssetEnvironmentFile =
software.amazon.awscdk.services.ecs.AssetEnvironmentFile.Builder
.create(path)
.assetHashType(assetHashType.orNull)
.readers(readers.map(_.asJava).orNull)
.assetHash(assetHash.orNull)
.bundling(bundling.orNull)
.followSymlinks(followSymlinks.orNull)
.exclude(exclude.map(_.asJava).orNull)
.ignoreMode(ignoreMode.orNull)
.build()
}