# NotificationFilterConfigProperty

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: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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" }
};
```

Golang:

```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

- `messageTypes`: 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.

- `severities`: string[] — The severity levels that you want to receive notifications for.

  For example, you can choose to receive notifications only for insights with `HIGH` and `MEDIUM` severity levels. For more information, see [Understanding insight severities](https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities) .
