Archive Kinesis events on S3.
Since the project uses TravisCI and
lambda-deploy for continuous
deployment, the following environment variables need to be set:
AWS_SECRET_ACCESS_KEYAWS_ACCESS_KEY_IDAWS_DEFAULT_REGIONS3_BUCKETLAMBDA_NAMELAMBDA_ROLE_ARN
WARNING: the value of those variables must be kept secret. Do not set them in
the .travis.yml config file, only in the Travis project's settings (where they
are kept secret).
The following environment variables are needed to configure the function:
S3_BUCKET
NOTE: since the project uses lambda-deploy, in the build environment (Travis)
we need to define the above variables with their name prefixed by
__FUNC_CONFIG__.