AWS::LookoutMetrics::Alert
The AWS::LookoutMetrics::Alert type creates an alert for an anomaly detector.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::LookoutMetrics::Alert", "Properties" : { "Action" :Action, "AlertDescription" :String, "AlertName" :String, "AlertSensitivityThreshold" :Integer, "AnomalyDetectorArn" :String} }
YAML
Type: AWS::LookoutMetrics::Alert Properties: Action:ActionAlertDescription:StringAlertName:StringAlertSensitivityThreshold:IntegerAnomalyDetectorArn:String
Properties
Action-
Action that will be triggered when there is an alert.
Required: Yes
Type: Action
Update requires: Replacement
AlertDescription-
A description of the alert.
Required: No
Type: String
Update requires: Replacement
AlertName-
The name of the alert.
Required: No
Type: String
Update requires: Replacement
AlertSensitivityThreshold-
An integer from 0 to 100 specifying the alert sensitivity threshold.
Required: Yes
Type: Integer
Update requires: Replacement
AnomalyDetectorArn-
The ARN of the detector to which the alert is attached.
Required: Yes
Type: String
Update requires: Replacement
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Reffunction, Refreturns the resource name.
For more information about using the Reffunction, see Ref.
Fn::GetAtt
The Fn::GetAttintrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAttintrinsic function, see Fn::GetAtt.