SecretRotationApplication

class aws_cdk.aws_secretsmanager.SecretRotationApplication(application_id, semantic_version, *, is_multi_user=None)

Bases: object

A secret rotation serverless application.

Parameters
  • application_id (str) –

  • semantic_version (str) –

  • is_multi_user (Optional[bool]) – Whether the rotation application uses the mutli user scheme. Default: false

Methods

application_arn_for_partition(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 (str) –

Return type

str

semantic_version_for_partition(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 (str) –

Return type

str

Attributes

MARIADB_ROTATION_MULTI_USER = <aws_cdk.aws_secretsmanager.SecretRotationApplication object>
MARIADB_ROTATION_SINGLE_USER = <aws_cdk.aws_secretsmanager.SecretRotationApplication object>
MONGODB_ROTATION_MULTI_USER = <aws_cdk.aws_secretsmanager.SecretRotationApplication object>
MONGODB_ROTATION_SINGLE_USER = <aws_cdk.aws_secretsmanager.SecretRotationApplication object>
MYSQL_ROTATION_MULTI_USER = <aws_cdk.aws_secretsmanager.SecretRotationApplication object>
MYSQL_ROTATION_SINGLE_USER = <aws_cdk.aws_secretsmanager.SecretRotationApplication object>
ORACLE_ROTATION_MULTI_USER = <aws_cdk.aws_secretsmanager.SecretRotationApplication object>
ORACLE_ROTATION_SINGLE_USER = <aws_cdk.aws_secretsmanager.SecretRotationApplication object>
POSTGRES_ROTATION_MULTI_USER = <aws_cdk.aws_secretsmanager.SecretRotationApplication object>
POSTGRES_ROTATION_SINGLE_USER = <aws_cdk.aws_secretsmanager.SecretRotationApplication object>
REDSHIFT_ROTATION_MULTI_USER = <aws_cdk.aws_secretsmanager.SecretRotationApplication object>
REDSHIFT_ROTATION_SINGLE_USER = <aws_cdk.aws_secretsmanager.SecretRotationApplication object>
SQLSERVER_ROTATION_MULTI_USER = <aws_cdk.aws_secretsmanager.SecretRotationApplication object>
SQLSERVER_ROTATION_SINGLE_USER = <aws_cdk.aws_secretsmanager.SecretRotationApplication object>
application_id

(deprecated) The application identifier of the rotation application.

Deprecated

only valid when deploying to the ‘aws’ partition. Use applicationArnForPartition instead.

Stability

deprecated

Return type

str

is_multi_user

Whether the rotation application uses the mutli user scheme.

Return type

Optional[bool]

semantic_version

(deprecated) The semantic version of the rotation application.

Deprecated

only valid when deploying to the ‘aws’ partition. Use semanticVersionForPartition instead.

Stability

deprecated

Return type

str