AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::ApplicationSignals::Discovery

CfnDiscovery

> If you have existing `AWS::ApplicationSignals::Discovery` resources that were created prior to the Application Map release, you will need to delete and recreate these resources in your account to enable Application Map. Enables this AWS account to be able to use CloudWatch Application Signals by creating the `AWSServiceRoleForCloudWatchApplicationSignals` service-linked role. This service-linked role has the following permissions: - `xray:GetServiceGraph` - `logs:StartQuery` - `logs:GetQueryResults` - `cloudwatch:GetMetricData` - `cloudwatch:ListMetrics` - `tag:GetResources` - `autoscaling:DescribeAutoScalingGroups` A service-linked CloudTrail event channel is created to process CloudTrail events and return change event information. This includes last deployment time, userName, eventName, and other event metadata. After completing this step, you still need to instrument your Java and Python applications to send data to Application Signals. For more information, see [Enabling Application Signals](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Application-Signals-Enable.html) .

Import

import { CfnDiscovery } from 'aws-cdk-lib/aws-applicationsignals';

Or use the module namespace:

import * as applicationsignals from 'aws-cdk-lib/aws-applicationsignals';
// applicationsignals.CfnDiscovery

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-applicationsignals
CFN TypeAWS::ApplicationSignals::Discovery

External Links