Skip to content

fix(dynamodb-helper): Incorrect attributes used in CheckDynamoDBProps #1383

@biffgaut

Description

@biffgaut

In the code below, the check should be against propsObject.dynamoTableProps.pointInTimeRecovery and propsObject.dynamoTableProps.pointInTimeRecoverySpecification

Thanks to @vicentenoriega for finding this.

  if (propsObject.pointInTimeRecovery && propsObject.pointInTimeRecoverySpecification) {
    errorMessages += 'Error - Either provide pointInTimeRecovery or pointInTimeRecoverySpecification, but not both.\n';
    errorFound = true;
  }

Reproduction Steps

Error Log

Environment

  • CDK CLI Version :
  • CDK Framework Version:
  • AWS Solutions Constructs Version :
  • OS :
  • Language :

Other


This is 🐛 Bug Report

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageThe issue or PR still needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions