Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow custom name on amplify managed table #3012

Closed
wants to merge 2 commits into from

Conversation

dpilch
Copy link
Member

@dpilch dpilch commented Nov 11, 2024

Description of changes

Allow custom name on Amplify managed table.

TODO: update documentation.

CDK / CloudFormation Parameters Changed
  • Add tableName setter to the AmplifyDynamoDbTableWrapper class.
export const backend = defineBackend({
  auth,
  data,
});

backend
  .data
  .resources
  .cfnResources
  .amplifyDynamoDbTables
  .Todo
  .tableName = "MyCustomTableName";

Issue #, if available

#2991

Description of how you validated changes

  • Unit tests
  • TODO: add functional E2E test

Checklist

  • PR description included
  • yarn test passes
  • E2E test run linked
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)
  • New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies
  • Any CDK or CloudFormation parameter changes are called out explicitly

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@dpilch dpilch requested review from a team as code owners November 11, 2024 16:44
@dpilch dpilch marked this pull request as draft November 11, 2024 16:44
@dpilch dpilch force-pushed the override-table-name branch from cac33e0 to 9359d19 Compare November 12, 2024 16:11
@dpilch dpilch force-pushed the override-table-name branch from 9359d19 to 9896a4e Compare November 18, 2024 15:43
@dpilch dpilch closed this Nov 18, 2024
@dpilch dpilch deleted the override-table-name branch November 22, 2024 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant