You can't use this until you register with us!




Description

Tools for deploying a tracking lambda that maintains a dynamodb table of s3 buckets. Useful in cases where you have many objects in an S3 bucket and traditional tools are slow.



Available Actions

Deploy Tracking Lambda

Deploy the tracking lambda.


Variables

Connection Information
aws_connection

AWS Credentials with access to the sources and target s3 locations.

aws_region_name required

AWS Region to deploy lambdas/dynamodb in . Must match S3 bucket region.


Lambda Configuration
dynamodb_table required

Name of Dynamo DB table to use. Must already exist.

lambda_role_arn required

Precreated Role that lambda will execute as. Must have the policy generated by the Generate Policy function attached to it. Requires full ARN string.

deployment_bucket required

S3 Bucket to use to deploy lambda code to.

deployment_prefix required

Prefix to use in the deployment bucket.

target_bucket required

Comma seperated list of S3 buckets to monitor


Remove Tracking Lambda

Remove the tracking lambda.


Variables

Connection Information
aws_connection

AWS Credentials with access to the sources and target s3 locations.

aws_region_name required

AWS Region to deploy lambdas/dynamodb in . Must match S3 bucket region.


Lambda Configuration
dynamodb_table required

Name of Dynamo DB table to use. Must already exist.

lambda_role_arn required

Precreated Role that lambda will execute as. Must have the policy generated by the Generate Policy function attached to it. Requires full ARN string.

deployment_bucket required

S3 Bucket to use to deploy lambda code to.

deployment_prefix required

Prefix to use in the deployment bucket.

target_bucket required

Comma seperated list of S3 buckets to monitor


Create DynamoDB Table

Create a suitable DynamoDB table with required keys.


Variables

Connection Information
aws_connection

AWS Credentials with access to the sources and target s3 locations.

aws_region_name required

AWS Region to deploy lambdas/dynamodb in . Must match S3 bucket region.


Table Configuration
dynamodb_table required

Name of Dynamo DB table to create.


Generate Lambda Role Policy

Output a lambda role policy that will give the lambdas the minimal set of permissions required. Check logs for the policy after running. Create an IAM role and attach this policy to it.


Variables

Configurations
dynamodb_table required

Name of Dynamo DB table to use. Must already exist.

deployment_bucket required

S3 Bucket to use to deploy lambda code to.

target_bucket required

Comma seperated list of S3 buckets to monitor


Output Deployment Policy

Output a IAM policy with the minimum required permissions to deploy the lambdas. Check logs for the policy after running, attach it to the user you will be deploying the lambda with.


Variables

Lambda Configuration
dynamodb_table required

Name of Dynamo DB table to use.

lambda_role_arn required

Precreated Role that lambda will execute as. Must have the policy generated by the Generate Policy function attached to it.

deployment_bucket required

S3 Bucket to use to deploy lambda code to.

target_bucket required

Comma seperated list of S3 buckets to monitor