37 lines
1.3 KiB
TypeScript
37 lines
1.3 KiB
TypeScript
import * as codeguruprofiler from "./codeguruprofiler.generated";
|
|
import * as iam from "../../aws-iam";
|
|
import * as cdk from "../../core/lib";
|
|
/**
|
|
* 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 the given identity custom permissions
|
|
*/
|
|
actions(grantee: iam.IGrantable, actions: Array<string>, options?: cdk.PermissionsOptions): iam.Grant;
|
|
/**
|
|
* 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;
|
|
}
|