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

Available hosting platforms to use on the App.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/app.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/@aws-cdk/aws-amplify-alpha/lib/app.ts#L647)

## Example

TypeScript:

```ts
const amplifyApp = new amplify.App(this, 'MyApp', {
  platform: amplify.Platform.WEB_COMPUTE,
});
```

Python:

```python
amplify_app = amplify.App(self, "MyApp",
    platform=amplify.Platform.WEB_COMPUTE
)
```

Java:

```java
App amplifyApp = App.Builder.create(this, "MyApp")
        .platform(Platform.WEB_COMPUTE)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.Amplify.Alpha
var amplifyApp = new App(this, "MyApp", new AppProps {
    Platform = Platform.WEB_COMPUTE
});
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdkamplifyalpha/v2
amplifyApp := amplify.NewApp(this, jsii.String("MyApp"), &AppProps{
	Platform: amplify.Platform_WEB_COMPUTE,
})
```

## Members

| Member | Description |
| --- | --- |
| `WEB` | WEB - Used to indicate that the app is hosted using only static assets. |
| `WEB_COMPUTE` | WEB_COMPUTE - Used to indicate the app is hosted using a combination of server side rendered and static assets. |
| `WEB_DYNAMIC` | WEB_DYNAMIC - Used to indicate the app is hosted using a fully dynamic architecture, where requests are processed at runtime by backend compute services. |

## Referenced by

- [`App`](/v2/docs/@aws-cdk_aws-amplify-alpha.App).platform
- [`AppProps`](/v2/docs/@aws-cdk_aws-amplify-alpha.AppProps).platform
