Skip to content
v2.275.0

HostedRotation Class ​

A hosted rotation.

Example ​

ts
const secret = new secretsmanager.Secret(this, 'Secret');

secret.addRotationSchedule('RotationSchedule', {
  hostedRotation: secretsmanager.HostedRotation.mysqlSingleUser(),
});

Properties ​

connectionsConnectionsconnectionsConnectionsconnectionsConnectionsConnectionsConnectionsConnectionsConnections#
Security group connections for this hosted rotation.

Methods ​

bind(secret: ISecret, scope: Construct): CfnRotationSchedule.HostedRotationLambdaPropertydef bind(self, secret: ISecret, scope: Construct) -> HostedRotationLambdaPropertypublic HostedRotationLambdaProperty bind(ISecret secret, Construct scope)public HostedRotationLambdaProperty Bind(ISecret secret, Construct scope)func Bind(Secret ISecret, Scope Construct) HostedRotationLambdaProperty#
Binds this hosted rotation to a secret.
mariaDbMultiUser(options: MultiUserHostedRotationOptions): HostedRotation // chainable@staticmethod def maria_db_multi_user(options: MultiUserHostedRotationOptions) -> HostedRotationpublic static HostedRotation mariaDbMultiUser(MultiUserHostedRotationOptions options)public static HostedRotation MariaDbMultiUser(MultiUserHostedRotationOptions options)func MariaDbMultiUser(Options MultiUserHostedRotationOptions) HostedRotationstatic#
MariaDB Multi User.
mariaDbSingleUser(options?: SingleUserHostedRotationOptions): HostedRotation // chainable@staticmethod def maria_db_single_user(options: typing.Optional[SingleUserHostedRotationOptions] = None) -> HostedRotationpublic static HostedRotation mariaDbSingleUser(SingleUserHostedRotationOptions options)public static HostedRotation MariaDbSingleUser(SingleUserHostedRotationOptions? options = null)func MariaDbSingleUser(Options SingleUserHostedRotationOptions) HostedRotationstatic#
MariaDB Single User.
mongoDbMultiUser(options: MultiUserHostedRotationOptions): HostedRotation // chainable@staticmethod def mongo_db_multi_user(options: MultiUserHostedRotationOptions) -> HostedRotationpublic static HostedRotation mongoDbMultiUser(MultiUserHostedRotationOptions options)public static HostedRotation MongoDbMultiUser(MultiUserHostedRotationOptions options)func MongoDbMultiUser(Options MultiUserHostedRotationOptions) HostedRotationstatic#
MongoDB Multi User.
mongoDbSingleUser(options?: SingleUserHostedRotationOptions): HostedRotation // chainable@staticmethod def mongo_db_single_user(options: typing.Optional[SingleUserHostedRotationOptions] = None) -> HostedRotationpublic static HostedRotation mongoDbSingleUser(SingleUserHostedRotationOptions options)public static HostedRotation MongoDbSingleUser(SingleUserHostedRotationOptions? options = null)func MongoDbSingleUser(Options SingleUserHostedRotationOptions) HostedRotationstatic#
MongoDB Single User.
mysqlMultiUser(options: MultiUserHostedRotationOptions): HostedRotation // chainable@staticmethod def mysql_multi_user(options: MultiUserHostedRotationOptions) -> HostedRotationpublic static HostedRotation mysqlMultiUser(MultiUserHostedRotationOptions options)public static HostedRotation MysqlMultiUser(MultiUserHostedRotationOptions options)func MysqlMultiUser(Options MultiUserHostedRotationOptions) HostedRotationstatic#
MySQL Multi User.
mysqlSingleUser(options?: SingleUserHostedRotationOptions): HostedRotation // chainable@staticmethod def mysql_single_user(options: typing.Optional[SingleUserHostedRotationOptions] = None) -> HostedRotationpublic static HostedRotation mysqlSingleUser(SingleUserHostedRotationOptions options)public static HostedRotation MysqlSingleUser(SingleUserHostedRotationOptions? options = null)func MysqlSingleUser(Options SingleUserHostedRotationOptions) HostedRotationstatic#
MySQL Single User.
oracleMultiUser(options: MultiUserHostedRotationOptions): HostedRotation // chainable@staticmethod def oracle_multi_user(options: MultiUserHostedRotationOptions) -> HostedRotationpublic static HostedRotation oracleMultiUser(MultiUserHostedRotationOptions options)public static HostedRotation OracleMultiUser(MultiUserHostedRotationOptions options)func OracleMultiUser(Options MultiUserHostedRotationOptions) HostedRotationstatic#
Oracle Multi User.
oracleSingleUser(options?: SingleUserHostedRotationOptions): HostedRotation // chainable@staticmethod def oracle_single_user(options: typing.Optional[SingleUserHostedRotationOptions] = None) -> HostedRotationpublic static HostedRotation oracleSingleUser(SingleUserHostedRotationOptions options)public static HostedRotation OracleSingleUser(SingleUserHostedRotationOptions? options = null)func OracleSingleUser(Options SingleUserHostedRotationOptions) HostedRotationstatic#
Oracle Single User.
postgreSqlMultiUser(options: MultiUserHostedRotationOptions): HostedRotation // chainable@staticmethod def postgre_sql_multi_user(options: MultiUserHostedRotationOptions) -> HostedRotationpublic static HostedRotation postgreSqlMultiUser(MultiUserHostedRotationOptions options)public static HostedRotation PostgreSqlMultiUser(MultiUserHostedRotationOptions options)func PostgreSqlMultiUser(Options MultiUserHostedRotationOptions) HostedRotationstatic#
PostgreSQL Multi User.
postgreSqlSingleUser(options?: SingleUserHostedRotationOptions): HostedRotation // chainable@staticmethod def postgre_sql_single_user(options: typing.Optional[SingleUserHostedRotationOptions] = None) -> HostedRotationpublic static HostedRotation postgreSqlSingleUser(SingleUserHostedRotationOptions options)public static HostedRotation PostgreSqlSingleUser(SingleUserHostedRotationOptions? options = null)func PostgreSqlSingleUser(Options SingleUserHostedRotationOptions) HostedRotationstatic#
PostgreSQL Single User.
redshiftMultiUser(options: MultiUserHostedRotationOptions): HostedRotation // chainable@staticmethod def redshift_multi_user(options: MultiUserHostedRotationOptions) -> HostedRotationpublic static HostedRotation redshiftMultiUser(MultiUserHostedRotationOptions options)public static HostedRotation RedshiftMultiUser(MultiUserHostedRotationOptions options)func RedshiftMultiUser(Options MultiUserHostedRotationOptions) HostedRotationstatic#
Redshift Multi User.
redshiftSingleUser(options?: SingleUserHostedRotationOptions): HostedRotation // chainable@staticmethod def redshift_single_user(options: typing.Optional[SingleUserHostedRotationOptions] = None) -> HostedRotationpublic static HostedRotation redshiftSingleUser(SingleUserHostedRotationOptions options)public static HostedRotation RedshiftSingleUser(SingleUserHostedRotationOptions? options = null)func RedshiftSingleUser(Options SingleUserHostedRotationOptions) HostedRotationstatic#
Redshift Single User.
sqlServerMultiUser(options: MultiUserHostedRotationOptions): HostedRotation // chainable@staticmethod def sql_server_multi_user(options: MultiUserHostedRotationOptions) -> HostedRotationpublic static HostedRotation sqlServerMultiUser(MultiUserHostedRotationOptions options)public static HostedRotation SqlServerMultiUser(MultiUserHostedRotationOptions options)func SqlServerMultiUser(Options MultiUserHostedRotationOptions) HostedRotationstatic#
SQL Server Multi User.
sqlServerSingleUser(options?: SingleUserHostedRotationOptions): HostedRotation // chainable@staticmethod def sql_server_single_user(options: typing.Optional[SingleUserHostedRotationOptions] = None) -> HostedRotationpublic static HostedRotation sqlServerSingleUser(SingleUserHostedRotationOptions options)public static HostedRotation SqlServerSingleUser(SingleUserHostedRotationOptions? options = null)func SqlServerSingleUser(Options SingleUserHostedRotationOptions) HostedRotationstatic#
SQL Server Single User.