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.84.0 (build 5404dcf)",
           date="2023-06-19T16:30:41.309Z")
@Stability(Stable)
public class SecretRotationApplication
extends software.amazon.jsii.JsiiObject
A secret rotation serverless application.
 
Example:
 Secret mySecret;
 IConnectable myDatabase;
 Vpc myVpc;
 SecretRotation.Builder.create(this, "SecretRotation")
         .application(SecretRotationApplication.MYSQL_ROTATION_SINGLE_USER) // MySQL single user scheme
         .secret(mySecret)
         .target(myDatabase) // a Connectable
         .vpc(myVpc) // The VPC where the secret rotation application will be deployed
         .excludeCharacters(" %+:;{}")
         .build();
 - 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forSecretRotationApplication.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationMode
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final SecretRotationApplicationConducts an AWS SecretsManager secret rotation for RDS MariaDB using the multi user rotation scheme.static final SecretRotationApplicationConducts an AWS SecretsManager secret rotation for RDS MariaDB using the single user rotation scheme.static final SecretRotationApplicationConducts an AWS SecretsManager secret rotation for MongoDB using the multi user rotation scheme.static final SecretRotationApplicationConducts an AWS SecretsManager secret rotation for MongoDB using the single user rotation scheme.static final SecretRotationApplicationConducts an AWS SecretsManager secret rotation for RDS MySQL using the multi user rotation scheme.static final SecretRotationApplicationConducts an AWS SecretsManager secret rotation for RDS MySQL using the single user rotation scheme.static final SecretRotationApplicationConducts an AWS SecretsManager secret rotation for RDS Oracle using the multi user rotation scheme.static final SecretRotationApplicationConducts an AWS SecretsManager secret rotation for RDS Oracle using the single user rotation scheme.static final SecretRotationApplicationConducts an AWS SecretsManager secret rotation for RDS PostgreSQL using the multi user rotation scheme.static final SecretRotationApplicationConducts an AWS SecretsManager secret rotation for RDS PostgreSQL using the single user rotation scheme.static final SecretRotationApplicationConducts an AWS SecretsManager secret rotation for Amazon Redshift using the multi user rotation scheme.static final SecretRotationApplicationConducts an AWS SecretsManager secret rotation for Amazon Redshift using the single user rotation scheme.static final SecretRotationApplicationConducts an AWS SecretsManager secret rotation for RDS SQL Server using the multi user rotation scheme.static final SecretRotationApplicationConducts an AWS SecretsManager secret rotation for RDS SQL Server using the single user rotation scheme.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionSecretRotationApplication(String applicationId, String semanticVersion) SecretRotationApplication(String applicationId, String semanticVersion, SecretRotationApplicationOptions options) protectedSecretRotationApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedSecretRotationApplication(software.amazon.jsii.JsiiObjectRef objRef) 
- 
Method SummaryModifier and TypeMethodDescriptionapplicationArnForPartition(String partition) Returns the application ARN for the current partition.Deprecated.only valid when deploying to the 'aws' partition.Whether the rotation application uses the mutli user scheme.Deprecated.only valid when deploying to the 'aws' partition.semanticVersionForPartition(String partition) The semantic version of the app for the current partition.Methods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Field Details- 
MARIADB_ROTATION_MULTI_USERConducts an AWS SecretsManager secret rotation for RDS MariaDB using the multi user rotation scheme.
- 
MARIADB_ROTATION_SINGLE_USERConducts an AWS SecretsManager secret rotation for RDS MariaDB using the single user rotation scheme.
- 
MONGODB_ROTATION_MULTI_USERConducts an AWS SecretsManager secret rotation for MongoDB using the multi user rotation scheme.
- 
MONGODB_ROTATION_SINGLE_USERConducts an AWS SecretsManager secret rotation for MongoDB using the single user rotation scheme.
- 
MYSQL_ROTATION_MULTI_USERConducts an AWS SecretsManager secret rotation for RDS MySQL using the multi user rotation scheme.
- 
MYSQL_ROTATION_SINGLE_USERConducts an AWS SecretsManager secret rotation for RDS MySQL using the single user rotation scheme.
- 
ORACLE_ROTATION_MULTI_USERConducts an AWS SecretsManager secret rotation for RDS Oracle using the multi user rotation scheme.
- 
ORACLE_ROTATION_SINGLE_USERConducts an AWS SecretsManager secret rotation for RDS Oracle using the single user rotation scheme.
- 
POSTGRES_ROTATION_MULTI_USERConducts an AWS SecretsManager secret rotation for RDS PostgreSQL using the multi user rotation scheme.
- 
POSTGRES_ROTATION_SINGLE_USERConducts an AWS SecretsManager secret rotation for RDS PostgreSQL using the single user rotation scheme.
- 
REDSHIFT_ROTATION_MULTI_USERConducts an AWS SecretsManager secret rotation for Amazon Redshift using the multi user rotation scheme.
- 
REDSHIFT_ROTATION_SINGLE_USERConducts an AWS SecretsManager secret rotation for Amazon Redshift using the single user rotation scheme.
- 
SQLSERVER_ROTATION_MULTI_USERConducts an AWS SecretsManager secret rotation for RDS SQL Server using the multi user rotation scheme.
- 
SQLSERVER_ROTATION_SINGLE_USERConducts an AWS SecretsManager secret rotation for RDS SQL Server using the single user rotation scheme.
 
- 
- 
Constructor Details- 
SecretRotationApplicationprotected SecretRotationApplication(software.amazon.jsii.JsiiObjectRef objRef) 
- 
SecretRotationApplicationprotected 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- 
applicationArnForPartitionReturns the application ARN for the current partition.Can be used in combination with a CfnMappingto automatically select the correct ARN based on the current partition.- Parameters:
- partition- This parameter is required.
 
- 
semanticVersionForPartitionThe semantic version of the app for the current partition.Can be used in combination with a CfnMappingto automatically select the correct version based on the current partition.- Parameters:
- partition- This parameter is required.
 
- 
getApplicationIdDeprecated.only valid when deploying to the 'aws' partition. UseapplicationArnForPartitioninstead.(deprecated) The application identifier of the rotation application.
- 
getSemanticVersionDeprecated.only valid when deploying to the 'aws' partition. UsesemanticVersionForPartitioninstead.(deprecated) The semantic version of the rotation application.
- 
getIsMultiUserWhether the rotation application uses the mutli user scheme.
 
-