@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)",
date="2022-08-09T19:16:33.764Z")
public interface CfnAlertProps
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.*; CfnAlertProps cfnAlertProps = CfnAlertProps.builder() .action(ActionProperty.builder() .lambdaConfiguration(LambdaConfigurationProperty.builder() .lambdaArn("lambdaArn") .roleArn("roleArn") .build()) .snsConfiguration(SNSConfigurationProperty.builder() .roleArn("roleArn") .snsTopicArn("snsTopicArn") .build()) .build()) .alertSensitivityThreshold(123) .anomalyDetectorArn("anomalyDetectorArn") // the properties below are optional .alertDescription("alertDescription") .alertName("alertName") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnAlertProps.Builder
A builder for
CfnAlertProps |
static class |
CfnAlertProps.Jsii$Proxy
An implementation for
CfnAlertProps |
Modifier and Type | Method and Description |
---|---|
static CfnAlertProps.Builder |
builder() |
java.lang.Object |
getAction()
Action that will be triggered when there is an alert.
|
default java.lang.String |
getAlertDescription()
A description of the alert.
|
default java.lang.String |
getAlertName()
The name of the alert.
|
java.lang.Number |
getAlertSensitivityThreshold()
An integer from 0 to 100 specifying the alert sensitivity threshold.
|
java.lang.String |
getAnomalyDetectorArn()
The ARN of the detector to which the alert is attached.
|
java.lang.Object getAction()
java.lang.Number getAlertSensitivityThreshold()
java.lang.String getAnomalyDetectorArn()
default java.lang.String getAlertDescription()
default java.lang.String getAlertName()
static CfnAlertProps.Builder builder()
CfnAlertProps.Builder
of CfnAlertProps