awslabs / awslabs/amazon-kinesis-client-python

Cross-Account DynamoDB Table Creation for Kinesis Data Streams Consumer in Amazon ECS

Open
#267 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
377
Forks
228
PR merge metrics
No merged PRs in 30d

Description

We have a setup where:

Account A (Customer Account) hosts our Amazon Connect instance in the us-west-2 region. This instance streams Agent Events to Amazon Kinesis Data Streams (KDS) in the same region.
Account B (Our AWS Account) hosts our ECS Cluster, which acts as the KDS Consumer.
Our objective is to create all three DynamoDB tables—checkpointing, worker metrics, and coordinator state—in Account B (where our ECS Cluster is deployed).

However, we have observed that these DynamoDB tables are being created in the same region as the KDS stream (us-west-2), rather than in Account B as intended.

Question:
Is there a way to explicitly configure the DynamoDB table creation in Account B while still consuming Kinesis Data Streams from Account A? If so, what would be the recommended approach?

Would appreciate any guidance or best practices on achieving this setup.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.