Class CfnProfilingGroupProps
Properties for defining a CfnProfilingGroup
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CodeGuruProfiler
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnProfilingGroupProps : Object, ICfnProfilingGroupProps
Syntax (vb)
Public Class CfnProfilingGroupProps
Inherits Object
Implements ICfnProfilingGroupProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeGuruProfiler;
var agentPermissions;
var cfnProfilingGroupProps = new CfnProfilingGroupProps {
ProfilingGroupName = "profilingGroupName",
// the properties below are optional
AgentPermissions = agentPermissions,
AnomalyDetectionNotificationConfiguration = new [] { new ChannelProperty {
ChannelUri = "channelUri",
// the properties below are optional
ChannelId = "channelId"
} },
ComputePlatform = "computePlatform",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnProfilingGroupProps() |
Properties
AgentPermissions | The agent permissions attached to this profiling group. |
AnomalyDetectionNotificationConfiguration | Adds anomaly notifications for a profiling group. |
ComputePlatform | The compute platform of the profiling group. |
ProfilingGroupName | The name of the profiling group. |
Tags | A list of tags to add to the created profiling group. |
Constructors
CfnProfilingGroupProps()
public CfnProfilingGroupProps()
Properties
AgentPermissions
The agent permissions attached to this profiling group.
public object AgentPermissions { get; set; }
Property Value
System.Object
Remarks
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 .
AnomalyDetectionNotificationConfiguration
Adds anomaly notifications for a profiling group.
public object AnomalyDetectionNotificationConfiguration { get; set; }
Property Value
System.Object
Remarks
ComputePlatform
The compute platform of the profiling group.
public string ComputePlatform { get; set; }
Property Value
System.String
Remarks
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.
ProfilingGroupName
The name of the profiling group.
public string ProfilingGroupName { get; set; }
Property Value
System.String
Remarks
Tags
A list of tags to add to the created profiling group.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]