io.burkard.cdk.services.secretsmanager.CfnSecretProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.secretsmanager
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnSecretProps {
def apply(
replicaRegions: Option[List[_]] = None,
name: Option[String] = None,
description: Option[String] = None,
tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None,
generateSecretString: Option[software.amazon.awscdk.services.secretsmanager.CfnSecret.GenerateSecretStringProperty] = None,
secretString: Option[String] = None,
kmsKeyId: Option[String] = None
): software.amazon.awscdk.services.secretsmanager.CfnSecretProps =
(new software.amazon.awscdk.services.secretsmanager.CfnSecretProps.Builder)
.replicaRegions(replicaRegions.map(_.asJava).orNull)
.name(name.orNull)
.description(description.orNull)
.tags(tags.map(_.asJava).orNull)
.generateSecretString(generateSecretString.orNull)
.secretString(secretString.orNull)
.kmsKeyId(kmsKeyId.orNull)
.build()
}