@Stability(value=Stable) public static final class CfnProfilingGroupProps.Builder extends Object implements software.amazon.jsii.Builder<CfnProfilingGroupProps>
CfnProfilingGroupProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnProfilingGroupProps.Builder profilingGroupName(String profilingGroupName)
CfnProfilingGroupProps.getProfilingGroupName()profilingGroupName - The name of the profiling group. This parameter is required.this@Stability(value=Stable) public CfnProfilingGroupProps.Builder agentPermissions(Object agentPermissions)
CfnProfilingGroupProps.getAgentPermissions()agentPermissions - The agent permissions attached to this profiling group.
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 .
this@Stability(value=Stable) public CfnProfilingGroupProps.Builder anomalyDetectionNotificationConfiguration(IResolvable anomalyDetectionNotificationConfiguration)
CfnProfilingGroupProps.getAnomalyDetectionNotificationConfiguration()anomalyDetectionNotificationConfiguration - Adds anomaly notifications for a profiling group.this@Stability(value=Stable) public CfnProfilingGroupProps.Builder anomalyDetectionNotificationConfiguration(List<? extends Object> anomalyDetectionNotificationConfiguration)
CfnProfilingGroupProps.getAnomalyDetectionNotificationConfiguration()anomalyDetectionNotificationConfiguration - Adds anomaly notifications for a profiling group.this@Stability(value=Stable) public CfnProfilingGroupProps.Builder computePlatform(String computePlatform)
CfnProfilingGroupProps.getComputePlatform()computePlatform - The compute platform of the profiling group.
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.this@Stability(value=Stable) public CfnProfilingGroupProps.Builder tags(List<? extends CfnTag> tags)
CfnProfilingGroupProps.getTags()tags - A list of tags to add to the created profiling group.this@Stability(value=Stable) public CfnProfilingGroupProps build()
build in interface software.amazon.jsii.Builder<CfnProfilingGroupProps>CfnProfilingGroupPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.