Interface CfnNotificationChannel.NotificationFilterConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnNotificationChannel.NotificationFilterConfigProperty.Jsii$Proxy
- Enclosing class:
CfnNotificationChannel
@Stability(Stable)
public static interface CfnNotificationChannel.NotificationFilterConfigProperty
extends software.amazon.jsii.JsiiSerializable
The filter configurations for the Amazon SNS notification topic you use with DevOps Guru.
You can choose to specify which events or message types to receive notifications for. You can also choose to specify which severity levels to receive notifications for.
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.devopsguru.*; NotificationFilterConfigProperty notificationFilterConfigProperty = NotificationFilterConfigProperty.builder() .messageTypes(List.of("messageTypes")) .severities(List.of("severities")) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnNotificationChannel.NotificationFilterConfigProperty
static final class
An implementation forCfnNotificationChannel.NotificationFilterConfigProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The events that you want to receive notifications for.The severity levels that you want to receive notifications for.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMessageTypes
The events that you want to receive notifications for.For example, you can choose to receive notifications only when the severity level is upgraded or a new insight is created.
-
getSeverities
The severity levels that you want to receive notifications for.For example, you can choose to receive notifications only for insights with
HIGH
andMEDIUM
severity levels. For more information, see Understanding insight severities . -
builder
-