interface CfnAlertProps
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.LookoutMetrics.CfnAlertProps | 
  Go | github.com/aws/aws-cdk-go/awscdk/v2/awslookoutmetrics#CfnAlertProps | 
  Java | software.amazon.awscdk.services.lookoutmetrics.CfnAlertProps | 
  Python | aws_cdk.aws_lookoutmetrics.CfnAlertProps | 
  TypeScript  | aws-cdk-lib » aws_lookoutmetrics » CfnAlertProps | 
Properties for defining a CfnAlert.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-alert.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lookoutmetrics as lookoutmetrics } from 'aws-cdk-lib';
const cfnAlertProps: lookoutmetrics.CfnAlertProps = {
  action: {
    lambdaConfiguration: {
      lambdaArn: 'lambdaArn',
      roleArn: 'roleArn',
    },
    snsConfiguration: {
      roleArn: 'roleArn',
      snsTopicArn: 'snsTopicArn',
    },
  },
  alertSensitivityThreshold: 123,
  anomalyDetectorArn: 'anomalyDetectorArn',
  // the properties below are optional
  alertDescription: 'alertDescription',
  alertName: 'alertName',
};
Properties
| Name | Type | Description | 
|---|---|---|
| action | IResolvable | Action | Action that will be triggered when there is an alert. | 
| alert | number | An integer from 0 to 100 specifying the alert sensitivity threshold. | 
| anomaly | string | The ARN of the detector to which the alert is attached. | 
| alert | string | A description of the alert. | 
| alert | string | The name of the alert. | 
action
Type:
IResolvable | Action
Action that will be triggered when there is an alert.
alertSensitivityThreshold
Type:
number
An integer from 0 to 100 specifying the alert sensitivity threshold.
anomalyDetectorArn
Type:
string
The ARN of the detector to which the alert is attached.
alertDescription?
Type:
string
(optional)
A description of the alert.
alertName?
Type:
string
(optional)
The name of the alert.

 .NET
 Go
 Java
 Python
 TypeScript