Show / Hide Table of Contents

Class RotationSingleUserOptions

Options to add the multi user rotation.

Inheritance
object
RotationSingleUserOptions
Implements
IRotationSingleUserOptions
ICommonRotationUserOptions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RotationSingleUserOptions : IRotationSingleUserOptions, ICommonRotationUserOptions
Syntax (vb)
Public Class RotationSingleUserOptions Implements IRotationSingleUserOptions, ICommonRotationUserOptions
Remarks

ExampleMetadata: infused

Examples
DatabaseInstance instance;
            SecurityGroup mySecurityGroup;


            instance.AddRotationSingleUser(new RotationSingleUserOptions {
                AutomaticallyAfter = Duration.Days(7),  // defaults to 30 days
                ExcludeCharacters = "!@#$%^&*",  // defaults to the set " %+~`#/// here*()|[]{}:;<>?!'/@\"\\"
                SecurityGroup = mySecurityGroup
            });

Synopsis

Constructors

RotationSingleUserOptions()

Options to add the multi user rotation.

Properties

AutomaticallyAfter

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

Endpoint

Options to add the multi user rotation.

ExcludeCharacters

Options to add the multi user rotation.

RotateImmediatelyOnUpdate

Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window.

SecurityGroup

The security group for the Lambda rotation function.

VpcSubnets

Where to place the rotation Lambda function.

Constructors

RotationSingleUserOptions()

Options to add the multi user rotation.

public RotationSingleUserOptions()
Remarks

ExampleMetadata: infused

Examples
DatabaseInstance instance;
            SecurityGroup mySecurityGroup;


            instance.AddRotationSingleUser(new RotationSingleUserOptions {
                AutomaticallyAfter = Duration.Days(7),  // defaults to 30 days
                ExcludeCharacters = "!@#$%^&*",  // defaults to the set " %+~`#/// here*()|[]{}:;<>?!'/@\"\\"
                SecurityGroup = mySecurityGroup
            });

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

Duration

Remarks

Default: - 30 days

Endpoint

Options to add the multi user rotation.

public IInterfaceVpcEndpoint? Endpoint { get; set; }
Property Value

IInterfaceVpcEndpoint

Remarks

ExampleMetadata: infused

ExcludeCharacters

Options to add the multi user rotation.

public string? ExcludeCharacters { get; set; }
Property Value

string

Remarks

ExampleMetadata: infused

RotateImmediatelyOnUpdate

Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window.

public bool? RotateImmediatelyOnUpdate { get; set; }
Property Value

bool?

Remarks

Default: true

SecurityGroup

The security group for the Lambda rotation function.

public ISecurityGroup? SecurityGroup { get; set; }
Property Value

ISecurityGroup

Remarks

Default: - a new security group is created

VpcSubnets

Where to place the rotation Lambda function.

public ISubnetSelection? VpcSubnets { get; set; }
Property Value

ISubnetSelection

Remarks

Default: - same placement as instance or cluster

Implements

IRotationSingleUserOptions
ICommonRotationUserOptions
Back to top Generated by DocFX