Class RotationSingleUserOptions
Options to add the multi user rotation.
Inheritance
System.Object
RotationSingleUserOptions
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.AWS.RDS.dll
Syntax (csharp)
public class RotationSingleUserOptions : Object, IRotationSingleUserOptions, ICommonRotationUserOptions
Syntax (vb)
Public Class RotationSingleUserOptions
Inherits Object
Implements IRotationSingleUserOptions, ICommonRotationUserOptions
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK;
DatabaseInstance instance;
instance.AddRotationSingleUser(new RotationSingleUserOptions {
AutomaticallyAfter = Duration.Days(7), // defaults to 30 days
ExcludeCharacters = "!@#$%^&*"
});
Synopsis
Constructors
RotationSingleUserOptions() |
Properties
AutomaticallyAfter | Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation. |
Endpoint | |
ExcludeCharacters | |
VpcSubnets | Where to place the rotation Lambda function. |
Constructors
RotationSingleUserOptions()
public RotationSingleUserOptions()
Properties
AutomaticallyAfter
Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation.
public Duration AutomaticallyAfter { get; set; }
Property Value
Remarks
Default: - 30 days
Endpoint
ExcludeCharacters
public string ExcludeCharacters { get; set; }
Property Value
System.String
VpcSubnets
Where to place the rotation Lambda function.
public ISubnetSelection VpcSubnets { get; set; }
Property Value
Remarks
Default: - same placement as instance or cluster