ComputePlatform

class aws_cdk.aws_codeguruprofiler.ComputePlatform(value)

Bases: enum.Enum

The compute platform of the profiling group.

ExampleMetadata

infused

Example:

profiling_group = codeguruprofiler.ProfilingGroup(self, "MyProfilingGroup",
    compute_platform=codeguruprofiler.ComputePlatform.AWS_LAMBDA
)

Attributes

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.