Show / Hide Table of Contents

Interface IRotationMultiUserOptions

(experimental) Options to add the multi user rotation.

Namespace: Amazon.CDK.AWS.Redshift.Alpha
Assembly: Amazon.CDK.AWS.Redshift.Alpha.dll
Syntax (csharp)
public interface IRotationMultiUserOptions
Syntax (vb)
Public Interface IRotationMultiUserOptions
Remarks

Stability: Experimental

ExampleMetadata: fixture=cluster infused

Examples
var user = new User(this, "User", new UserProps {
    Cluster = cluster,
    DatabaseName = "databaseName"
});
cluster.AddRotationMultiUser("MultiUserRotation", new RotationMultiUserOptions {
    Secret = user.Secret
});

Synopsis

Properties

AutomaticallyAfter

(experimental) Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation.

Secret

(experimental) The secret to rotate.

Properties

AutomaticallyAfter

(experimental) Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation.

virtual Duration AutomaticallyAfter { get; }
Property Value

Duration

Remarks

Default: Duration.days(30)

Stability: Experimental

Secret

(experimental) The secret to rotate.

ISecret Secret { get; }
Property Value

ISecret

Remarks

It must be a JSON string with the following format:

{
  "engine": <required: database engine>,
  "host": <required: instance host name>,
  "username": <required: username>,
  "password": <required: password>,
  "dbname": <optional: database name>,
  "port": <optional: if not specified, default port will be used>,
  "masterarn": <required: the arn of the master secret which will be used to create users/change passwords>
}

Stability: Experimental

Back to top Generated by DocFX