Skip to content

AppSync L2: support for read consistency #5980

Closed
@duarten

Description

Allow specifying the consistentRead toggle in the GetItem, ScanTable, and Query mapping templates.

Use Case

To control the amount of replicas contacted during DynamoDB reads.

Proposed Solution

Add an enum parameter to the dynamoDbGetItem, dynamoDbScanTable and dynamoDbQuery methods.

Depends on #5861.

Other

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-appsyncRelated to AWS AppSynceffort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.p1

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions