Which Category is your question related to?
I want to activate PointInTimeRecovery for just one single table in the schema by CloudFormation.
Amplify CLI Version
4.44.0
What AWS Services are you utilizing?
AWS Amplify, Amazon DynamoDB, AWS CloudFormation, AWS CDK
Provide additional details e.g. code snippets
I know to enable PITR by setting PointInTimeRecoveryEnabled in amplify/backend/api/<api-name>/parameters.json to true. But this enables PITR for all tables in the schema.
I know to activate it maually either in the AWS DynmoDB Console or by CLI:
aws dynamodb update-continuous-backups --table-name myTable --point-in-time-recovery-specification PointInTimeRecoveryEnabled=True
But I want to define it in the template, so it can be deliverd to multiple environments without manual interaction.
As there is no annotation for the type in the schema.graphql file, we thought there might be a way to set it via Cloudformation in amplify/backend/api/<myapi>/stacks/CustomResources.json
but we did not find out yet.
Which Category is your question related to?
I want to activate PointInTimeRecovery for just one single table in the schema by CloudFormation.
Amplify CLI Version
4.44.0
What AWS Services are you utilizing?
AWS Amplify, Amazon DynamoDB, AWS CloudFormation, AWS CDK
Provide additional details e.g. code snippets
I know to enable PITR by setting
PointInTimeRecoveryEnabledinamplify/backend/api/<api-name>/parameters.jsontotrue. But this enables PITR for all tables in the schema.I know to activate it maually either in the AWS DynmoDB Console or by CLI:
aws dynamodb update-continuous-backups --table-name myTable --point-in-time-recovery-specification PointInTimeRecoveryEnabled=TrueBut I want to define it in the template, so it can be deliverd to multiple environments without manual interaction.
As there is no annotation for the type in the
schema.graphqlfile, we thought there might be a way to set it via Cloudformation inamplify/backend/api/<myapi>/stacks/CustomResources.jsonbut we did not find out yet.