Interface ICfnAlertProps
Properties for defining a CfnAlert
.
Namespace: Amazon.CDK.AWS.LookoutMetrics
Assembly: Amazon.CDK.AWS.LookoutMetrics.dll
Syntax (csharp)
public interface ICfnAlertProps
Syntax (vb)
Public Interface ICfnAlertProps
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-alert.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.LookoutMetrics;
var cfnAlertProps = new CfnAlertProps {
Action = new ActionProperty {
LambdaConfiguration = new LambdaConfigurationProperty {
LambdaArn = "lambdaArn",
RoleArn = "roleArn"
},
SnsConfiguration = new SNSConfigurationProperty {
RoleArn = "roleArn",
SnsTopicArn = "snsTopicArn"
}
},
AlertSensitivityThreshold = 123,
AnomalyDetectorArn = "anomalyDetectorArn",
// the properties below are optional
AlertDescription = "alertDescription",
AlertName = "alertName"
};
Synopsis
Properties
Action | Action that will be triggered when there is an alert. |
AlertDescription | A description of the alert. |
AlertName | The name of the alert. |
AlertSensitivityThreshold | An integer from 0 to 100 specifying the alert sensitivity threshold. |
AnomalyDetectorArn | The ARN of the detector to which the alert is attached. |
Properties
Action
Action that will be triggered when there is an alert.
object Action { get; }
Property Value
System.Object
Remarks
AlertDescription
A description of the alert.
virtual string AlertDescription { get; }
Property Value
System.String
Remarks
AlertName
The name of the alert.
virtual string AlertName { get; }
Property Value
System.String
Remarks
AlertSensitivityThreshold
An integer from 0 to 100 specifying the alert sensitivity threshold.
double AlertSensitivityThreshold { get; }
Property Value
System.Double
Remarks
AnomalyDetectorArn
The ARN of the detector to which the alert is attached.
string AnomalyDetectorArn { get; }
Property Value
System.String