interface ActionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.LookoutMetrics.CfnAlertPropsMixin.ActionProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslookoutmetrics#CfnAlertPropsMixin_ActionProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.lookoutmetrics.CfnAlertPropsMixin.ActionProperty |
Python | aws_cdk.cfn_property_mixins.aws_lookoutmetrics.CfnAlertPropsMixin.ActionProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lookoutmetrics » CfnAlertPropsMixin » 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/cfn-property-mixins';
const actionProperty: lookoutmetrics.CfnAlertPropsMixin.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.

.NET
Go
Java
Python
TypeScript