Amazon S3 Connector Guide

Amazon S3 Connector Guide

File Content Properties for Monitor Event Sources

File Content Properties for Monitor Event Sources

You can use the Monitor event type to monitor an S3 bucket for new objects and be notified when a new object is found.
The Monitor event source includes hat allow you to configure event sources and process different content types based on the S3 object data and the data format you need to receive:
The following table describes the content type settings applicable to all S3 monitor event source types:
Property
Description
Content Format
Required. Select the format of the content to be processed:
  • Ignore
    : Use this option when you need only metadata that you can obtain directly from the S3 object and not the content.
  • Plain Text
    : Use this option to get the S3 content as plain text.
  • Binary
    : Use this option to convert the S3 content to a Base64- encoded string for both text and other file types.
  • XML
    and
    JSON
    : Use this option if you need to parse and convert the S3 object content to an object or a list of process objects of any type, and send them together with an event to your process.
  • Attachment
    : Use this option if you do not need to obtain the S3 object content as part of an event, which might be more efficient. The content of an S3 object will be included as an attachment in the generated event.
Simplify Content
Required. Select
Yes
if the XML or JSON content to be processed is not in a valid process object structure and you want the event source to modify the structure of the content so it uses the process object's format.
For example, if your XML object contains XML attributes that are normally skipped and you enable this option, the attributes are converted to nested XML elements and processed as valid object fields.
Single Object Mode
Required. Select
Yes
if you want to convert all XML content to a single process object. Use this option only if you need to work with XML content.

0 COMMENTS

We’d like to hear from you!