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();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forSecretRotationApplication
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SecretRotationApplication
Conducts an AWS SecretsManager secret rotation for RDS MariaDB using the multi user rotation scheme.static final SecretRotationApplication
Conducts an AWS SecretsManager secret rotation for RDS MariaDB using the single user rotation scheme.static final SecretRotationApplication
Conducts an AWS SecretsManager secret rotation for MongoDB using the multi user rotation scheme.static final SecretRotationApplication
Conducts an AWS SecretsManager secret rotation for MongoDB using the single user rotation scheme.static final SecretRotationApplication
Conducts an AWS SecretsManager secret rotation for RDS MySQL using the multi user rotation scheme.static final SecretRotationApplication
Conducts an AWS SecretsManager secret rotation for RDS MySQL using the single user rotation scheme.static final SecretRotationApplication
Conducts an AWS SecretsManager secret rotation for RDS Oracle using the multi user rotation scheme.static final SecretRotationApplication
Conducts an AWS SecretsManager secret rotation for RDS Oracle using the single user rotation scheme.static final SecretRotationApplication
Conducts an AWS SecretsManager secret rotation for RDS PostgreSQL using the multi user rotation scheme.static final SecretRotationApplication
Conducts an AWS SecretsManager secret rotation for RDS PostgreSQL using the single user rotation scheme.static final SecretRotationApplication
Conducts an AWS SecretsManager secret rotation for Amazon Redshift using the multi user rotation scheme.static final SecretRotationApplication
Conducts an AWS SecretsManager secret rotation for Amazon Redshift using the single user rotation scheme.static final SecretRotationApplication
Conducts an AWS SecretsManager secret rotation for RDS SQL Server using the multi user rotation scheme.static final SecretRotationApplication
Conducts an AWS SecretsManager secret rotation for RDS SQL Server using the single user rotation scheme. -
Constructor Summary
ModifierConstructorDescriptionSecretRotationApplication
(String applicationId, String semanticVersion) SecretRotationApplication
(String applicationId, String semanticVersion, SecretRotationApplicationOptions options) protected
SecretRotationApplication
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
SecretRotationApplication
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionapplicationArnForPartition
(String partition) Returns the application ARN for the current partition.Whether the rotation application uses the mutli user scheme.semanticVersionForPartition
(String partition) The semantic version of the app for the current partition.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, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
MARIADB_ROTATION_MULTI_USER
Conducts an AWS SecretsManager secret rotation for RDS MariaDB using the multi user rotation scheme. -
MARIADB_ROTATION_SINGLE_USER
Conducts an AWS SecretsManager secret rotation for RDS MariaDB using the single user rotation scheme. -
MONGODB_ROTATION_MULTI_USER
Conducts an AWS SecretsManager secret rotation for MongoDB using the multi user rotation scheme. -
MONGODB_ROTATION_SINGLE_USER
Conducts an AWS SecretsManager secret rotation for MongoDB using the single user rotation scheme. -
MYSQL_ROTATION_MULTI_USER
Conducts an AWS SecretsManager secret rotation for RDS MySQL using the multi user rotation scheme. -
MYSQL_ROTATION_SINGLE_USER
Conducts an AWS SecretsManager secret rotation for RDS MySQL using the single user rotation scheme. -
ORACLE_ROTATION_MULTI_USER
Conducts an AWS SecretsManager secret rotation for RDS Oracle using the multi user rotation scheme. -
ORACLE_ROTATION_SINGLE_USER
Conducts an AWS SecretsManager secret rotation for RDS Oracle using the single user rotation scheme. -
POSTGRES_ROTATION_MULTI_USER
Conducts an AWS SecretsManager secret rotation for RDS PostgreSQL using the multi user rotation scheme. -
POSTGRES_ROTATION_SINGLE_USER
Conducts an AWS SecretsManager secret rotation for RDS PostgreSQL using the single user rotation scheme. -
REDSHIFT_ROTATION_MULTI_USER
Conducts an AWS SecretsManager secret rotation for Amazon Redshift using the multi user rotation scheme. -
REDSHIFT_ROTATION_SINGLE_USER
Conducts an AWS SecretsManager secret rotation for Amazon Redshift using the single user rotation scheme. -
SQLSERVER_ROTATION_MULTI_USER
Conducts an AWS SecretsManager secret rotation for RDS SQL Server using the multi user rotation scheme. -
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
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
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
Whether the rotation application uses the mutli user scheme.
-