# ProfilingGroupReference

A reference to a ProfilingGroup resource.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codeguruprofiler as interfaces_codeguruprofiler } from 'aws-cdk-lib/interfaces';
const profilingGroupReference: interfaces_codeguruprofiler.ProfilingGroupReference = {
  profilingGroupArn: 'profilingGroupArn',
  profilingGroupName: 'profilingGroupName',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_codeguruprofiler as interfaces_codeguruprofiler

profiling_group_reference = interfaces_codeguruprofiler.ProfilingGroupReference(
    profiling_group_arn="profilingGroupArn",
    profiling_group_name="profilingGroupName"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.codeguruprofiler.*;

ProfilingGroupReference profilingGroupReference = ProfilingGroupReference.builder()
        .profilingGroupArn("profilingGroupArn")
        .profilingGroupName("profilingGroupName")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.CodeGuruProfiler;

var profilingGroupReference = new ProfilingGroupReference {
    ProfilingGroupArn = "profilingGroupArn",
    ProfilingGroupName = "profilingGroupName"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

profilingGroupReference := &ProfilingGroupReference{
	ProfilingGroupArn: jsii.String("profilingGroupArn"),
	ProfilingGroupName: jsii.String("profilingGroupName"),
}
```

## Properties

- `profilingGroupArn`: string (required) — The ARN of the ProfilingGroup resource.

- `profilingGroupName`: string (required) — The ProfilingGroupName of the ProfilingGroup resource.
