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.101.0 (build b95fe5d)", date="2024-07-22T22:42:49.023Z") @Stability(Stable) public interface IProfilingGroup extends software.amazon.jsii.JsiiSerializable, IResource
IResource represents a Profiling Group.
  • Method Details

    • getProfilingGroupArn

      @Stability(Stable) @NotNull String getProfilingGroupArn()
      The ARN of the profiling group.
    • getProfilingGroupName

      @Stability(Stable) @NotNull String getProfilingGroupName()
      The name of the profiling group.
    • grantPublish

      @Stability(Stable) @NotNull Grant grantPublish(@NotNull IGrantable grantee)
      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

      @Stability(Stable) @NotNull Grant grantRead(@NotNull IGrantable grantee)
      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.