Code Monkey home page Code Monkey logo

amazon-honeycode-table-api-integration-sample's Introduction

NOTICE

This repository is archived, read-only, and no longer updated. For more information, read the announcement on the Amazon Honeycode Community.


Use Amazon Honeycode Table API to integrate with Amazon S3 and Amazon DynamoDB

This lab shows how to:

  • Use AWS Lambda functions to write data from external sources (Amazon S3, Amazon DynamoDB) into Amazon Honeycode. The lambda functions are triggered when a new file is added to the S3 bucket or when items in DynamoDB table are added/updated/removed
  • Use AWS Lambda functions to read data from Amazon Honeycode, save them to Amazon S3 and mark those records in Honeycode as exported

This project uses AWS CDK to create the required resources.

Documentation

An architecture diagram and instructions for using this sample code can be found here: Amazon Honeycode Table API sample code documentation

Related Repository

If you would like to extend this sample code to visualize the contact history that you exported to S3, you can refer to the related sample code in this repo: Amazon Honeycode API QuickSight integration

Useful commands

  • cdk bootstrap bootstrap this stack
  • cdk deploy deploy this stack to your default AWS account/region
  • cdk diff compare deployed stack with current state
  • cdk synth emits the synthesized CloudFormation template

Files

  • bin
    • honeycode-api-lab.js (Main entry for stack creation)
  • data
    • customers-s3.csv (Sample data for S3 data import)
    • customers-dynamodb.json (Sample data for DynamoDB data import)
  • lamdba
    • ImportCustomersS3 (Import customers from S3)
    • ImportCustomersDynamoDB (Import customers from DynamoDB)
    • ExportContactHistory (Export contact history from Honeycode to S3)
  • lib
    • honeycode-api-lab-stack.js (Stack definitions)
    • import-customers-s3.js (Import customers from S3 resources definition)
    • import-customers-dynamodb.js (Import customers from DynamoDB resources definition)
    • export-contact-history.js (Export Contact History resources definition)

amazon-honeycode-table-api-integration-sample's People

Contributors

amazon-auto avatar bgiorgini avatar dependabot[bot] avatar kandha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.