Interface CfnProfilingGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnProfilingGroupProps.Jsii$Proxy
CfnProfilingGroup
.
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; CfnProfilingGroupProps cfnProfilingGroupProps = CfnProfilingGroupProps.builder() .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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnProfilingGroupProps
static final class
An implementation forCfnProfilingGroupProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
The agent permissions attached to this profiling group.default Object
Adds anomaly notifications for a profiling group.default String
The compute platform of the profiling group.The name of the profiling group.getTags()
A list of tags to add to the created profiling group.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getProfilingGroupName
The name of the profiling group.- See Also:
-
getAgentPermissions
The agent permissions attached to this profiling group.This action group grants
ConfigureAgent
andPostAgentProfile
permissions to perform actions required by the profiling agent. The Json consists of keyPrincipals
.Principals : A list of string ARNs for the roles and users you want to grant access to the profiling group. Wildcards are not supported in the ARNs. You are allowed to provide up to 50 ARNs. An empty list is not permitted. This is a required key.
For more information, see Resource-based policies in CodeGuru Profiler in the Amazon CodeGuru Profiler user guide , ConfigureAgent , and PostAgentProfile .
- See Also:
-
getAnomalyDetectionNotificationConfiguration
Adds anomaly notifications for a profiling group.- See Also:
-
getComputePlatform
The compute platform of the profiling group.Use
AWSLambda
if your application runs on AWS Lambda. UseDefault
if your application runs on a compute platform that is not AWS Lambda , such an Amazon EC2 instance, an on-premises server, or a different platform. If not specified,Default
is used. This property is immutable.- See Also:
-
getTags
A list of tags to add to the created profiling group.- See Also:
-
builder
- Returns:
- a
CfnProfilingGroupProps.Builder
ofCfnProfilingGroupProps
-