pwrdrvr/microapps-core

CDK - Explore CDK TableV2 / GlobalTable

huntharo opened this issue · 0 comments

Motivations

  • The DynamoDB Table needs to be replicated to several origins for the OriginRequest handler to do quick lookups
  • CDK added TableV2 that wraps GlobalTable

Acceptance Criteria

  • Allow a TableV2 to be passed in to the constructs
  • Add a config parameter for the OriginRequest handler to list the regions that have tables
  • Add parameters to the CDK constructs to specify which regions have the table

Docs

Added in 2.9.50: https://github.com/aws/aws-cdk/releases/tag/v2.95.0
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_dynamodb.TableV2.html