Class CommonRotationUserOptions
Properties common to single-user and multi-user rotation options.
Inheritance
System.Object
CommonRotationUserOptions
Implements
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.AWS.RDS.dll
Syntax (csharp)
public class CommonRotationUserOptions : Object, ICommonRotationUserOptions
Syntax (vb)
Public Class CommonRotationUserOptions
Inherits Object
Implements ICommonRotationUserOptions
Remarks
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.EC2;
using Amazon.CDK.AWS.RDS;
using Amazon.CDK;
InterfaceVpcEndpoint interfaceVpcEndpoint;
Subnet subnet;
SubnetFilter subnetFilter;
var commonRotationUserOptions = new CommonRotationUserOptions {
AutomaticallyAfter = Duration.Minutes(30),
Endpoint = interfaceVpcEndpoint,
ExcludeCharacters = "excludeCharacters",
VpcSubnets = new SubnetSelection {
AvailabilityZones = new [] { "availabilityZones" },
OnePerAz = false,
SubnetFilters = new [] { subnetFilter },
SubnetGroupName = "subnetGroupName",
SubnetName = "subnetName",
Subnets = new [] { subnet },
SubnetType = SubnetType.ISOLATED
}
};
Synopsis
Constructors
CommonRotationUserOptions() |
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
CommonRotationUserOptions()
public CommonRotationUserOptions()
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