Skip to content
v2.277.0

ProfilingGroupReference Struct ​

A reference to a ProfilingGroup resource.

Example ​

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
# 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
// 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();
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"
};
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 ​

profilingGroupArnstringprofiling_group_arnstrprofilingGroupArnStringProfilingGroupArnstringProfilingGroupArn*stringrequired#
The ARN of the ProfilingGroup resource.
profilingGroupNamestringprofiling_group_namestrprofilingGroupNameStringProfilingGroupNamestringProfilingGroupName*stringrequired#
The ProfilingGroupName of the ProfilingGroup resource.