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.84.0 (build 5404dcf)", date="2023-06-19T16:30:41.287Z") @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());
 
  • 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

      @Stability(Stable) @NotNull public static HostedRotation 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

      @Stability(Stable) @NotNull public static HostedRotation 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

      @Stability(Stable) @NotNull public static HostedRotation 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

      @Stability(Stable) @NotNull public static HostedRotation 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

      @Stability(Stable) @NotNull public static HostedRotation 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

      @Stability(Stable) @NotNull public static HostedRotation 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

      @Stability(Stable) @NotNull public static HostedRotation 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

      @Stability(Stable) @NotNull public Connections getConnections()
      Security group connections for this hosted rotation.
      Specified by:
      getConnections in interface IConnectable