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
Notification content.
Supports variable injection. For more information, see JSONPath reference in the Connect Customer Administrators Guide .
Content type format.
Allowed value : PLAIN_TEXT
deliveryMethodstringdelivery_methodstrdeliveryMethodStringDeliveryMethodstringDeliveryMethod*stringrequired#Notification delivery method.
Allowed value : EMAIL
exclusionIResolvable | CfnRule.NotificationRecipientTypePropertyexclusiontyping.Union[IResolvable, NotificationRecipientTypeProperty]exclusionIResolvableExclusionIResolvableExclusioninterface{}#The type of notification recipient.
recipientIResolvable | CfnRule.NotificationRecipientTypePropertyrecipienttyping.Union[IResolvable, NotificationRecipientTypeProperty]recipientIResolvableRecipientIResolvableRecipientinterface{}required#Notification recipient.
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 .