Interface CfnAlertMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAlertMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-02T21:55:29.545Z")
@Stability(Stable)
public interface CfnAlertMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnAlertPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.lookoutmetrics.*;
CfnAlertMixinProps cfnAlertMixinProps = CfnAlertMixinProps.builder()
.action(ActionProperty.builder()
.lambdaConfiguration(LambdaConfigurationProperty.builder()
.lambdaArn("lambdaArn")
.roleArn("roleArn")
.build())
.snsConfiguration(SNSConfigurationProperty.builder()
.roleArn("roleArn")
.snsTopicArn("snsTopicArn")
.build())
.build())
.alertDescription("alertDescription")
.alertName("alertName")
.alertSensitivityThreshold(123)
.anomalyDetectorArn("anomalyDetectorArn")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAlertMixinPropsstatic final classAn implementation forCfnAlertMixinProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnAlertMixinProps.Builderbuilder()default ObjectAction that will be triggered when there is an alert.default StringA description of the alert.default StringThe name of the alert.default NumberAn integer from 0 to 100 specifying the alert sensitivity threshold.default StringThe ARN of the detector to which the alert is attached.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAction
Action that will be triggered when there is an alert.Returns union: either
IResolvableorCfnAlertPropsMixin.ActionProperty- See Also:
-
getAlertDescription
A description of the alert.- See Also:
-
getAlertName
The name of the alert.- See Also:
-
getAlertSensitivityThreshold
An integer from 0 to 100 specifying the alert sensitivity threshold.- See Also:
-
getAnomalyDetectorArn
The ARN of the detector to which the alert is attached.- See Also:
-
builder
- Returns:
- a
CfnAlertMixinProps.BuilderofCfnAlertMixinProps
-