Class HostedRotation
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.secretsmanager.HostedRotation
- All Implemented Interfaces:
IConnectable,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:20.422Z")
@Stability(Stable)
public class HostedRotation
extends software.amazon.jsii.JsiiObject
implements IConnectable
A hosted rotation.
Example:
Secret secret = new Secret(this, "Secret");
secret.addRotationSchedule("RotationSchedule", RotationScheduleOptions.builder()
.hostedRotation(HostedRotation.mysqlSingleUser())
.build());
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.IConnectable
IConnectable.Jsii$Default, IConnectable.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHostedRotation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedHostedRotation(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionBinds this hosted rotation to a secret.Security group connections for this hosted rotation.static HostedRotationMariaDB Multi User.static HostedRotationMariaDB Single User.static HostedRotationMariaDB Single User.static HostedRotationMongoDB Multi User.static HostedRotationMongoDB Single User.static HostedRotationMongoDB Single User.static HostedRotationMySQL Multi User.static HostedRotationMySQL Single User.static HostedRotationMySQL Single User.static HostedRotationOracle Multi User.static HostedRotationOracle Single User.static HostedRotationOracle Single User.static HostedRotationPostgreSQL Multi User.static HostedRotationPostgreSQL Single User.static HostedRotationPostgreSQL Single User.static HostedRotationRedshift Multi User.static HostedRotationRedshift Single User.static HostedRotationRedshift Single User.static HostedRotationSQL Server Multi User.static HostedRotationSQL Server Single User.static HostedRotationSQL Server Single User.Methods 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, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
HostedRotation
protected HostedRotation(software.amazon.jsii.JsiiObjectRef objRef) -
HostedRotation
protected HostedRotation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
mariaDbMultiUser
@Stability(Stable) @NotNull public static HostedRotation mariaDbMultiUser(@NotNull MultiUserHostedRotationOptions options) MariaDB Multi User.- Parameters:
options- This parameter is required.
-
mariaDbSingleUser
@Stability(Stable) @NotNull public static HostedRotation mariaDbSingleUser(@Nullable SingleUserHostedRotationOptions options) MariaDB Single User.- Parameters:
options-
-
mariaDbSingleUser
MariaDB Single User. -
mongoDbMultiUser
@Stability(Stable) @NotNull public static HostedRotation mongoDbMultiUser(@NotNull MultiUserHostedRotationOptions options) MongoDB Multi User.- Parameters:
options- This parameter is required.
-
mongoDbSingleUser
@Stability(Stable) @NotNull public static HostedRotation mongoDbSingleUser(@Nullable SingleUserHostedRotationOptions options) MongoDB Single User.- Parameters:
options-
-
mongoDbSingleUser
MongoDB Single User. -
mysqlMultiUser
@Stability(Stable) @NotNull public static HostedRotation mysqlMultiUser(@NotNull MultiUserHostedRotationOptions options) MySQL Multi User.- Parameters:
options- This parameter is required.
-
mysqlSingleUser
@Stability(Stable) @NotNull public static HostedRotation mysqlSingleUser(@Nullable SingleUserHostedRotationOptions options) MySQL Single User.- Parameters:
options-
-
mysqlSingleUser
MySQL Single User. -
oracleMultiUser
@Stability(Stable) @NotNull public static HostedRotation oracleMultiUser(@NotNull MultiUserHostedRotationOptions options) Oracle Multi User.- Parameters:
options- This parameter is required.
-
oracleSingleUser
@Stability(Stable) @NotNull public static HostedRotation oracleSingleUser(@Nullable SingleUserHostedRotationOptions options) Oracle Single User.- Parameters:
options-
-
oracleSingleUser
Oracle Single User. -
postgreSqlMultiUser
@Stability(Stable) @NotNull public static HostedRotation postgreSqlMultiUser(@NotNull MultiUserHostedRotationOptions options) PostgreSQL Multi User.- Parameters:
options- This parameter is required.
-
postgreSqlSingleUser
@Stability(Stable) @NotNull public static HostedRotation postgreSqlSingleUser(@Nullable SingleUserHostedRotationOptions options) PostgreSQL Single User.- Parameters:
options-
-
postgreSqlSingleUser
PostgreSQL Single User. -
redshiftMultiUser
@Stability(Stable) @NotNull public static HostedRotation redshiftMultiUser(@NotNull MultiUserHostedRotationOptions options) Redshift Multi User.- Parameters:
options- This parameter is required.
-
redshiftSingleUser
@Stability(Stable) @NotNull public static HostedRotation redshiftSingleUser(@Nullable SingleUserHostedRotationOptions options) Redshift Single User.- Parameters:
options-
-
redshiftSingleUser
Redshift Single User. -
sqlServerMultiUser
@Stability(Stable) @NotNull public static HostedRotation sqlServerMultiUser(@NotNull MultiUserHostedRotationOptions options) SQL Server Multi User.- Parameters:
options- This parameter is required.
-
sqlServerSingleUser
@Stability(Stable) @NotNull public static HostedRotation sqlServerSingleUser(@Nullable SingleUserHostedRotationOptions options) SQL Server Single User.- Parameters:
options-
-
sqlServerSingleUser
SQL Server Single User. -
bind
@Stability(Stable) @NotNull public CfnRotationSchedule.HostedRotationLambdaProperty bind(@NotNull ISecret secret, @NotNull software.constructs.Construct scope) Binds this hosted rotation to a secret.- Parameters:
secret- This parameter is required.scope- This parameter is required.
-
getConnections
Security group connections for this hosted rotation.- Specified by:
getConnectionsin interfaceIConnectable
-