aws-cdk-lib.aws_applicationinsights.CfnApplication.AlarmProperty

interface AlarmProperty

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

The AWS::ApplicationInsights::Application Alarm property type defines a CloudWatch alarm to be monitored 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 alarmProperty: applicationinsights.CfnApplication.AlarmProperty = {
  alarmName: 'alarmName',

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

Properties

NameTypeDescription
alarmNamestringThe name of the CloudWatch alarm to be monitored for the component.
severity?stringIndicates the degree of outage when the alarm goes off.

alarmName

Type: string

The name of the CloudWatch alarm to be monitored for the component.


severity?

Type: string (optional)

Indicates the degree of outage when the alarm goes off.