0.2.0 • Published 2 years ago

serverless-plugin-dynamodb-pitr v0.2.0

Weekly downloads
15
License
MIT
Repository
github
Last release
2 years ago

serverless-plugin-dynamodb-pitr

Coverage Status semantic-release

A Serverless plugin to easily enable point in time recovery of DynamoDB Table

Installation

npm install --save-dev serverless-plugin-dynamodb-pitr
# or
yarn add --dev serverless-plugin-dynamodb-pitr

Usage

plugins:
  - serverless-plugin-dynamodb-pitr

custom:
  dynamodbPitr:
    ignore: # Optionally - select tables to disable point in time recovery
      - TableB
      - TableD

resources:
  Resources:
    TableA: # enabled point in time recovery without PointInTimeRecoverySpecification
      Type: AWS::DynamoDB::Table
    TableB: # disabled
      Type: AWS::DynamoDB::Table
    TableC: # enabled point in time recovery without PointInTimeRecoverySpecification
      Type: AWS::DynamoDB::Table
    TableD: # disabled
      Type: AWS::DynamoDB::Table
    TableE: # enabled point in time recovery without PointInTimeRecoverySpecification
      Type: AWS::DynamoDB::Table

See example.

License

MIT © kobanyan