# AWS Nodes

# AWS S3

AWS S3 node allows to access AWS S3 bucket. This node is used for put, get and delete an object on a AWS S3 bucket.AWS S3 node uses profile credentials, region and the permission associated with the credentials to act on the S3 bucket.

Following are the operations supported by the S3 node.

Create Bucket

This operation creates a new S3 bucket on the AWS account associated with the aws credential profile associated with the account. This operation expects the user profile used to have permission to create a bucket.

DeleteBucket

This operation deletes an given S3 bucket on the AWS account associated with the aws credential profile associated with the account.This operation expects the user profile used to have permission to delete the bucket.

Get Object

This operation deletes an given S3 bucket on the AWS account associated with the aws credential profile associated with the account.This operation expects the user profile used to have permission to delete the bucket.

Copy Object

This operation creates a copy of an object that is already stored in Amazon S3. Copy Object operation does not support cross-region copies. This operation requires the user profile to have the permission to copy the object from a given S3 bucket.

CreateMultipartUpload

This operation initiates a multipart upload and returns an upload ID. This upload ID is used to associate all of the parts in the specific multipart upload.

Delete Object

This operation removes an object from Amazon S3. The node uses bucket name and key to remove the object. This operation requires the user profile to have the permission to remove the object from the S3 bucket.

Delete Objects

This operation removes multiple object from Amazon S3. The node uses bucket name and key to remove the object. This operation requires the user profile to have the permission to remove the object from the S3 bucket.

List Buckets

This operation lists the buckets available in the Amazon S3. The node uses the user profile permission to list the buckets.

ListMultipartUploads

This operation lists in-progress multipart uploads. An in-progress multipart upload is a multipart upload that has been initiated using the Initiate Multipart Upload request, but has not yet been completed or aborted.

ListObjects

This operation returns the list of all the available objects under an given S3 bucket. This operation requires the necessary permission to list all the objects available under a given S3 bucket.

PutObject

This operation adds an object to a bucket.This operation requires the write permission to add an object to the given S3 bucket.

Example:

How to create an file in S3 bucket using AWS S3 node

# AWS SQS

AWS SQS node allows access SQS queue.This node is used for send , receive, purge and delete message on AWS SQS. AWS SQS node uses profile credentials , region and the permission associated with the credentials to act on the given SQS queue.

Following are the operations supported by the SQS node.

SendMessage

This operation is selected to send the message to a given SQS queue. Queue URL and message content\body is the required to be configured for this operation.

ReceiveMessage

This operation is selected to receive the message from a given SQS queue. Queue URL is required to be configured for this operation to read the messages.

PurgeQueue

This operation is selected to purge the messages which are available in a given SQS queue. Queue URL is required to be configured for this operation to purge the messages.

DeleteMessage

This operation is selected to delete a message which is available in a given SQS queue. Queue URL and receipt handle of the message to be removed is required to be configured for this node to remove the message.

Example :

How to create an file in S3 bucket using AWS S3 node

# AWS SNS

AWS SNS node allows to access AWS SNS topic.This node is used for publishing a message on to a given AWS SNS topic. AWS SNS node uses profile credentials , region and the permission associated with the credentials to act on the given SNS topic.

Following are the operations supported by the SNS node.

Publish

This operation is selected to publish a message to a given SNS topic . Topic name and message body\content need to be configured for this operation

Example :

How to publish a message to Amazon SNS topic

# AWS SSM

AWS SSM node allows access SSM parameter store.This node is used for put , get , delete parameters from AWS SSM parameter store.AWS SSM node uses profile credentials , region and the permission associated with the credentials to act on the given SSM property.

Following are the operations supported by the SSM node.

GetParameter

This operation is selected to get value for a given SSM property key.

PutParameter

This operation is selected to insert a new SSM property. Property key and value needs to be configured for this operation.

DeleteParameter

This operation is selected to delete a given SSM property. Property key is required for this operation to remove the specific SSM property.

Example : How to use an SSM node.

# Ephimeral

Ephemeral node is used for storing and retrieving temporary data in lambda file store. The node access the /tmp folder of aws lambda infra. If any data needs to be stored and accessed between multiple invocations of lambda then the data needs to be stored in /tmp folder using Ephemeral node . There are 2 nodes that comes as part of ephemeral node.

Following are the nodes.

Ephemeral-Write

This node will store the payload as a file entry under /tmp folder in lambda infra. This node supports 3 operations i.e, append to file, overwrite file, delete file.

Ephemeral-Read

This node will read the payload from the file under /tmp folder in lambda infra

Example: How to use an Ephemeral node.

# CloudWatch

AWS Cloudwatch node allows to send cloudwatch events. This node requires Detail, DetailType, Resources and source as input to be configured.

Example: How to use an Cloudwatch node.

# DynamoDB

AWS Dynamo node allows to connect with DynamoDB for all the CRUD action. This node will allow to create, delete and retrieve the item from a given dynamodb table. The node allows to provide the columns defined on the table so as to do the necessary operations like PUT, GET and DELETE.

Following are the operations supported

PutItem

This operation will insert a record on to the given DynamoDB table. Once the operation is selected the required columns needs to be selected by clicking on Add button.

GetItem

This operation will fetch a record from the given DynamoDB table.

DeleteItem

This operation will delete a record from the given DynamoDB table based on the primary column key selected.

Scan

This operation will retrieve all the records from the table in one call.

Example: How to use an Scan node.

# EventListener

This node works as the inbound node for a flow. EventListener node helps in accepting events from different triggers like S3, API Gateway, SQS etc.

This node is used when an trigger is attached to the lambda and it needs to invoke the flow.

Following are the operations supported.

Amazon DynamoDB

Amazon APIGateway

Amazon Alexa

Amazon Lex

Amazon Cognito

Application LoadBalancer

Amazon SES

Amazon SNS

Amazon SQS

Amazon CloudFormation

Amazon CloudWatchEvents

Amazon CodeCommit

Amazon Config

Amazon IoT Events

Example: How to use an Event listener node.

# AWS Rekognition

This node helps in invoking AWS Rekognition service for image recognition and analysis.

Example : How to use an Rekognition node.

# EventListener End

This node ends the flow which are initiated by an EventListener node. By default all the flows ends with EventListener End node. This node completes the flow by responding back with payload or variable or a static string.The node provides option for setting the HTTP status code and HTTP headers when the EventListener node is having API Gateway as the selection.