# ComputePlatform

The compute platform of the profiling group.

- Source: [`aws-codeguruprofiler/lib/profiling-group.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-codeguruprofiler/lib/profiling-group.ts#L15)

## Example

```ts
const profilingGroup = new codeguruprofiler.ProfilingGroup(this, 'MyProfilingGroup', {
  computePlatform: codeguruprofiler.ComputePlatform.AWS_LAMBDA,
});
```

## Members

| Member | Description |
| --- | --- |
| `AWS_LAMBDA` | Use AWS_LAMBDA if your application runs on AWS Lambda. |
| `DEFAULT` | Use Default if your application runs on a compute platform that is not AWS Lambda, such an Amazon EC2 instance, an on-premises server, or a different platform. |

## Referenced by

- [`ProfilingGroupProps`](/v2/docs/aws-cdk-lib.aws_codeguruprofiler.ProfilingGroupProps).computePlatform
