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.97.0 (build 729de35)",
date="2024-04-18T17:54:24.679Z")
@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 classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
SecretRotation
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
SecretRotation
(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, toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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.
-