io.burkard.cdk.services.ecs.ExecuteCommandConfiguration.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 ExecuteCommandConfiguration {
def apply(
kmsKey: Option[software.amazon.awscdk.services.kms.IKey] = None,
logConfiguration: Option[software.amazon.awscdk.services.ecs.ExecuteCommandLogConfiguration] = None,
logging: Option[software.amazon.awscdk.services.ecs.ExecuteCommandLogging] = None
): software.amazon.awscdk.services.ecs.ExecuteCommandConfiguration =
(new software.amazon.awscdk.services.ecs.ExecuteCommandConfiguration.Builder)
.kmsKey(kmsKey.orNull)
.logConfiguration(logConfiguration.orNull)
.logging(logging.orNull)
.build()
}