Show / Hide Table of Contents

Class RotationSchedule

A rotation schedule.

Inheritance
object
Resource
RotationSchedule
Implements
IResource
IConstruct
IDependable
IEnvironmentAware
Inherited Members
Resource.IsOwnedResource(IConstruct)
Resource.IsResource(IConstruct)
Resource.ApplyCrossStackReferenceStrength(ReferenceStrength)
Resource.ApplyRemovalPolicy(RemovalPolicy)
Resource.GeneratePhysicalName()
Resource.GetResourceArnAttribute(string, IArnComponents)
Resource.GetResourceNameAttribute(string)
Resource.With(params IMixin[])
Resource.Env
Resource.PhysicalName
Resource.Stack
Namespace: Amazon.CDK.AWS.SecretsManager
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RotationSchedule : Resource, IResource, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class RotationSchedule Inherits Resource Implements IResource, IConstruct, IDependable, IEnvironmentAware
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(Construct, string, IRotationScheduleProps)

A rotation schedule.

Properties

PROPERTY_INJECTION_ID

Uniquely identifies this class.

Constructors

RotationSchedule(Construct, string, IRotationScheduleProps)

A rotation schedule.

public RotationSchedule(Construct scope, string id, IRotationScheduleProps props)
Parameters
scope Construct
id string
props IRotationScheduleProps
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_
            });

Properties

PROPERTY_INJECTION_ID

Uniquely identifies this class.

public static string PROPERTY_INJECTION_ID { get; }
Property Value

string

Remarks

ExampleMetadata: fixture=_generated

Implements

IResource
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
Back to top Generated by DocFX