AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::CodeGuruProfiler::ProfilingGroup

CfnProfilingGroup

Creates a profiling group.

Import

import { CfnProfilingGroup } from 'aws-cdk-lib/aws-codeguruprofiler';

Or use the module namespace:

import * as codeguruprofiler from 'aws-cdk-lib/aws-codeguruprofiler';
// codeguruprofiler.CfnProfilingGroup

Properties

Configuration passed to the constructor as CfnProfilingGroupProps.

profilingGroupNameRequired
string | IFunctionRef

The name of the profiling group.

agentPermissionsOptional
any

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](https://docs.aws.amazon.com/codeguru/latest/profiler-ug/resource-based-policies.html) in the *Amazon CodeGuru Profiler user guide* , [ConfigureAgent](https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html) , and [PostAgentProfile](https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_PostAgentProfile.html) .

anomalyDetectionNotificationConfigurationOptional
IResolvable | IResolvable | ChannelProperty[]

Adds anomaly notifications for a profiling group.

computePlatformOptional
string

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.

tagsOptional
CfnTag[]

A list of tags to add to the created profiling group.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-codeguruprofiler
CFN TypeAWS::CodeGuruProfiler::ProfilingGroup
Properties5

Related Constructs

External Links