Skip to content
v2.278.0

CfnNotificationConfigurationProps Struct ​

Properties for defining a CfnNotificationConfiguration.

Example ​

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
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
// 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();
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"
    } }
};
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 ​

aggregationDurationoptionalstringaggregation_durationoptionalstraggregationDurationoptionalStringAggregationDurationoptionalstringAggregationDurationoptional*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.

descriptionstringdescriptionstrdescriptionStringDescriptionstringDescription*string required #
The description of the `NotificationConfiguration` .
namestringnamestrnameStringNamestringName*string required #
The name of the `NotificationConfiguration` .

Supports RFC 3986's unreserved characters.

tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
A map of tags assigned to a `NotificationConfiguration` .