interface MasterUserSecretProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.RDS.CfnDBInstance.MasterUserSecretProperty |
Java | software.amazon.awscdk.services.rds.CfnDBInstance.MasterUserSecretProperty |
Python | aws_cdk.aws_rds.CfnDBInstance.MasterUserSecretProperty |
TypeScript | @aws-cdk/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 * as rds from '@aws-cdk/aws-rds';
const masterUserSecretProperty: rds.CfnDBInstance.MasterUserSecretProperty = {
kmsKeyId: 'kmsKeyId',
secretArn: 'secretArn',
};
Properties
Name | Type | Description |
---|---|---|
kms | string | The AWS KMS key identifier that is used to encrypt the secret. |
secret | string | The 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.