Table of Contents

Class RotationSchedule

Namespace
Amazon.CDK.AWS.SecretsManager
Assembly
Amazon.CDK.AWS.SecretsManager.dll

A rotation schedule.

public class RotationSchedule : Resource
Inheritance
RotationSchedule

Examples

// The code below shows an example of how to instantiate this type.
            // The values are placeholders you should change.
            using Amazon.CDK.AWS.Lambda;
            using Amazon.CDK.AWS.SecretsManager;
            using Amazon.CDK;

            Function function_;
            HostedRotation hostedRotation;
            Secret secret;
            var rotationSchedule = new RotationSchedule(this, "MyRotationSchedule", new RotationScheduleProps {
                Secret = secret,

                // the properties below are optional
                AutomaticallyAfter = Duration.Minutes(30),
                HostedRotation = hostedRotation,
                RotationLambda = function_
            });

Remarks

ExampleMetadata: fixture=_generated

Constructors

RotationSchedule(Construct, string, IRotationScheduleProps)

public RotationSchedule(Construct scope, string id, IRotationScheduleProps props)

Parameters

scope Construct
id string
props IRotationScheduleProps