Skip to content

aws-samples/amazon-connect-encryption

Amazon Connect and Lex Secure Input

This sample project demonstrates how to encrypt sensitive data such as PCI and PII collected through Amazon Connect and an Amazon Lex conversational bot. Included in this CDK-based project are:

  • Automated deployment of AWS Lambda functions, AWS Key Management Service encryption keys and a sample Amazon Lex bot
  • A sample Amazon Connect contact flow that leverages the Lex input bot an Lambda functions to encrypt a credit card number and zip code.

Pre-Requisites

Getting Started

  1. Clone the project source files from the GitHub repository
  2. From the command line, cd to the project's root directory
  3. Run npm install
  4. Run npm run build to transpile TypeScript to JavaScript and packages code and its dependencies before deploying to AWS
  5. Run cdk deploy CoreStack
  6. Create an Amazon Connect instance if one is not already available
  7. From the AWS Amazon Connect console, select the target Connect instance and click on the Contact Flows option
  8. Associate the secure_LexInput bot to the Connect instance
  9. Log into the Amazon Connect Administrative Console and create a new contact flow called Secure_Lex_Input by importing this file
  10. Save and publish the contact flow
  11. Associate a DID to the newly published contact flow
  12. Make a test call entering a fake 16-digit credit card number and zip code when prompted
  13. Once call is completed, validate through the CloudWatch logs that both values were encrypted

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •