aws-cdk-lib.aws_connect.CfnRule.SendNotificationActionProperty

interface SendNotificationActionProperty

LanguageType name
.NETAmazon.CDK.AWS.Connect.CfnRule.SendNotificationActionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsconnect#CfnRule_SendNotificationActionProperty
Javasoftware.amazon.awscdk.services.connect.CfnRule.SendNotificationActionProperty
Pythonaws_cdk.aws_connect.CfnRule.SendNotificationActionProperty
TypeScript aws-cdk-lib » aws_connect » CfnRule » SendNotificationActionProperty

Information about the send notification action.

Example

// 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
  subject: 'subject',
};

Properties

NameTypeDescription
contentstringNotification content.
contentTypestringContent type format.
deliveryMethodstringNotification delivery method.
recipientIResolvable | NotificationRecipientTypePropertyNotification recipient.
subject?stringThe subject of the email if the delivery method is EMAIL .

content

Type: string

Notification content.

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


contentType

Type: string

Content type format.

Allowed value : PLAIN_TEXT


deliveryMethod

Type: string

Notification delivery method.

Allowed value : EMAIL


recipient

Type: IResolvable | NotificationRecipientTypeProperty

Notification recipient.


subject?

Type: string (optional)

The subject of the email if the delivery method is EMAIL .

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