Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Releases: awslabs/aws-serverless-twitter-event-source

1.1.0

13 Mar 00:28
Compare
Choose a tag to compare

1.1.0 Release Notes

Twitter API Key Encryption Support

This release adds support for encrypted Twitter API key parameters via AWS KMS encryption so these values aren't stored in the lambda configuration in plain text. The ConsumerKey, ConsumerSecret, AccessToken, and AccessTokenSecret template parameters have been replaced by the following parameters:

  • EncryptedConsumerKey, EncryptedConsumerSecret, EncryptedAccessToken, and EncryptedAccessTokenSecret
  • PlaintextConsumerKey, PlaintextConsumerSecret, PlaintextAccessToken, and PlaintextAccessTokenSecret

The Encrypted* parameters are where you place encrypted values. The Plaintext* parameters are there for backwards compatibility and also so the app can be used in regions where AWS KMS is not supported. See the README for additional details.

Stream Mode default value

The EnableStreamMode app parameter's default value is changed from true to false. This was done for 2 reasons:

  1. It makes more sense for the simpler, non stateful behavior to be the default.
  2. So far, use cases for this app are tracking updates to dynamic tweet values, e.g., retweet/favorite counts, in which case stream mode should be off.