Skip to content
v2.274.0

CfnNotificationProps Struct ​

Properties for defining a CfnNotification.

Example ​

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',
  }],
};

Properties ​

The content of a notification.
expiresAtoptionalstringexpires_atoptionalstrexpiresAtoptionalStringExpiresAtoptionalstringExpiresAtoptional*string#
The time a notification will expire.
instanceArnstringinstance_arnstrinstanceArnStringInstanceArnstringInstanceArn*stringrequired#
The identifier of the Amazon Connect instance.
priorityoptionalstringpriorityoptionalstrpriorityoptionalStringPriorityoptionalstringPriorityoptional*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)

recipientsoptionalstring[]recipientsoptionaltyping.List[str]recipientsoptionalList<String>Recipientsoptionalstring[]Recipientsoptional*[]*string#
The recipients of the notification.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
One or more tags.