aws-cdk-lib.aws_lookoutmetrics.CfnAlert.ActionProperty

interface ActionProperty

LanguageType name
.NETAmazon.CDK.AWS.LookoutMetrics.CfnAlert.ActionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslookoutmetrics#CfnAlert_ActionProperty
Javasoftware.amazon.awscdk.services.lookoutmetrics.CfnAlert.ActionProperty
Pythonaws_cdk.aws_lookoutmetrics.CfnAlert.ActionProperty
TypeScript 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

NameTypeDescription
lambdaConfiguration?IResolvable | LambdaConfigurationPropertyA configuration for an AWS Lambda channel.
snsConfiguration?IResolvable | SNSConfigurationPropertyA configuration for an Amazon SNS channel.

lambdaConfiguration?

Type: IResolvable | LambdaConfigurationProperty (optional)

A configuration for an AWS Lambda channel.


snsConfiguration?

Type: IResolvable | SNSConfigurationProperty (optional)

A configuration for an Amazon SNS channel.