aws-cdk-lib.aws_applicationinsights.CfnApplication.AlarmMetricProperty

interface AlarmMetricProperty

LanguageType name
.NETAmazon.CDK.AWS.ApplicationInsights.CfnApplication.AlarmMetricProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsapplicationinsights#CfnApplication_AlarmMetricProperty
Javasoftware.amazon.awscdk.services.applicationinsights.CfnApplication.AlarmMetricProperty
Pythonaws_cdk.aws_applicationinsights.CfnApplication.AlarmMetricProperty
TypeScript aws-cdk-lib » aws_applicationinsights » CfnApplication » AlarmMetricProperty

The AWS::ApplicationInsights::Application AlarmMetric property type defines a metric to monitor for the component.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_applicationinsights as applicationinsights } from 'aws-cdk-lib';
const alarmMetricProperty: applicationinsights.CfnApplication.AlarmMetricProperty = {
  alarmMetricName: 'alarmMetricName',
};

Properties

NameTypeDescription
alarmMetricNamestringThe name of the metric to be monitored for the component.

alarmMetricName

Type: string

The name of the metric to be monitored for the component.

For metrics supported by Application Insights, see Logs and metrics supported by Amazon CloudWatch Application Insights .