Class SecretRotationApplication

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.secretsmanager.SecretRotationApplication
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-06T14:43:27.048Z") @Stability(Stable) public class SecretRotationApplication extends software.amazon.jsii.JsiiObject
A secret rotation serverless application.

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();
 
  • Field Details

    • MARIADB_ROTATION_MULTI_USER

      @Stability(Stable) public static final SecretRotationApplication MARIADB_ROTATION_MULTI_USER
      Conducts an AWS SecretsManager secret rotation for RDS MariaDB using the multi user rotation scheme.
    • MARIADB_ROTATION_SINGLE_USER

      @Stability(Stable) public static final SecretRotationApplication MARIADB_ROTATION_SINGLE_USER
      Conducts an AWS SecretsManager secret rotation for RDS MariaDB using the single user rotation scheme.
    • MONGODB_ROTATION_MULTI_USER

      @Stability(Stable) public static final SecretRotationApplication MONGODB_ROTATION_MULTI_USER
      Conducts an AWS SecretsManager secret rotation for MongoDB using the multi user rotation scheme.
    • MONGODB_ROTATION_SINGLE_USER

      @Stability(Stable) public static final SecretRotationApplication MONGODB_ROTATION_SINGLE_USER
      Conducts an AWS SecretsManager secret rotation for MongoDB using the single user rotation scheme.
    • MYSQL_ROTATION_MULTI_USER

      @Stability(Stable) public static final SecretRotationApplication MYSQL_ROTATION_MULTI_USER
      Conducts an AWS SecretsManager secret rotation for RDS MySQL using the multi user rotation scheme.
    • MYSQL_ROTATION_SINGLE_USER

      @Stability(Stable) public static final SecretRotationApplication MYSQL_ROTATION_SINGLE_USER
      Conducts an AWS SecretsManager secret rotation for RDS MySQL using the single user rotation scheme.
    • ORACLE_ROTATION_MULTI_USER

      @Stability(Stable) public static final SecretRotationApplication ORACLE_ROTATION_MULTI_USER
      Conducts an AWS SecretsManager secret rotation for RDS Oracle using the multi user rotation scheme.
    • ORACLE_ROTATION_SINGLE_USER

      @Stability(Stable) public static final SecretRotationApplication ORACLE_ROTATION_SINGLE_USER
      Conducts an AWS SecretsManager secret rotation for RDS Oracle using the single user rotation scheme.
    • POSTGRES_ROTATION_MULTI_USER

      @Stability(Stable) public static final SecretRotationApplication POSTGRES_ROTATION_MULTI_USER
      Conducts an AWS SecretsManager secret rotation for RDS PostgreSQL using the multi user rotation scheme.
    • POSTGRES_ROTATION_SINGLE_USER

      @Stability(Stable) public static final SecretRotationApplication POSTGRES_ROTATION_SINGLE_USER
      Conducts an AWS SecretsManager secret rotation for RDS PostgreSQL using the single user rotation scheme.
    • REDSHIFT_ROTATION_MULTI_USER

      @Stability(Stable) public static final SecretRotationApplication REDSHIFT_ROTATION_MULTI_USER
      Conducts an AWS SecretsManager secret rotation for Amazon Redshift using the multi user rotation scheme.
    • REDSHIFT_ROTATION_SINGLE_USER

      @Stability(Stable) public static final SecretRotationApplication REDSHIFT_ROTATION_SINGLE_USER
      Conducts an AWS SecretsManager secret rotation for Amazon Redshift using the single user rotation scheme.
    • SQLSERVER_ROTATION_MULTI_USER

      @Stability(Stable) public static final SecretRotationApplication SQLSERVER_ROTATION_MULTI_USER
      Conducts an AWS SecretsManager secret rotation for RDS SQL Server using the multi user rotation scheme.
    • SQLSERVER_ROTATION_SINGLE_USER

      @Stability(Stable) public static final SecretRotationApplication SQLSERVER_ROTATION_SINGLE_USER
      Conducts an AWS SecretsManager secret rotation for RDS SQL Server using the single user rotation scheme.
  • Constructor Details

    • SecretRotationApplication

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

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

      @Stability(Stable) public SecretRotationApplication(@NotNull String applicationId, @NotNull String semanticVersion, @Nullable SecretRotationApplicationOptions options)
      Parameters:
      applicationId - This parameter is required.
      semanticVersion - This parameter is required.
      options -
    • SecretRotationApplication

      @Stability(Stable) public SecretRotationApplication(@NotNull String applicationId, @NotNull String semanticVersion)
      Parameters:
      applicationId - This parameter is required.
      semanticVersion - This parameter is required.
  • Method Details

    • applicationArnForPartition

      @Stability(Stable) @NotNull public String applicationArnForPartition(@NotNull String partition)
      Returns the application ARN for the current partition.

      Can be used in combination with a CfnMapping to automatically select the correct ARN based on the current partition.

      Parameters:
      partition - This parameter is required.
    • semanticVersionForPartition

      @Stability(Stable) @NotNull public String semanticVersionForPartition(@NotNull String partition)
      The semantic version of the app for the current partition.

      Can be used in combination with a CfnMapping to automatically select the correct version based on the current partition.

      Parameters:
      partition - This parameter is required.
    • getIsMultiUser

      @Stability(Stable) @Nullable public Boolean getIsMultiUser()
      Whether the rotation application uses the mutli user scheme.