Interface IProfilingGroup

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IDependable, IEnvironmentAware, IProfilingGroupRef, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IProfilingGroup.Jsii$Default
All Known Implementing Classes:
IProfilingGroup.Jsii$Proxy, ProfilingGroup

@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)", date="2025-12-18T18:20:07.126Z") @Stability(Stable) public interface IProfilingGroup extends software.amazon.jsii.JsiiSerializable, IResource, IProfilingGroupRef
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.
    • getNode

      @Stability(Stable) @NotNull software.constructs.Node getNode()
      The tree node.
      Specified by:
      getNode in interface software.constructs.IConstruct
    • getEnv

      @Stability(Stable) @NotNull ResourceEnvironment getEnv()
      The environment this resource belongs to.

      For resources that are created and managed in a Stack (those created by creating new class instances like new Role(), new Bucket(), etc.), this is always the same as the environment of the stack they belong to.

      For referenced resources (those obtained from referencing methods like Role.fromRoleArn(), Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.

      Specified by:
      getEnv in interface IEnvironmentAware