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

The amount of memory 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#L94)

## 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 memory = apprunner_alpha.Memory.EIGHT_GB;
```

## Properties

- `EIGHT_GB`: [Memory](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.Memory.html) (static) — 8 GB(for 4 vCPU).

- `FOUR_GB`: [Memory](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.Memory.html) (static) — 4 GB(for 1 or 2 vCPU).

- `HALF_GB`: [Memory](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.Memory.html) (static) — 0.5 GB(for 0.25 vCPU).

- `ONE_GB`: [Memory](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.Memory.html) (static) — 1 GB(for 0.25 or 0.5 vCPU).

- `SIX_GB`: [Memory](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.Memory.html) (static) — 6 GB(for 2 vCPU).

- `TEN_GB`: [Memory](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.Memory.html) (static) — 10 GB(for 4 vCPU).

- `THREE_GB`: [Memory](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.Memory.html) (static) — 3 GB(for 1 vCPU).

- `TWELVE_GB`: [Memory](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.Memory.html) (static) — 12 GB(for 4 vCPU).

- `TWO_GB`: [Memory](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.Memory.html) (static) — 2 GB(for 1 vCPU).

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

## Methods

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

  **Parameters**

  - `unit` — custom Memory unit.
