ProfilingGroupProps Struct
Properties for creating a new Profiling Group.
Example
ts
const profilingGroup = new codeguruprofiler.ProfilingGroup(this, 'MyProfilingGroup', {
computePlatform: codeguruprofiler.ComputePlatform.AWS_LAMBDA,
});
python
profiling_group = codeguruprofiler.ProfilingGroup(self, "MyProfilingGroup",
compute_platform=codeguruprofiler.ComputePlatform.AWS_LAMBDA
)
java
ProfilingGroup profilingGroup = ProfilingGroup.Builder.create(this, "MyProfilingGroup")
.computePlatform(ComputePlatform.AWS_LAMBDA)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
var profilingGroup = new ProfilingGroup(this, "MyProfilingGroup", new ProfilingGroupProps {
ComputePlatform = ComputePlatform.AWS_LAMBDA
});
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
profilingGroup := codeguruprofiler.NewProfilingGroup(this, jsii.String("MyProfilingGroup"), &ProfilingGroupProps{
ComputePlatform: codeguruprofiler.ComputePlatform_AWS_LAMBDA,
})
Properties
computePlatformoptionalComputePlatformcompute_platformoptionalComputePlatformcomputePlatformoptionalComputePlatformComputePlatformoptionalComputePlatformComputePlatformoptionalComputePlatform= ComputePlatform.DEFAULT#The compute platform of the profiling group.
profilingGroupNameoptionalstringprofiling_group_nameoptionalstrprofilingGroupNameoptionalStringProfilingGroupNameoptionalstringProfilingGroupNameoptional*string#A name for the profiling group.
Default: automatically generated name.