enum ComputePlatform
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CodeGuruProfiler.ComputePlatform |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodeguruprofiler#ComputePlatform |
Java | software.amazon.awscdk.services.codeguruprofiler.ComputePlatform |
Python | aws_cdk.aws_codeguruprofiler.ComputePlatform |
TypeScript (source) | aws-cdk-lib » 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.