interface CfnAlertMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.LookoutMetrics.CfnAlertMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslookoutmetrics#CfnAlertMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.lookoutmetrics.CfnAlertMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_lookoutmetrics.CfnAlertMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lookoutmetrics » CfnAlertMixinProps |
Properties for CfnAlertPropsMixin.
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/cfn-property-mixins';
const cfnAlertMixinProps: lookoutmetrics.CfnAlertMixinProps = {
action: {
lambdaConfiguration: {
lambdaArn: 'lambdaArn',
roleArn: 'roleArn',
},
snsConfiguration: {
roleArn: 'roleArn',
snsTopicArn: 'snsTopicArn',
},
},
alertDescription: 'alertDescription',
alertName: 'alertName',
alertSensitivityThreshold: 123,
anomalyDetectorArn: 'anomalyDetectorArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| action? | IResolvable | Action | Action that will be triggered when there is an alert. |
| alert | string | A description of the alert. |
| alert | string | The name of the 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. |
action?
Type:
IResolvable | Action
(optional)
Action that will be triggered when there is an alert.
alertDescription?
Type:
string
(optional)
A description of the alert.
alertName?
Type:
string
(optional)
The name of the alert.
alertSensitivityThreshold?
Type:
number
(optional)
An integer from 0 to 100 specifying the alert sensitivity threshold.
anomalyDetectorArn?
Type:
string
(optional)
The ARN of the detector to which the alert is attached.

.NET
Go
Java
Python
TypeScript