Class SecretRotationApplication
A secret rotation serverless application.
Inheritance
Namespace: Amazon.CDK.AWS.SecretsManager
Assembly: Amazon.CDK.AWS.SecretsManager.dll
Syntax (csharp)
public class SecretRotationApplication : DeputyBase
Syntax (vb)
Public Class SecretRotationApplication
Inherits DeputyBase
Remarks
ExampleMetadata: infused
Examples
Secret mySecret;
IConnectable myDatabase;
Vpc myVpc;
new SecretRotation(this, "SecretRotation", new SecretRotationProps {
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 = " %+:;{}"
});
Synopsis
Constructors
SecretRotationApplication(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
SecretRotationApplication(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
SecretRotationApplication(String, String, ISecretRotationApplicationOptions) |
Properties
ApplicationId | (deprecated) The application identifier of the rotation application. |
IsMultiUser | Whether the rotation application uses the mutli user scheme. |
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. |
SemanticVersion | (deprecated) The semantic version of the rotation application. |
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. |
Methods
ApplicationArnForPartition(String) | Returns the application ARN for the current partition. |
SemanticVersionForPartition(String) | The semantic version of the app for the current partition. |
Constructors
SecretRotationApplication(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected SecretRotationApplication(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
SecretRotationApplication(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected SecretRotationApplication(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
SecretRotationApplication(String, String, ISecretRotationApplicationOptions)
public SecretRotationApplication(string applicationId, string semanticVersion, ISecretRotationApplicationOptions options = null)
Parameters
- applicationId System.String
- semanticVersion System.String
- options ISecretRotationApplicationOptions
Properties
ApplicationId
(deprecated) The application identifier of the rotation application.
public virtual string ApplicationId { get; }
Property Value
System.String
Remarks
Stability: Deprecated
IsMultiUser
Whether the rotation application uses the mutli user scheme.
public virtual Nullable<bool> IsMultiUser { get; }
Property Value
System.Nullable<System.Boolean>
MARIADB_ROTATION_MULTI_USER
Conducts an AWS SecretsManager secret rotation for RDS MariaDB using the multi user rotation scheme.
public static SecretRotationApplication MARIADB_ROTATION_MULTI_USER { get; }
Property Value
MARIADB_ROTATION_SINGLE_USER
Conducts an AWS SecretsManager secret rotation for RDS MariaDB using the single user rotation scheme.
public static SecretRotationApplication MARIADB_ROTATION_SINGLE_USER { get; }
Property Value
MONGODB_ROTATION_MULTI_USER
Conducts an AWS SecretsManager secret rotation for MongoDB using the multi user rotation scheme.
public static SecretRotationApplication MONGODB_ROTATION_MULTI_USER { get; }
Property Value
MONGODB_ROTATION_SINGLE_USER
Conducts an AWS SecretsManager secret rotation for MongoDB using the single user rotation scheme.
public static SecretRotationApplication MONGODB_ROTATION_SINGLE_USER { get; }
Property Value
MYSQL_ROTATION_MULTI_USER
Conducts an AWS SecretsManager secret rotation for RDS MySQL using the multi user rotation scheme.
public static SecretRotationApplication MYSQL_ROTATION_MULTI_USER { get; }
Property Value
MYSQL_ROTATION_SINGLE_USER
Conducts an AWS SecretsManager secret rotation for RDS MySQL using the single user rotation scheme.
public static SecretRotationApplication MYSQL_ROTATION_SINGLE_USER { get; }
Property Value
ORACLE_ROTATION_MULTI_USER
Conducts an AWS SecretsManager secret rotation for RDS Oracle using the multi user rotation scheme.
public static SecretRotationApplication ORACLE_ROTATION_MULTI_USER { get; }
Property Value
ORACLE_ROTATION_SINGLE_USER
Conducts an AWS SecretsManager secret rotation for RDS Oracle using the single user rotation scheme.
public static SecretRotationApplication ORACLE_ROTATION_SINGLE_USER { get; }
Property Value
POSTGRES_ROTATION_MULTI_USER
Conducts an AWS SecretsManager secret rotation for RDS PostgreSQL using the multi user rotation scheme.
public static SecretRotationApplication POSTGRES_ROTATION_MULTI_USER { get; }
Property Value
POSTGRES_ROTATION_SINGLE_USER
Conducts an AWS SecretsManager secret rotation for RDS PostgreSQL using the single user rotation scheme.
public static SecretRotationApplication POSTGRES_ROTATION_SINGLE_USER { get; }
Property Value
REDSHIFT_ROTATION_MULTI_USER
Conducts an AWS SecretsManager secret rotation for Amazon Redshift using the multi user rotation scheme.
public static SecretRotationApplication REDSHIFT_ROTATION_MULTI_USER { get; }
Property Value
REDSHIFT_ROTATION_SINGLE_USER
Conducts an AWS SecretsManager secret rotation for Amazon Redshift using the single user rotation scheme.
public static SecretRotationApplication REDSHIFT_ROTATION_SINGLE_USER { get; }
Property Value
SemanticVersion
(deprecated) The semantic version of the rotation application.
public virtual string SemanticVersion { get; }
Property Value
System.String
Remarks
Stability: Deprecated
SQLSERVER_ROTATION_MULTI_USER
Conducts an AWS SecretsManager secret rotation for RDS SQL Server using the multi user rotation scheme.
public static SecretRotationApplication SQLSERVER_ROTATION_MULTI_USER { get; }
Property Value
SQLSERVER_ROTATION_SINGLE_USER
Conducts an AWS SecretsManager secret rotation for RDS SQL Server using the single user rotation scheme.
public static SecretRotationApplication SQLSERVER_ROTATION_SINGLE_USER { get; }
Property Value
Methods
ApplicationArnForPartition(String)
Returns the application ARN for the current partition.
public virtual string ApplicationArnForPartition(string partition)
Parameters
- partition System.String
Returns
System.String
Remarks
Can be used in combination with a CfnMapping
to automatically select the correct ARN based on the current partition.
SemanticVersionForPartition(String)
The semantic version of the app for the current partition.
public virtual string SemanticVersionForPartition(string partition)
Parameters
- partition System.String
Returns
System.String
Remarks
Can be used in combination with a CfnMapping
to automatically select the correct version based on the current partition.