public static final class CfnProfilingGroup.Builder
extends java.lang.Object
CfnProfilingGroup
.Modifier and Type | Method and Description |
---|---|
CfnProfilingGroup.Builder |
agentPermissions(java.lang.Object agentPermissions)
The agent permissions attached to this profiling group.
|
CfnProfilingGroup.Builder |
anomalyDetectionNotificationConfiguration(IResolvable anomalyDetectionNotificationConfiguration)
Adds anomaly notifications for a profiling group.
|
CfnProfilingGroup.Builder |
anomalyDetectionNotificationConfiguration(java.util.List<? extends java.lang.Object> anomalyDetectionNotificationConfiguration)
Adds anomaly notifications for a profiling group.
|
CfnProfilingGroup |
build() |
CfnProfilingGroup.Builder |
computePlatform(java.lang.String computePlatform)
The compute platform of the profiling group.
|
static CfnProfilingGroup.Builder |
create(Construct scope,
java.lang.String id) |
CfnProfilingGroup.Builder |
profilingGroupName(java.lang.String profilingGroupName)
The name of the profiling group.
|
CfnProfilingGroup.Builder |
tags(java.util.List<? extends CfnTag> tags)
A list of tags to add to the created profiling group.
|
public static CfnProfilingGroup.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnProfilingGroup.AgentPermissionsProperty.Builder
.public CfnProfilingGroup.Builder profilingGroupName(java.lang.String profilingGroupName)
profilingGroupName
- The name of the profiling group. This parameter is required.this
public CfnProfilingGroup.Builder agentPermissions(java.lang.Object agentPermissions)
This action group grants ConfigureAgent
and PostAgentProfile
permissions to perform actions required by the profiling agent. The Json consists of key Principals
.
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 .
agentPermissions
- The agent permissions attached to this profiling group. This parameter is required.this
public CfnProfilingGroup.Builder anomalyDetectionNotificationConfiguration(IResolvable anomalyDetectionNotificationConfiguration)
anomalyDetectionNotificationConfiguration
- Adds anomaly notifications for a profiling group. This parameter is required.this
public CfnProfilingGroup.Builder anomalyDetectionNotificationConfiguration(java.util.List<? extends java.lang.Object> anomalyDetectionNotificationConfiguration)
anomalyDetectionNotificationConfiguration
- Adds anomaly notifications for a profiling group. This parameter is required.this
public CfnProfilingGroup.Builder computePlatform(java.lang.String computePlatform)
Use AWSLambda
if your application runs on AWS Lambda. Use Default
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.
computePlatform
- The compute platform of the profiling group. This parameter is required.this
public CfnProfilingGroup.Builder tags(java.util.List<? extends CfnTag> tags)
tags
- A list of tags to add to the created profiling group. This parameter is required.this
public CfnProfilingGroup build()