Skip to content
v2.274.0

SendNotificationActionProperty Struct ​

Information about the send notification action.

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 sendNotificationActionProperty: connect.CfnRule.SendNotificationActionProperty = {
  content: 'content',
  contentType: 'contentType',
  deliveryMethod: 'deliveryMethod',
  recipient: {
    userArns: ['userArns'],
    userTags: {
      userTagsKey: 'userTags',
    },
  },

  // the properties below are optional
  exclusion: {
    userArns: ['userArns'],
    userTags: {
      userTagsKey: 'userTags',
    },
  },
  subject: 'subject',
};

Properties ​

contentstringcontentstrcontentStringContentstringContent*stringrequired#
Notification content.

Supports variable injection. For more information, see JSONPath reference in the Connect Customer Administrators Guide .

contentTypestringcontent_typestrcontentTypeStringContentTypestringContentType*stringrequired#
Content type format.

Allowed value : PLAIN_TEXT

deliveryMethodstringdelivery_methodstrdeliveryMethodStringDeliveryMethodstringDeliveryMethod*stringrequired#
Notification delivery method.

Allowed value : EMAIL

The type of notification recipient.
recipientIResolvable | CfnRule.NotificationRecipientTypePropertyrecipienttyping.Union[IResolvable, NotificationRecipientTypeProperty]recipientIResolvableRecipientIResolvableRecipientinterface{}required#
Notification recipient.
subjectstringsubjectstrsubjectStringSubjectstringSubject*string#
The subject of the email if the delivery method is `EMAIL` .

Supports variable injection. For more information, see JSONPath reference in the Connect Customer Administrators Guide .