UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

32 lines (31 loc) 1.1 kB
import * as codeguruprofiler from "./codeguruprofiler.generated"; import * as iam from "../../aws-iam"; /** * Collection of grant methods for a IProfilingGroupRef */ export declare class ProfilingGroupGrants { /** * Creates grants for ProfilingGroupGrants */ static fromProfilingGroup(resource: codeguruprofiler.IProfilingGroupRef): ProfilingGroupGrants; protected readonly resource: codeguruprofiler.IProfilingGroupRef; private constructor(); /** * 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 */ publish(grantee: iam.IGrantable): iam.Grant; /** * 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 */ read(grantee: iam.IGrantable): iam.Grant; }