# CfnNotificationProps

Properties for defining a `CfnNotification`.

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

- Source: Generated at build time
- Type last changed: v2.241.0 · 2 Mar 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const cfnNotificationProps: connect.CfnNotificationProps = {
  content: {
    deDe: 'deDe',
    enUs: 'enUs',
    esEs: 'esEs',
    frFr: 'frFr',
    idId: 'idId',
    itIt: 'itIt',
    jaJp: 'jaJp',
    koKr: 'koKr',
    ptBr: 'ptBr',
    zhCn: 'zhCn',
    zhTw: 'zhTw',
  },
  instanceArn: 'instanceArn',

  // the properties below are optional
  expiresAt: 'expiresAt',
  priority: 'priority',
  recipients: ['recipients'],
  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_connect as connect

cfn_notification_props = connect.CfnNotificationProps(
    content=connect.CfnNotification.NotificationContentProperty(
        de_de="deDe",
        en_us="enUs",
        es_es="esEs",
        fr_fr="frFr",
        id_id="idId",
        it_it="itIt",
        ja_jp="jaJp",
        ko_kr="koKr",
        pt_br="ptBr",
        zh_cn="zhCn",
        zh_tw="zhTw"
    ),
    instance_arn="instanceArn",

    # the properties below are optional
    expires_at="expiresAt",
    priority="priority",
    recipients=["recipients"],
    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.connect.*;

CfnNotificationProps cfnNotificationProps = CfnNotificationProps.builder()
        .content(NotificationContentProperty.builder()
                .deDe("deDe")
                .enUs("enUs")
                .esEs("esEs")
                .frFr("frFr")
                .idId("idId")
                .itIt("itIt")
                .jaJp("jaJp")
                .koKr("koKr")
                .ptBr("ptBr")
                .zhCn("zhCn")
                .zhTw("zhTw")
                .build())
        .instanceArn("instanceArn")

        // the properties below are optional
        .expiresAt("expiresAt")
        .priority("priority")
        .recipients(List.of("recipients"))
        .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.Connect;

var cfnNotificationProps = new CfnNotificationProps {
    Content = new NotificationContentProperty {
        DeDe = "deDe",
        EnUs = "enUs",
        EsEs = "esEs",
        FrFr = "frFr",
        IdId = "idId",
        ItIt = "itIt",
        JaJp = "jaJp",
        KoKr = "koKr",
        PtBr = "ptBr",
        ZhCn = "zhCn",
        ZhTw = "zhTw"
    },
    InstanceArn = "instanceArn",

    // the properties below are optional
    ExpiresAt = "expiresAt",
    Priority = "priority",
    Recipients = new [] { "recipients" },
    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"

cfnNotificationProps := &CfnNotificationProps{
	Content: &NotificationContentProperty{
		DeDe: jsii.String("deDe"),
		EnUs: jsii.String("enUs"),
		EsEs: jsii.String("esEs"),
		FrFr: jsii.String("frFr"),
		IdId: jsii.String("idId"),
		ItIt: jsii.String("itIt"),
		JaJp: jsii.String("jaJp"),
		KoKr: jsii.String("koKr"),
		PtBr: jsii.String("ptBr"),
		ZhCn: jsii.String("zhCn"),
		ZhTw: jsii.String("zhTw"),
	},
	InstanceArn: jsii.String("instanceArn"),

	// the properties below are optional
	ExpiresAt: jsii.String("expiresAt"),
	Priority: jsii.String("priority"),
	Recipients: []*string{
		jsii.String("recipients"),
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `content`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnNotification.NotificationContentProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_connect.CfnNotification.NotificationContentProperty.html) (required) — The content of a notification.

- `expiresAt`: string — The time a notification will expire.

- `instanceArn`: string (required) — The identifier of the Amazon Connect instance.

- `priority`: string — The priority of notification.

  In the Amazon Connect console, when you create a notification, you are prompted to assign one of the following priorities: High (HIGH) or LOW (LOW)

- `recipients`: string[] — The recipients of the notification.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — One or more tags.
