interface ActionProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.LookoutMetrics.CfnAlert.ActionProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslookoutmetrics#CfnAlert_ActionProperty |
![]() | software.amazon.awscdk.services.lookoutmetrics.CfnAlert.ActionProperty |
![]() | aws_cdk.aws_lookoutmetrics.CfnAlert.ActionProperty |
![]() | aws-cdk-lib » aws_lookoutmetrics » CfnAlert » ActionProperty |
A configuration that specifies the action to perform when anomalies are detected.
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 actionProperty: lookoutmetrics.CfnAlert.ActionProperty = {
lambdaConfiguration: {
lambdaArn: 'lambdaArn',
roleArn: 'roleArn',
},
snsConfiguration: {
roleArn: 'roleArn',
snsTopicArn: 'snsTopicArn',
},
};
Properties
Name | Type | Description |
---|---|---|
lambda | IResolvable | Lambda | A configuration for an AWS Lambda channel. |
sns | IResolvable | SNSConfiguration | A configuration for an Amazon SNS channel. |
lambdaConfiguration?
Type:
IResolvable
|
Lambda
(optional)
A configuration for an AWS Lambda channel.
snsConfiguration?
Type:
IResolvable
|
SNSConfiguration
(optional)
A configuration for an Amazon SNS channel.