message: Fix Table test failures due to AttributeType type cast
diff: @@ -3,7 +3,7 @@ import * as dynamodb from "@aws-cdk/aws-dynamodb";
  import { App } from "./App";
  export interface TableProps {
  - readonly fields: { [key: string]: dynamodb.AttributeType };
  + readonly fields: { [key: string]: TableFieldType };
  readonly primaryIndex: TableIndexProps;
  readonly secondaryIndexes?: { [key: string]: TableIndexProps };
  }
  @@ -31,7 +31,7 @@ export class Table extends cdk.Construct {
  const buildAttribute = (name: string): dynamodb.Attribute => {
  return {
  name,
  - type: fields[name],
  + type: this.convertTableFieldTypeToAttributeType(fields[name]),
  };
  };
  @@ -80,4 +80,16 @@ export class Table extends cdk.Construct {
  });
  }
  }
  +
  + convertTableFieldTypeToAttributeType(
  + fieldType: TableFieldType
  + ): dynamodb.AttributeType {
  + if (fieldType === TableFieldType.BINARY) {
  + return dynamodb.AttributeType.BINARY;
  + } else if (fieldType === TableFieldType.NUMBER) {
  + return dynamodb.AttributeType.NUMBER;
  + } else {
  + return dynamodb.AttributeType.STRING;
  + }
  + }
  }
  