ElastiCache Write

In this article

Overview

This Snap adds new records to the AWS Redis account.

 

Snap Type

The ElastiCache Snap is a Write-type Snap that writes data to the SnapLogic or external target database.

Prerequisites

None.

Limitations and Known Issues

None.

Snap Views

 

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input 

Document

  • Min: 0

  • Max: 1

  • Mapper

  • JSON Formatter

Each document contains the data in the form of JSON.

Output

Document

  • Min: 0

  • Max: 1

  • Join

  • Copy

Each document contains a corresponding response in the form of JSON.

Error

Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter when running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab:

  • Stop Pipeline Execution: Stops the current Pipeline execution if the Snap encounters an error.

  • Discard Error Data and Continue: Ignores the error, discards that record, and continues with the remaining records.

  • Route Error Data to Error View: Routes the error data to an error view without stopping the Snap execution.

Learn more about Error handling in Pipelines.

Snap Settings

  • Asterisk ( * ): Indicates a mandatory field.

  • Suggestion icon (): Indicates a dynamically populated list based on the configuration.

  • Expression icon ( ): Indicates the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.

  • Add icon ( ): Indicates that you can add fields in the field set.

  • Remove icon ( ): Indicates that you can remove fields from the field set.

  • The upload icon ( ): Indicates that you can upload files.

Field Name

Field Type

Description

Field Name

Field Type

Description

Label*

 

Default ValueElastic write
ExampleElastic Write

String

The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your Pipeline.

 

Input type*

 

Default Value: JSON Array
Example: Map

String

Enter the type of data used to write the specific data to the required database. The options available are:

  • JSON data

  • JSON Array

  • Map

  • Array

Key name*

 

Default Value: None
Example: MF96D-M9N47-XKV7X-C3GCQ-G5349

String

Specify the key name of the object.

Object data*

 

Default Value: N/A
Example: specify_account

String

Specify the object data that writes to the AWS Redis account.

Expiry (Seconds)

 

Default Value: 0
Example: 10

Integer

Enter the number of seconds (TTL value) until the key expires. Time to live (TTL) is an integer value that specifies the number of seconds until the key expires. To know more about Redis TTL value, refer to Redis TTL value.

Original Data

Default Value: Unselected
Example: Selected

Checkbox

Select this checkbox to add the original data to the output.

Snap Execution

Default Value: Execute
Example: Validate & Execute

Dropdown list

Select one of the following three modes in which the Snap executes:

  • Validate & Execute: Performs limited execution of the Snap and generates a data preview during Pipeline validation. Subsequently, it performs complete execution of the Snap (unlimited records) during Pipeline runtime.

  • Execute only: Performs complete execution of the Snap during Pipeline execution without generating preview data.

  • Disabled: Disables the Snap and all Snaps that are downstream from it.

 

Snap Pack History