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.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIProfilingGroup.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptiongetEnv()The environment this resource belongs to.software.constructs.NodegetNode()The tree node.The 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.amazon.awscdk.interfaces.codeguruprofiler.IProfilingGroupRef
getProfilingGroupRefMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods 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.
-
getNode
@Stability(Stable) @NotNull software.constructs.Node getNode()The tree node.- Specified by:
getNodein interfacesoftware.constructs.IConstruct
-
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:
getEnvin interfaceIEnvironmentAware
-