enum ComputePlatform
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CodeGuruProfiler.ComputePlatform |
Java | software.amazon.awscdk.services.codeguruprofiler.ComputePlatform |
Python | aws_cdk.aws_codeguruprofiler.ComputePlatform |
TypeScript (source) | @aws-cdk/aws-codeguruprofiler » ComputePlatform |
The compute platform of the profiling group.
Example
const profilingGroup = new codeguruprofiler.ProfilingGroup(this, 'MyProfilingGroup', {
computePlatform: codeguruprofiler.ComputePlatform.AWS_LAMBDA,
});
Members
| Name | 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. |
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.

.NET
Java
Python
TypeScript (