NotificationFilterConfigProperty Struct
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.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devopsguru as devopsguru } from 'aws-cdk-lib';
const notificationFilterConfigProperty: devopsguru.CfnNotificationChannel.NotificationFilterConfigProperty = {
messageTypes: ['messageTypes'],
severities: ['severities'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsguru as devopsguru
notification_filter_config_property = devopsguru.CfnNotificationChannel.NotificationFilterConfigProperty(
message_types=["messageTypes"],
severities=["severities"]
)
java
// 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();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DevOpsGuru;
var notificationFilterConfigProperty = new NotificationFilterConfigProperty {
MessageTypes = new [] { "messageTypes" },
Severities = new [] { "severities" }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
notificationFilterConfigProperty := &NotificationFilterConfigProperty{
MessageTypes: []*string{
jsii.String("messageTypes"),
},
Severities: []*string{
jsii.String("severities"),
},
}
Properties
messageTypesoptionalstring[]message_typesoptionaltyping.List[str]messageTypesoptionalList<String>MessageTypesoptionalstring[]MessageTypesoptional*[]*string #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.
severitiesoptionalstring[]severitiesoptionaltyping.List[str]severitiesoptionalList<String>Severitiesoptionalstring[]Severitiesoptional*[]*string #The severity levels that you want to receive notifications for.
notes
For example, you can choose to receive notifications only for insights with HIGH and MEDIUM severity levels. For more information, see Understanding insight severities .