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

io.burkard.cdk.services.secretsmanager.SecretAttributes.scala Maven / Gradle / Ivy

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

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

  def apply(
    secretCompleteArn: Option[String] = None,
    secretPartialArn: Option[String] = None,
    encryptionKey: Option[software.amazon.awscdk.services.kms.IKey] = None
  ): software.amazon.awscdk.services.secretsmanager.SecretAttributes =
    (new software.amazon.awscdk.services.secretsmanager.SecretAttributes.Builder)
      .secretCompleteArn(secretCompleteArn.orNull)
      .secretPartialArn(secretPartialArn.orNull)
      .encryptionKey(encryptionKey.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy