Interface CfnAlert.ActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAlert.ActionProperty.Jsii$Proxy
- Enclosing class:
CfnAlert
@Stability(Stable)
public static interface CfnAlert.ActionProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.lookoutmetrics.*; ActionProperty actionProperty = ActionProperty.builder() .lambdaConfiguration(LambdaConfigurationProperty.builder() .lambdaArn("lambdaArn") .roleArn("roleArn") .build()) .snsConfiguration(SNSConfigurationProperty.builder() .roleArn("roleArn") .snsTopicArn("snsTopicArn") .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnAlert.ActionProperty
static final class
An implementation forCfnAlert.ActionProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLambdaConfiguration
A configuration for an AWS Lambda channel.- See Also:
-
getSnsConfiguration
A configuration for an Amazon SNS channel.- See Also:
-
builder
- Returns:
- a
CfnAlert.ActionProperty.Builder
ofCfnAlert.ActionProperty
-