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

The code runtimes.

- 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#L171)

## Example

```ts
new apprunner.Service(this, 'Service', {
  source: apprunner.Source.fromGitHub({
    repositoryUrl: 'https://github.com/aws-containers/hello-app-runner',
    branch: 'main',
    configurationSource: apprunner.ConfigurationSourceType.API,
    codeConfigurationValues: {
      runtime: apprunner.Runtime.PYTHON_3,
      port: '8000',
      startCommand: 'python app.py',
      buildCommand: 'yum install -y pycairo && pip install -r requirements.txt',
    },
    connection: apprunner.GitHubConnection.fromConnectionArn('CONNECTION_ARN'),
  }),
});
```

## Properties

- `CORRETTO_11`: [Runtime](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.Runtime.html) (static) — CORRETTO 11.

- `CORRETTO_8`: [Runtime](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.Runtime.html) (static) — CORRETTO 8.

- `DOTNET_6`: [Runtime](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.Runtime.html) (static) — .NET 6.

- `GO_1`: [Runtime](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.Runtime.html) (static) — Go 1.18.

- `name`: string — The runtime name.

- `NODEJS_12`: [Runtime](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.Runtime.html) (static) — NodeJS 12.

- `NODEJS_14`: [Runtime](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.Runtime.html) (static) — NodeJS 14.

- `NODEJS_16`: [Runtime](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.Runtime.html) (static) — NodeJS 16.

- `NODEJS_18`: [Runtime](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.Runtime.html) (static) — NodeJS 18.

- `NODEJS_22`: [Runtime](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.Runtime.html) (static) — NodeJS 22.

- `PHP_81`: [Runtime](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.Runtime.html) (static) — PHP 8.1.

- `PYTHON_3`: [Runtime](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.Runtime.html) (static) — Python 3.

- `PYTHON_311`: [Runtime](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.Runtime.html) (static) — Python 3.11.

- `RUBY_31`: [Runtime](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.Runtime.html) (static) — Ruby 3.1.

## Methods

- `of(name: string): Runtime // chainable` (static) — Other runtimes.

  **Parameters**

  - `name` — runtime name.
