Class CfnDBInstance.MasterUserSecretProperty
The MasterUserSecret
return value specifies the secret managed by RDS in AWS Secrets Manager for the master user password.
Inheritance
System.Object
CfnDBInstance.MasterUserSecretProperty
Implements
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.AWS.RDS.dll
Syntax (csharp)
public class MasterUserSecretProperty : Object, CfnDBInstance.IMasterUserSecretProperty
Syntax (vb)
Public Class MasterUserSecretProperty
Inherits Object
Implements CfnDBInstance.IMasterUserSecretProperty
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RDS;
var masterUserSecretProperty = new MasterUserSecretProperty {
KmsKeyId = "kmsKeyId",
SecretArn = "secretArn"
};
Synopsis
Constructors
MasterUserSecretProperty() |
Properties
KmsKeyId | The AWS KMS key identifier that is used to encrypt the secret. |
SecretArn | The Amazon Resource Name (ARN) of the secret. |
Constructors
MasterUserSecretProperty()
public MasterUserSecretProperty()
Properties
KmsKeyId
The AWS KMS key identifier that is used to encrypt the secret.
public string KmsKeyId { get; set; }
Property Value
System.String
Remarks
SecretArn
The Amazon Resource Name (ARN) of the secret.
public string SecretArn { get; set; }
Property Value
System.String