@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:04.635Z") @Stability(value=Experimental) public class ProfilingGroup extends Resource implements IProfilingGroup
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.*;
ProfilingGroup profilingGroup = ProfilingGroup.Builder.create(this, "MyProfilingGroup")
.computePlatform(ComputePlatform.AWS_LAMBDA)
.profilingGroupName("profilingGroupName")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
ProfilingGroup.Builder
(experimental) A fluent builder for
ProfilingGroup. |
software.amazon.jsii.JsiiObject.InitializationModeIProfilingGroup.Jsii$Default, IProfilingGroup.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
ProfilingGroup(software.constructs.Construct scope,
String id) |
|
ProfilingGroup(software.constructs.Construct scope,
String id,
ProfilingGroupProps props) |
protected |
ProfilingGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ProfilingGroup(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static IProfilingGroup |
fromProfilingGroupArn(software.constructs.Construct scope,
String id,
String profilingGroupArn)
(experimental) Import an existing Profiling Group provided an ARN.
|
static IProfilingGroup |
fromProfilingGroupName(software.constructs.Construct scope,
String id,
String profilingGroupName)
(experimental) Import an existing Profiling Group provided a Profiling Group Name.
|
String |
getProfilingGroupArn()
(experimental) The ARN of the Profiling Group.
|
String |
getProfilingGroupName()
(experimental) The name of the Profiling Group.
|
Grant |
grantPublish(IGrantable grantee)
(experimental) Grant access to publish profiling information to the Profiling Group to the given identity.
|
Grant |
grantRead(IGrantable grantee)
(experimental) Grant access to read profiling information from the Profiling Group to the given identity.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackgetNodeprotected ProfilingGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected ProfilingGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public ProfilingGroup(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
ProfilingGroupProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Experimental)
public ProfilingGroup(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Experimental) @NotNull public static IProfilingGroup fromProfilingGroupArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String profilingGroupArn)
scope - The parent creating construct. This parameter is required.id - The construct's name. This parameter is required.profilingGroupArn - Profiling Group ARN. This parameter is required.@Stability(value=Experimental) @NotNull public static IProfilingGroup fromProfilingGroupName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String profilingGroupName)
scope - The parent creating construct. This parameter is required.id - The construct's name. This parameter is required.profilingGroupName - Profiling Group Name. This parameter is required.@Stability(value=Experimental) @NotNull public Grant grantPublish(@NotNull IGrantable grantee)
This will grant the following permissions:
grantPublish in interface IProfilingGroupgrantee - Principal to grant publish rights to. This parameter is required.@Stability(value=Experimental) @NotNull public Grant grantRead(@NotNull IGrantable grantee)
This will grant the following permissions:
grantRead in interface IProfilingGroupgrantee - Principal to grant read rights to. This parameter is required.@Stability(value=Experimental) @NotNull public String getProfilingGroupArn()
@Stability(value=Experimental) @NotNull public String getProfilingGroupName()
getProfilingGroupName in interface IProfilingGroupCopyright © 2022. All rights reserved.