@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.442Z") @Stability(value=Stable) public interface CfnProfilingGroupProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnProfilingGroupProps.Builder
A builder for
CfnProfilingGroupProps |
static class |
CfnProfilingGroupProps.Jsii$Proxy
An implementation for
CfnProfilingGroupProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnProfilingGroupProps.Builder |
builder() |
default Object |
getAgentPermissions()
The agent permissions attached to this profiling group.
|
default Object |
getAnomalyDetectionNotificationConfiguration()
Adds anomaly notifications for a profiling group.
|
default String |
getComputePlatform()
The compute platform of the profiling group.
|
String |
getProfilingGroupName()
The name of the profiling group.
|
default List<CfnTag> |
getTags()
A list of tags to add to the created profiling group.
|
@Stability(value=Stable) @NotNull String getProfilingGroupName()
@Stability(value=Stable) @Nullable default Object getAgentPermissions()
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 .
@Stability(value=Stable) @Nullable default Object getAnomalyDetectionNotificationConfiguration()
@Stability(value=Stable) @Nullable default String getComputePlatform()
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.
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnProfilingGroupProps.Builder builder()
CfnProfilingGroupProps.Builder of CfnProfilingGroupPropsCopyright © 2022. All rights reserved.