Skip to content
v2.277.0

HostedRotationType Class ​

Hosted rotation type.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_secretsmanager as secretsmanager } from 'aws-cdk-lib';
const hostedRotationType = secretsmanager.HostedRotationType.MARIADB_MULTI_USER;
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_secretsmanager as secretsmanager

hosted_rotation_type = secretsmanager.HostedRotationType.MARIADB_MULTI_USER
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.secretsmanager.*;

HostedRotationType hostedRotationType = HostedRotationType.MARIADB_MULTI_USER;
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SecretsManager;

var hostedRotationType = HostedRotationType.MARIADB_MULTI_USER;
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

hostedRotationType := awscdk.Aws_secretsmanager.HostedRotationType_MARIADB_MULTI_USER()

Properties ​

isMultiUsermay be undefinedbooleanis_multi_usermay be undefinedboolisMultiUsermay be undefinedBooleanIsMultiUsermay be undefinedboolIsMultiUsermay be undefined*bool#
Whether the rotation uses the mutli user scheme.
MARIADB_MULTI_USERHostedRotationTypemariadb_multi_userHostedRotationTypeMARIADB_MULTI_USERHostedRotationTypeMARIADB_MULTI_USERHostedRotationTypeMARIADB_MULTI_USERHostedRotationTypestatic#
MariaDB Multi User.
MARIADB_SINGLE_USERHostedRotationTypemariadb_single_userHostedRotationTypeMARIADB_SINGLE_USERHostedRotationTypeMARIADB_SINGLE_USERHostedRotationTypeMARIADB_SINGLE_USERHostedRotationTypestatic#
MariaDB Single User.
MONGODB_MULTI_USERHostedRotationTypemongodb_multi_userHostedRotationTypeMONGODB_MULTI_USERHostedRotationTypeMONGODB_MULTI_USERHostedRotationTypeMONGODB_MULTI_USERHostedRotationTypestatic#
MongoDB Multi User.
MONGODB_SINGLE_USERHostedRotationTypemongodb_single_userHostedRotationTypeMONGODB_SINGLE_USERHostedRotationTypeMONGODB_SINGLE_USERHostedRotationTypeMONGODB_SINGLE_USERHostedRotationTypestatic#
MongoDB Single User.
MYSQL_MULTI_USERHostedRotationTypemysql_multi_userHostedRotationTypeMYSQL_MULTI_USERHostedRotationTypeMYSQL_MULTI_USERHostedRotationTypeMYSQL_MULTI_USERHostedRotationTypestatic#
MySQL Multi User.
MYSQL_SINGLE_USERHostedRotationTypemysql_single_userHostedRotationTypeMYSQL_SINGLE_USERHostedRotationTypeMYSQL_SINGLE_USERHostedRotationTypeMYSQL_SINGLE_USERHostedRotationTypestatic#
MySQL Single User.
namestringnamestrnameStringNamestringName*string#
The type of rotation.
ORACLE_MULTI_USERHostedRotationTypeoracle_multi_userHostedRotationTypeORACLE_MULTI_USERHostedRotationTypeORACLE_MULTI_USERHostedRotationTypeORACLE_MULTI_USERHostedRotationTypestatic#
Oracle Multi User.
ORACLE_SINGLE_USERHostedRotationTypeoracle_single_userHostedRotationTypeORACLE_SINGLE_USERHostedRotationTypeORACLE_SINGLE_USERHostedRotationTypeORACLE_SINGLE_USERHostedRotationTypestatic#
Oracle Single User.
POSTGRESQL_MULTI_USERHostedRotationTypepostgresql_multi_userHostedRotationTypePOSTGRESQL_MULTI_USERHostedRotationTypePOSTGRESQL_MULTI_USERHostedRotationTypePOSTGRESQL_MULTI_USERHostedRotationTypestatic#
PostgreSQL Multi User.
POSTGRESQL_SINGLE_USERHostedRotationTypepostgresql_single_userHostedRotationTypePOSTGRESQL_SINGLE_USERHostedRotationTypePOSTGRESQL_SINGLE_USERHostedRotationTypePOSTGRESQL_SINGLE_USERHostedRotationTypestatic#
PostgreSQL Single User.
REDSHIFT_MULTI_USERHostedRotationTyperedshift_multi_userHostedRotationTypeREDSHIFT_MULTI_USERHostedRotationTypeREDSHIFT_MULTI_USERHostedRotationTypeREDSHIFT_MULTI_USERHostedRotationTypestatic#
Redshift Multi User.
REDSHIFT_SINGLE_USERHostedRotationTyperedshift_single_userHostedRotationTypeREDSHIFT_SINGLE_USERHostedRotationTypeREDSHIFT_SINGLE_USERHostedRotationTypeREDSHIFT_SINGLE_USERHostedRotationTypestatic#
Redshift Single User.
SQLSERVER_MULTI_USERHostedRotationTypesqlserver_multi_userHostedRotationTypeSQLSERVER_MULTI_USERHostedRotationTypeSQLSERVER_MULTI_USERHostedRotationTypeSQLSERVER_MULTI_USERHostedRotationTypestatic#
SQL Server Multi User.
SQLSERVER_SINGLE_USERHostedRotationTypesqlserver_single_userHostedRotationTypeSQLSERVER_SINGLE_USERHostedRotationTypeSQLSERVER_SINGLE_USERHostedRotationTypeSQLSERVER_SINGLE_USERHostedRotationTypestatic#
SQL Server Single User.