Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace EndpointSendConfiguration

Specifies the content, including message variables and attributes, to use in a message that's sent directly to an endpoint.

Index

Properties

Optional BodyOverride

BodyOverride: undefined | string

The body of the message. If specified, this value overrides the default message body.

Optional Context

Context: Record<string, string>

A map of custom attributes to attach to the message for the address. Attribute names are case sensitive.

For a push notification, this payload is added to the data.pinpoint object. For an email or text message, this payload is added to email/SMS delivery receipt event attributes.

Optional RawContent

RawContent: undefined | string

The raw, JSON-formatted string to use as the payload for the message. If specified, this value overrides all other values for the message.

Optional Substitutions

Substitutions: Record<string, string[]>

A map of the message variables to merge with the variables specified for the default message (DefaultMessage.Substitutions). The variables specified in this map take precedence over all other variables.

Optional TitleOverride

TitleOverride: undefined | string

The title or subject line of the message. If specified, this value overrides the default message title or subject line.