Use New DynamoDB Point-in-time Recovered Table Or Copy New Table Over Original Table?

0

We want to have a Lambda point at a small, yet important DynamoDB table that has Point-in-time recovery enabled. Running through the recovery process, we see it restores to a new table as opposed to restoring the original table in place.

With it restoring to a new table, is the idea that one would typically change the Lambda to point at the new table, or would one copy the new table over the original? Related: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/PointInTimeRecovery.html

profile picture
질문됨 2년 전288회 조회
1개 답변
2
수락된 답변

It's not possible at this time to rename a table, so the best course of action will be to adjust the lambda to point at the new table, such as by retrieving the table name from a lambda environment variable or pulling it from a ParameterStore.

AWS
답변함 2년 전
profile picture
전문가
검토됨 2달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠