Class CfnProfilingGroup
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.codeguruprofiler.CfnProfilingGroup
- All Implemented Interfaces:
IInspectable,ITaggable,IProfilingGroupRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:34.964Z")
@Stability(Stable)
public class CfnProfilingGroup
extends CfnResource
implements IInspectable, IProfilingGroupRef, ITaggable
Creates a profiling group.
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.*;
Object agentPermissions;
CfnProfilingGroup cfnProfilingGroup = CfnProfilingGroup.Builder.create(this, "MyCfnProfilingGroup")
.profilingGroupName("profilingGroupName")
// the properties below are optional
.agentPermissions(agentPermissions)
.anomalyDetectionNotificationConfiguration(List.of(ChannelProperty.builder()
.channelUri("channelUri")
// the properties below are optional
.channelId("channelId")
.build()))
.computePlatform("computePlatform")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe agent permissions attached to this profiling group.static final classA fluent builder forCfnProfilingGroup.static interfaceNotification medium for users to get alerted for events that occur in application profile.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.codeguruprofiler.IProfilingGroupRef
IProfilingGroupRef.Jsii$Default, IProfilingGroupRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnProfilingGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnProfilingGroup(software.amazon.jsii.JsiiObjectRef objRef) CfnProfilingGroup(software.constructs.Construct scope, String id, CfnProfilingGroupProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IProfilingGroupReffromProfilingGroupArn(software.constructs.Construct scope, String id, String arn) Creates a new IProfilingGroupRef from an ARN.static IProfilingGroupReffromProfilingGroupName(software.constructs.Construct scope, String id, String profilingGroupName) Creates a new IProfilingGroupRef from a profilingGroupName.The agent permissions attached to this profiling group.Adds anomaly notifications for a profiling group.The full Amazon Resource Name (ARN) for that profiling group.The compute platform of the profiling group.The name of the profiling group.A reference to a ProfilingGroup resource.getTags()Tag Manager which manages the tags for this resource.A list of tags to add to the created profiling group.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAgentPermissions(Object value) The agent permissions attached to this profiling group.voidAdds anomaly notifications for a profiling group.voidAdds anomaly notifications for a profiling group.voidsetComputePlatform(String value) The compute platform of the profiling group.voidsetProfilingGroupName(String value) The name of the profiling group.voidsetTagsRaw(List<CfnTag> value) A list of tags to add to the created profiling group.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods 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, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnProfilingGroup
protected CfnProfilingGroup(software.amazon.jsii.JsiiObjectRef objRef) -
CfnProfilingGroup
protected CfnProfilingGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnProfilingGroup
@Stability(Stable) public CfnProfilingGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnProfilingGroupProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
fromProfilingGroupArn
@Stability(Stable) @NotNull public static IProfilingGroupRef fromProfilingGroupArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new IProfilingGroupRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
fromProfilingGroupName
@Stability(Stable) @NotNull public static IProfilingGroupRef fromProfilingGroupName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String profilingGroupName) Creates a new IProfilingGroupRef from a profilingGroupName.- Parameters:
scope- This parameter is required.id- This parameter is required.profilingGroupName- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The full Amazon Resource Name (ARN) for that profiling group. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getProfilingGroupRef
A reference to a ProfilingGroup resource.- Specified by:
getProfilingGroupRefin interfaceIProfilingGroupRef
-
getTags
Tag Manager which manages the tags for this resource. -
getProfilingGroupName
The name of the profiling group. -
setProfilingGroupName
The name of the profiling group. -
getAgentPermissions
The agent permissions attached to this profiling group. -
setAgentPermissions
The agent permissions attached to this profiling group. -
getAnomalyDetectionNotificationConfiguration
Adds anomaly notifications for a profiling group.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnProfilingGroup.ChannelProperty> -
setAnomalyDetectionNotificationConfiguration
@Stability(Stable) public void setAnomalyDetectionNotificationConfiguration(@Nullable IResolvable value) Adds anomaly notifications for a profiling group. -
setAnomalyDetectionNotificationConfiguration
@Stability(Stable) public void setAnomalyDetectionNotificationConfiguration(@Nullable List<Object> value) Adds anomaly notifications for a profiling group. -
getComputePlatform
The compute platform of the profiling group. -
setComputePlatform
The compute platform of the profiling group. -
getTagsRaw
A list of tags to add to the created profiling group. -
setTagsRaw
A list of tags to add to the created profiling group.
-