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

com.pulumi.aws.rds.kotlin.outputs.InstanceMasterUserSecret.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.rds.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property kmsKeyId The ARN for the KMS encryption key. If creating an
 * encrypted replica, set this to the destination KMS ARN.
 * @property secretArn The Amazon Resource Name (ARN) of the secret.
 * @property secretStatus The status of the secret. Valid Values: `creating` | `active` | `rotating` | `impaired`.
 */
public data class InstanceMasterUserSecret(
    public val kmsKeyId: String? = null,
    public val secretArn: String? = null,
    public val secretStatus: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.rds.outputs.InstanceMasterUserSecret): InstanceMasterUserSecret = InstanceMasterUserSecret(
            kmsKeyId = javaType.kmsKeyId().map({ args0 -> args0 }).orElse(null),
            secretArn = javaType.secretArn().map({ args0 -> args0 }).orElse(null),
            secretStatus = javaType.secretStatus().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy