Class ProfilingGroupGrants
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.codeguruprofiler.ProfilingGroupGrants
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.125.0 (build fdbe357)",
date="2026-01-19T12:03:51.170Z")
@Stability(Stable)
public class ProfilingGroupGrants
extends software.amazon.jsii.JsiiObject
Collection of grant methods for a IProfilingGroupRef.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.codeguruprofiler.*; import software.amazon.awscdk.interfaces.codeguruprofiler.*; IProfilingGroupRef profilingGroupRef; ProfilingGroupGrants profilingGroupGrants = ProfilingGroupGrants.fromProfilingGroup(profilingGroupRef);
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProfilingGroupGrants(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedProfilingGroupGrants(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic ProfilingGroupGrantsfromProfilingGroup(IProfilingGroupRef resource) Creates grants for ProfilingGroupGrants.protected IProfilingGroupRefpublish(IGrantable grantee) Grant access to publish profiling information to the Profiling Group to the given identity.read(IGrantable grantee) Grant access to read profiling information from the Profiling Group to the given identity.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
ProfilingGroupGrants
protected ProfilingGroupGrants(software.amazon.jsii.JsiiObjectRef objRef) -
ProfilingGroupGrants
protected ProfilingGroupGrants(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
fromProfilingGroup
@Stability(Stable) @NotNull public static ProfilingGroupGrants fromProfilingGroup(@NotNull IProfilingGroupRef resource) Creates grants for ProfilingGroupGrants.- Parameters:
resource- This parameter is required.
-
publish
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- This parameter is required.
-
read
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- This parameter is required.
-
getResource
-