# HostedRotationType

Hosted rotation type.

Obtainable from: HostedRotationType.MARIADB_MULTI_USER, HostedRotationType.MARIADB_SINGLE_USER, HostedRotationType.MONGODB_MULTI_USER, HostedRotationType.MONGODB_SINGLE_USER, HostedRotationType.MYSQL_MULTI_USER, HostedRotationType.MYSQL_SINGLE_USER, HostedRotationType.ORACLE_MULTI_USER, HostedRotationType.ORACLE_SINGLE_USER, HostedRotationType.POSTGRESQL_MULTI_USER, HostedRotationType.POSTGRESQL_SINGLE_USER, HostedRotationType.REDSHIFT_MULTI_USER, HostedRotationType.REDSHIFT_SINGLE_USER, HostedRotationType.SQLSERVER_MULTI_USER, HostedRotationType.SQLSERVER_SINGLE_USER

- Source: [`aws-secretsmanager/lib/rotation-schedule.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-secretsmanager/lib/rotation-schedule.ts#L381)

## Example

TypeScript:

```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:

```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:

```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;
```

C# / .NET:

```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;
```

Golang:

```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

- `isMultiUser`: boolean — Whether the rotation uses the mutli user scheme.

- `MARIADB_MULTI_USER`: [HostedRotationType](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_secretsmanager.HostedRotationType.html) (static) — MariaDB Multi User.

- `MARIADB_SINGLE_USER`: [HostedRotationType](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_secretsmanager.HostedRotationType.html) (static) — MariaDB Single User.

- `MONGODB_MULTI_USER`: [HostedRotationType](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_secretsmanager.HostedRotationType.html) (static) — MongoDB Multi User.

- `MONGODB_SINGLE_USER`: [HostedRotationType](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_secretsmanager.HostedRotationType.html) (static) — MongoDB Single User.

- `MYSQL_MULTI_USER`: [HostedRotationType](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_secretsmanager.HostedRotationType.html) (static) — MySQL Multi User.

- `MYSQL_SINGLE_USER`: [HostedRotationType](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_secretsmanager.HostedRotationType.html) (static) — MySQL Single User.

- `name`: string — The type of rotation.

- `ORACLE_MULTI_USER`: [HostedRotationType](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_secretsmanager.HostedRotationType.html) (static) — Oracle Multi User.

- `ORACLE_SINGLE_USER`: [HostedRotationType](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_secretsmanager.HostedRotationType.html) (static) — Oracle Single User.

- `POSTGRESQL_MULTI_USER`: [HostedRotationType](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_secretsmanager.HostedRotationType.html) (static) — PostgreSQL Multi User.

- `POSTGRESQL_SINGLE_USER`: [HostedRotationType](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_secretsmanager.HostedRotationType.html) (static) — PostgreSQL Single User.

- `REDSHIFT_MULTI_USER`: [HostedRotationType](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_secretsmanager.HostedRotationType.html) (static) — Redshift Multi User.

- `REDSHIFT_SINGLE_USER`: [HostedRotationType](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_secretsmanager.HostedRotationType.html) (static) — Redshift Single User.

- `SQLSERVER_MULTI_USER`: [HostedRotationType](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_secretsmanager.HostedRotationType.html) (static) — SQL Server Multi User.

- `SQLSERVER_SINGLE_USER`: [HostedRotationType](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_secretsmanager.HostedRotationType.html) (static) — SQL Server Single User.
