Skip to content
v2.275.0

AlarmProperty Struct ​

The AWS::ApplicationInsights::Application Alarm property type defines a CloudWatch alarm to be monitored for the component.

Example ​

ts
// 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 alarmProperty: applicationinsights.CfnApplication.AlarmProperty = {
  alarmName: 'alarmName',

  // the properties below are optional
  severity: 'severity',
};

Properties ​

alarmNamestringalarm_namestralarmNameStringAlarmNamestringAlarmName*stringrequired#
The name of the CloudWatch alarm to be monitored for the component.
severityoptionalstringseverityoptionalstrseverityoptionalStringSeverityoptionalstringSeverityoptional*string#
Indicates the degree of outage when the alarm goes off.