@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-28T21:34:23.806Z")
public class SecretRotationApplication
extends software.amazon.jsii.JsiiObject
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();
Modifier and Type | Class and Description |
---|---|
static class |
SecretRotationApplication.Builder
A fluent builder for
SecretRotationApplication . |
Modifier and Type | Field and Description |
---|---|
static SecretRotationApplication |
MARIADB_ROTATION_MULTI_USER
Conducts an AWS SecretsManager secret rotation for RDS MariaDB using the multi user rotation scheme.
|
static SecretRotationApplication |
MARIADB_ROTATION_SINGLE_USER
Conducts an AWS SecretsManager secret rotation for RDS MariaDB using the single user rotation scheme.
|
static SecretRotationApplication |
MONGODB_ROTATION_MULTI_USER
Conducts an AWS SecretsManager secret rotation for MongoDB using the multi user rotation scheme.
|
static SecretRotationApplication |
MONGODB_ROTATION_SINGLE_USER
Conducts an AWS SecretsManager secret rotation for MongoDB using the single user rotation scheme.
|
static SecretRotationApplication |
MYSQL_ROTATION_MULTI_USER
Conducts an AWS SecretsManager secret rotation for RDS MySQL using the multi user rotation scheme.
|
static SecretRotationApplication |
MYSQL_ROTATION_SINGLE_USER
Conducts an AWS SecretsManager secret rotation for RDS MySQL using the single user rotation scheme.
|
static SecretRotationApplication |
ORACLE_ROTATION_MULTI_USER
Conducts an AWS SecretsManager secret rotation for RDS Oracle using the multi user rotation scheme.
|
static SecretRotationApplication |
ORACLE_ROTATION_SINGLE_USER
Conducts an AWS SecretsManager secret rotation for RDS Oracle using the single user rotation scheme.
|
static SecretRotationApplication |
POSTGRES_ROTATION_MULTI_USER
Conducts an AWS SecretsManager secret rotation for RDS PostgreSQL using the multi user rotation scheme.
|
static SecretRotationApplication |
POSTGRES_ROTATION_SINGLE_USER
Conducts an AWS SecretsManager secret rotation for RDS PostgreSQL using the single user rotation scheme.
|
static SecretRotationApplication |
REDSHIFT_ROTATION_MULTI_USER
Conducts an AWS SecretsManager secret rotation for Amazon Redshift using the multi user rotation scheme.
|
static SecretRotationApplication |
REDSHIFT_ROTATION_SINGLE_USER
Conducts an AWS SecretsManager secret rotation for Amazon Redshift using the single user rotation scheme.
|
static SecretRotationApplication |
SQLSERVER_ROTATION_MULTI_USER
Conducts an AWS SecretsManager secret rotation for RDS SQL Server using the multi user rotation scheme.
|
static SecretRotationApplication |
SQLSERVER_ROTATION_SINGLE_USER
Conducts an AWS SecretsManager secret rotation for RDS SQL Server using the single user rotation scheme.
|
Modifier | Constructor and Description |
---|---|
protected |
SecretRotationApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
SecretRotationApplication(software.amazon.jsii.JsiiObjectRef objRef) |
|
SecretRotationApplication(java.lang.String applicationId,
java.lang.String semanticVersion) |
|
SecretRotationApplication(java.lang.String applicationId,
java.lang.String semanticVersion,
SecretRotationApplicationOptions options) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
applicationArnForPartition(java.lang.String partition)
Returns the application ARN for the current partition.
|
java.lang.String |
getApplicationId()
Deprecated.
only valid when deploying to the 'aws' partition. Use `applicationArnForPartition` instead.
|
java.lang.Boolean |
getIsMultiUser()
Whether the rotation application uses the mutli user scheme.
|
java.lang.String |
getSemanticVersion()
Deprecated.
only valid when deploying to the 'aws' partition. Use `semanticVersionForPartition` instead.
|
java.lang.String |
semanticVersionForPartition(java.lang.String partition)
The semantic version of the app for the current partition.
|
public static final SecretRotationApplication MARIADB_ROTATION_MULTI_USER
public static final SecretRotationApplication MARIADB_ROTATION_SINGLE_USER
public static final SecretRotationApplication MONGODB_ROTATION_MULTI_USER
public static final SecretRotationApplication MONGODB_ROTATION_SINGLE_USER
public static final SecretRotationApplication MYSQL_ROTATION_MULTI_USER
public static final SecretRotationApplication MYSQL_ROTATION_SINGLE_USER
public static final SecretRotationApplication ORACLE_ROTATION_MULTI_USER
public static final SecretRotationApplication ORACLE_ROTATION_SINGLE_USER
public static final SecretRotationApplication POSTGRES_ROTATION_MULTI_USER
public static final SecretRotationApplication POSTGRES_ROTATION_SINGLE_USER
public static final SecretRotationApplication REDSHIFT_ROTATION_MULTI_USER
public static final SecretRotationApplication REDSHIFT_ROTATION_SINGLE_USER
public static final SecretRotationApplication SQLSERVER_ROTATION_MULTI_USER
public static final SecretRotationApplication SQLSERVER_ROTATION_SINGLE_USER
protected SecretRotationApplication(software.amazon.jsii.JsiiObjectRef objRef)
protected SecretRotationApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public SecretRotationApplication(java.lang.String applicationId, java.lang.String semanticVersion, SecretRotationApplicationOptions options)
applicationId
- This parameter is required.semanticVersion
- This parameter is required.options
- public SecretRotationApplication(java.lang.String applicationId, java.lang.String semanticVersion)
applicationId
- This parameter is required.semanticVersion
- This parameter is required.public java.lang.String applicationArnForPartition(java.lang.String partition)
Can be used in combination with a CfnMapping
to automatically select the correct ARN based on the current partition.
partition
- This parameter is required.public java.lang.String semanticVersionForPartition(java.lang.String partition)
Can be used in combination with a CfnMapping
to automatically select the correct version based on the current partition.
partition
- This parameter is required.@Deprecated public java.lang.String getApplicationId()
@Deprecated public java.lang.String getSemanticVersion()
public java.lang.Boolean getIsMultiUser()