Class RotationSchedule

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.secretsmanager.RotationSchedule
All Implemented Interfaces:
IResource, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-17T21:37:39.214Z") @Stability(Stable) public class RotationSchedule extends Resource
A rotation schedule.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.*;
 import software.amazon.awscdk.services.lambda.*;
 import software.amazon.awscdk.services.secretsmanager.*;
 Function function_;
 HostedRotation hostedRotation;
 Secret secret;
 RotationSchedule rotationSchedule = RotationSchedule.Builder.create(this, "MyRotationSchedule")
         .secret(secret)
         // the properties below are optional
         .automaticallyAfter(Duration.minutes(30))
         .hostedRotation(hostedRotation)
         .rotateImmediatelyOnUpdate(false)
         .rotationLambda(function_)
         .build();
 
  • Constructor Details

    • RotationSchedule

      protected RotationSchedule(software.amazon.jsii.JsiiObjectRef objRef)
    • RotationSchedule

      protected RotationSchedule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • RotationSchedule

      @Stability(Stable) public RotationSchedule(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull RotationScheduleProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.