Dynamic Producer Destinations

To route messages to dynamic destinations at runtime, set the following headers. For more information, see Mapping Message Headers and Payloads.

Header Name Type Values Applies To Description

scst_targetDestination

string

Any valid destination name

Amazon SNS

If you provide the SNS topic name:

  • If the SNS does not exist, the connector attempts to create the SNS and then returns its ARN.
  • If the SNS already exists, the connector returns the ARN for the existing SNS

You should be aware that if you only provide the SNS topic name, the account configured for the connector must have the necessary SNS create permissions, otherwise the creation process fails due to insufficient access.

For example, you can specify an ARN value as shown:

arn:aws:sns:us-east-2:123456789012:MyTopic