data-pipeline-d2s-cdk
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

Simplest library for use data pipeline Expprt DynamoDB to S3 on AWS-CDK

Features

This library prepare resouce on bellow.

  • IAM Role for use data pipeline
  • Configuration of Expprt DynamoDB to S3 on data pipeline

Usage

Simple stack of data-pipeline for Expprt DynamoDB to S3 on bellow.

 
const { tableName } = new dynamodb.Table(this, 'Table', {
  partitionKey: { name: 'id', type: dynamodb.AttributeType.STRING }
})
const { bucketName } = new s3.Bucket(this, 'MyBucket')
 
new DataPipelineD2SCdk(this, 'DataPipeline', {
  tableName,
  bucketName,
  throughputRatio: 0.2,
  period: {
    value: 1,
    format: TimeFormat.Day,
  },
  emrTerminateAfter: {
    value: 1,
    format: TimeFormat.Hour
  },
})
 

Package Sidebar

Install

npm i data-pipeline-d2s-cdk

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

31.7 kB

Total Files

9

Last publish

Collaborators

  • ufoo68