interface CfnAlertMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.LookoutMetrics.Mixins.CfnAlertMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslookoutmetrics/mixins#CfnAlertMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.lookoutmetrics.mixins.CfnAlertMixinProps |
Python | aws_cdk.mixins_preview.aws_lookoutmetrics.mixins.CfnAlertMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_lookoutmetrics » mixins » 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 { mixins as lookoutmetrics_mixins } from '@aws-cdk/mixins-preview/aws-lookoutmetrics';
const cfnAlertMixinProps: lookoutmetrics_mixins.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