aws-cdk-lib.aws_codeguruprofiler.ComputePlatform

enum ComputePlatform

LanguageType name
.NETAmazon.CDK.AWS.CodeGuruProfiler.ComputePlatform
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodeguruprofiler#ComputePlatform
Javasoftware.amazon.awscdk.services.codeguruprofiler.ComputePlatform
Pythonaws_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

NameDescription
AWS_LAMBDAUse AWS_LAMBDA if your application runs on AWS Lambda.
DEFAULTUse 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.