# CfnNotificationConfigurationProps

Properties for defining a `CfnNotificationConfiguration`.

Used as props by: [CfnNotificationConfiguration](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_notifications.CfnNotificationConfiguration.html)

- Source: Generated at build time
- Type last changed: v2.177.0 · 25 Jan 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_notifications as notifications } from 'aws-cdk-lib';
const cfnNotificationConfigurationProps: notifications.CfnNotificationConfigurationProps = {
  description: 'description',
  name: 'name',

  // the properties below are optional
  aggregationDuration: 'aggregationDuration',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

Python:

```python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_notifications as notifications

cfn_notification_configuration_props = notifications.CfnNotificationConfigurationProps(
    description="description",
    name="name",

    # the properties below are optional
    aggregation_duration="aggregationDuration",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
```

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.notifications.*;

CfnNotificationConfigurationProps cfnNotificationConfigurationProps = CfnNotificationConfigurationProps.builder()
        .description("description")
        .name("name")

        // the properties below are optional
        .aggregationDuration("aggregationDuration")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .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.Notifications;

var cfnNotificationConfigurationProps = new CfnNotificationConfigurationProps {
    Description = "description",
    Name = "name",

    // the properties below are optional
    AggregationDuration = "aggregationDuration",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

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"

cfnNotificationConfigurationProps := &CfnNotificationConfigurationProps{
	Description: jsii.String("description"),
	Name: jsii.String("name"),

	// the properties below are optional
	AggregationDuration: jsii.String("aggregationDuration"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `aggregationDuration`: string — The aggregation preference of the `NotificationConfiguration` .

  - Values:

  - `LONG`

  - Aggregate notifications for long periods of time (12 hours).
  - `SHORT`

  - Aggregate notifications for short periods of time (5 minutes).
  - `NONE`

  - Don't aggregate notifications.

- `description`: string (required) — The description of the `NotificationConfiguration` .

- `name`: string (required) — The name of the `NotificationConfiguration` .

  Supports RFC 3986's unreserved characters.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — A map of tags assigned to a `NotificationConfiguration` .
