aws-cdk-lib.aws_rds.CfnDBInstance.MasterUserSecretProperty

interface MasterUserSecretProperty

LanguageType name
.NETAmazon.CDK.AWS.RDS.CfnDBInstance.MasterUserSecretProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsrds#CfnDBInstance_MasterUserSecretProperty
Javasoftware.amazon.awscdk.services.rds.CfnDBInstance.MasterUserSecretProperty
Pythonaws_cdk.aws_rds.CfnDBInstance.MasterUserSecretProperty
TypeScript aws-cdk-lib » aws_rds » CfnDBInstance » MasterUserSecretProperty

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 AWS Secrets Manager in the Amazon RDS User Guide and Password management with AWS Secrets Manager in the Amazon Aurora User Guide.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rds as rds } from 'aws-cdk-lib';
const masterUserSecretProperty: rds.CfnDBInstance.MasterUserSecretProperty = {
  kmsKeyId: 'kmsKeyId',
  secretArn: 'secretArn',
};

Properties

NameTypeDescription
kmsKeyId?stringThe AWS KMS key identifier that is used to encrypt the secret.
secretArn?stringThe Amazon Resource Name (ARN) of the secret.

kmsKeyId?

Type: string (optional)

The AWS KMS key identifier that is used to encrypt the secret.


secretArn?

Type: string (optional)

The Amazon Resource Name (ARN) of the secret.