1.2.0 • Published 4 years ago

dm-driver-s3 v1.2.0

Weekly downloads
30
License
MIT
Repository
github
Last release
4 years ago

Welcome to dm-driver-s3 👋

Build Status NPM Package Maintainability Documentation Downloads/week lerna

A Data Migration driver to query/modify a cognito user pool.

Configuration

Parameters

The S3 driver accepts the following parameters as part of its configuration:

NameTypeRequiredDescription
regionstringYesThe AWS Region where this bucket exists
bucketNamestringYesName of the bucket to interact with
profilestringNoName of the AWS profile to use

Example

The following configuration creates a S3 driver that connects to a bucket in the us-east-1 stack some-stack-name.

module.exports = {
  defaultStage: "prod",
  migrationDirectory: "migrations",
  stages: {
    prod: {
      defaultParams: {
        region: "us-east-1",
      },
      drivers: {
        users: {
          driver: require("dm-driver-s3"),
          params: {
            bucketName: {
              // Use this processor to get values from CloudFormation
              processor: require("dm-processor-cf"),
              params: {
                stack: "some-stack-name",
                output: "SomeOutputName",
              },
            },
          },
        },
      },
    },
  },
};
1.2.0

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago