# RuntimePlatform

The interface for Runtime Platform.

- Source: [`aws-ecs/lib/runtime-platform.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-ecs/lib/runtime-platform.ts#L118)
- Type last changed: v2.7.0 · 12 Jan 2022

## Example

```ts
declare const cluster: ecs.Cluster;
const applicationLoadBalancedFargateService = new ecsPatterns.ApplicationLoadBalancedFargateService(this, 'Service', {
  cluster,
  memoryLimitMiB: 512,
  taskImageOptions: {
    image: ecs.ContainerImage.fromRegistry('amazon/amazon-ecs-sample'),
  },
  minHealthyPercent: 100,
  runtimePlatform: {
    cpuArchitecture: ecs.CpuArchitecture.ARM64,
    operatingSystemFamily: ecs.OperatingSystemFamily.LINUX,
  },
});
```

## Properties

- `cpuArchitecture`: [CpuArchitecture](/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.CpuArchitecture.html) = Undefined. — The CpuArchitecture for Fargate Runtime Platform.

- `operatingSystemFamily`: [OperatingSystemFamily](/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.OperatingSystemFamily.html) = Undefined. — The operating system for Fargate Runtime Platform.
