Interface IProfilingGroup
- All Superinterfaces:
software.constructs.IConstruct
,software.constructs.IDependable
,IResource
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IProfilingGroup.Jsii$Default
- All Known Implementing Classes:
IProfilingGroup.Jsii$Proxy
,ProfilingGroup
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:12.159Z")
@Stability(Stable)
public interface IProfilingGroup
extends software.amazon.jsii.JsiiSerializable, IResource
IResource represents a Profiling Group.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIProfilingGroup
.static final class
A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the profiling group.The name of the profiling group.grantPublish
(IGrantable grantee) Grant access to publish profiling information to the Profiling Group to the given identity.grantRead
(IGrantable grantee) Grant access to read profiling information from the Profiling Group to the given identity.Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getProfilingGroupArn
The ARN of the profiling group. -
getProfilingGroupName
The name of the profiling group. -
grantPublish
Grant access to publish profiling information to the Profiling Group to the given identity.This will grant the following permissions:
- codeguru-profiler:ConfigureAgent
- codeguru-profiler:PostAgentProfile
- Parameters:
grantee
- Principal to grant publish rights to. This parameter is required.
-
grantRead
Grant access to read profiling information from the Profiling Group to the given identity.This will grant the following permissions:
- codeguru-profiler:GetProfile
- codeguru-profiler:DescribeProfilingGroup
- Parameters:
grantee
- Principal to grant read rights to. This parameter is required.
-