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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAlert.ActionPropertystatic final classAn 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.Returns union: either
IResolvableorCfnAlert.LambdaConfigurationProperty- See Also:
-
getSnsConfiguration
A configuration for an Amazon SNS channel.Returns union: either
IResolvableorCfnAlert.SNSConfigurationProperty- See Also:
-
builder
- Returns:
- a
CfnAlert.ActionProperty.BuilderofCfnAlert.ActionProperty
-