# ProfilingGroupProps

Properties for creating a new Profiling Group.

Used as props by: [ProfilingGroup](/cdk/api/v2/docs/aws-cdk-lib.aws_codeguruprofiler.ProfilingGroup.html)

- Source: [`aws-codeguruprofiler/lib/profiling-group.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/aws-cdk-lib/aws-codeguruprofiler/lib/profiling-group.ts#L132)

## Example

TypeScript:

```ts
const profilingGroup = new codeguruprofiler.ProfilingGroup(this, 'MyProfilingGroup', {
  computePlatform: codeguruprofiler.ComputePlatform.AWS_LAMBDA,
});
```

Python:

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

Java:

```java
ProfilingGroup profilingGroup = ProfilingGroup.Builder.create(this, "MyProfilingGroup")
        .computePlatform(ComputePlatform.AWS_LAMBDA)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
var profilingGroup = new ProfilingGroup(this, "MyProfilingGroup", new ProfilingGroupProps {
    ComputePlatform = ComputePlatform.AWS_LAMBDA
});
```

Golang:

```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

- `computePlatform`: [ComputePlatform](/cdk/api/v2/docs/aws-cdk-lib.aws_codeguruprofiler.ComputePlatform.html) = ComputePlatform.DEFAULT — The compute platform of the profiling group.

- `profilingGroupName`: string — A name for the profiling group.

  **Default:** automatically generated name.
