ProfilingGroupProps

class aws_cdk.aws_codeguruprofiler.ProfilingGroupProps(*, compute_platform=None, profiling_group_name=None)

Bases: object

Properties for creating a new Profiling Group.

Parameters:
  • compute_platform (Optional[ComputePlatform]) – The compute platform of the profiling group. Default: ComputePlatform.DEFAULT

  • profiling_group_name (Optional[str]) – A name for the profiling group. Default: - automatically generated name.

ExampleMetadata:

infused

Example:

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

Attributes

compute_platform

The compute platform of the profiling group.

Default:

ComputePlatform.DEFAULT

profiling_group_name

A name for the profiling group.

Default:
  • automatically generated name.