IProfilingGroup

class aws_cdk.aws_codeguruprofiler.IProfilingGroup(*args, **kwargs)

Bases: aws_cdk.core.IResource, typing_extensions.Protocol

IResource represents a Profiling Group.

stability :stability: experimental

__init__(*args, **kwargs)

Methods

grant_publish(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 (IGrantable) – Principal to grant publish rights to.

stability :stability: experimental

Return type

Grant

grant_read(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 (IGrantable) – Principal to grant read rights to.

stability :stability: experimental

Return type

Grant

Attributes

node

The construct tree node for this construct.

Return type

ConstructNode

profiling_group_name

A name for the profiling group.

stability :stability: experimental attribute: :attribute:: true

Return type

str

stack

The stack in which this resource is defined.

Return type

Stack