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

The number of CPU units reserved for each instance of your App Runner service.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/service.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-apprunner-alpha/lib/service.ts#L37)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as apprunner_alpha from '@aws-cdk/aws-apprunner-alpha';
const cpu = apprunner_alpha.Cpu.FOUR_VCPU;
```

## Properties

- `FOUR_VCPU`: [Cpu](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.Cpu.html) (static) — 4 vCPU.

- `HALF_VCPU`: [Cpu](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.Cpu.html) (static) — 0.5 vCPU.

- `ONE_VCPU`: [Cpu](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.Cpu.html) (static) — 1 vCPU.

- `QUARTER_VCPU`: [Cpu](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.Cpu.html) (static) — 0.25 vCPU.

- `TWO_VCPU`: [Cpu](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.Cpu.html) (static) — 2 vCPU.

- `unit`: string — The unit of CPU.

## Methods

- `of(unit: string): Cpu // chainable` (static) — Custom CPU unit.

  **Parameters**

  - `unit` — custom CPU unit.
