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

com.pulumi.awsnative.rds.kotlin.outputs.DbInstanceMasterUserSecret.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.rds.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * The ``MasterUserSecret`` return value specifies the secret managed by RDS in AWS Secrets Manager for the master user password.
 *  For more information, see [Password management with Secrets Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) in the *Amazon RDS User Guide* and [Password management with Secrets Manager](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) in the *Amazon Aurora User Guide.*
 * @property kmsKeyId The AWS KMS key identifier that is used to encrypt the secret.
 * @property secretArn The Amazon Resource Name (ARN) of the secret. This parameter is a return value that you can retrieve using the ``Fn::GetAtt`` intrinsic function. For more information, see [Return values](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbinstance.html#aws-resource-rds-dbinstance-return-values).
 */
public data class DbInstanceMasterUserSecret(
    public val kmsKeyId: String? = null,
    public val secretArn: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.rds.outputs.DbInstanceMasterUserSecret): DbInstanceMasterUserSecret = DbInstanceMasterUserSecret(
            kmsKeyId = javaType.kmsKeyId().map({ args0 -> args0 }).orElse(null),
            secretArn = javaType.secretArn().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy