Class RotationSchedule
A rotation schedule.
Inherited Members
Namespace: Amazon.CDK.AWS.SecretsManager
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RotationSchedule : Resource, IResource
Syntax (vb)
Public Class RotationSchedule
Inherits Resource
Implements IResource
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;
using Amazon.CDK.AWS.Lambda;
using Amazon.CDK.AWS.SecretsManager;
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,
RotateImmediatelyOnUpdate = false,
RotationLambda = function_
});
Synopsis
Constructors
RotationSchedule(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
RotationSchedule(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
RotationSchedule(Construct, String, IRotationScheduleProps) |
Constructors
RotationSchedule(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected RotationSchedule(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
RotationSchedule(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected RotationSchedule(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
RotationSchedule(Construct, String, IRotationScheduleProps)
public RotationSchedule(Construct scope, string id, IRotationScheduleProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IRotationScheduleProps
Implements
Constructs.IConstruct
Constructs.IDependable