> **Experimental**
>
> `@aws-cdk/aws-medialive-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# ClusterType

The hardware type for the cluster.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/cluster.ts`](https://github.com/aws/aws-cdk/blob/v2.276.0-alpha.0/packages/@aws-cdk/aws-medialive-alpha/lib/cluster.ts#L14)

## Example

```ts
declare const stack: Stack;
declare const instanceRole: iam.IRole;

const cluster = new medialive.Cluster(stack, 'Cluster', {
  clusterName: 'on-prem-cluster',
  clusterType: medialive.ClusterType.ON_PREMISES,
  instanceRole,
});
```

## Properties

- `EC2`: [ClusterType](/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.ClusterType.html) (static) — Amazon EC2.

- `ON_PREMISES`: [ClusterType](/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.ClusterType.html) (static) — On-premises cluster.

- `OUTPOSTS_RACK`: [ClusterType](/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.ClusterType.html) (static) — AWS Outposts rack.

- `OUTPOSTS_SERVER`: [ClusterType](/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.ClusterType.html) (static) — AWS Outposts server.

- `value`: string — The underlying string value passed to CloudFormation.

## Methods

- `of(value: string): ClusterType // chainable` (static) — A value not yet modelled by AWS CDK.
