Class SecretRotation
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.services.secretsmanager.SecretRotation
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:14.126Z")
@Stability(Stable)
public class SecretRotation
extends software.constructs.Construct
Secret rotation for a service or database.
Example:
Secret myUserSecret;
Secret myMasterSecret;
IConnectable myDatabase;
Vpc myVpc;
SecretRotation.Builder.create(this, "SecretRotation")
.application(SecretRotationApplication.MYSQL_ROTATION_MULTI_USER)
.secret(myUserSecret) // The secret that will be rotated
.masterSecret(myMasterSecret) // The secret used for the rotation
.target(myDatabase)
.vpc(myVpc)
.build();
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSecretRotation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedSecretRotation(software.amazon.jsii.JsiiObjectRef objRef) SecretRotation(software.constructs.Construct scope, String id, SecretRotationProps props) -
Method Summary
Methods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
SecretRotation
protected SecretRotation(software.amazon.jsii.JsiiObjectRef objRef) -
SecretRotation
protected SecretRotation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
SecretRotation
@Stability(Stable) public SecretRotation(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull SecretRotationProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.
-