Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable logging on the L3 CDK construct (#2814)
* log config * add: logConfig main logic * add: test for logConfig * update: API.md * update: clean up code, update docs, add test, add reimport and reexport * update: redefine LogConfig * update: docs and export Logging * update: docs * Update packages/amplify-graphql-api-construct/src/types.ts Co-authored-by: Tim Schmelter <[email protected]> * Update packages/amplify-graphql-api-construct/src/types.ts Co-authored-by: Tim Schmelter <[email protected]> * Update packages/amplify-graphql-api-construct/src/types.ts Co-authored-by: Tim Schmelter <[email protected]> * update: docs and specify default values * chore: prettier * break circular dependency in setupLogConfig with scoped down policy (#2938) * add: code that creates circular dependency * add: create standalone policy and attach it to break dependency cycle * update: comments * remove ampliy owned log group logic, keep to appsync owned log group with managed policy * added retention day logic, merged main * finalized PR, extracted api and dependency licenses * added e2e tests for log config * chore for PR * added e2e to workflow * replicate unit tests in transformer-core * dropped api-construct package coverage from 90 to 89.5 * updated dependency licenses * removed redundent import * fix: linting errors * chore: resolved comments * Update packages/amplify-graphql-api-construct-tests/src/__tests__/log-config.test.ts Co-authored-by: Peter V. <[email protected]> * fix: addressed comments * chore: prettier * fix: use SDK v3 for verifyLogConfig * merged main * fix: verifyLogsWithRequestId before verifyLogConfig * chore: lint, extract-api * debug: added log statement for region * fix: specify the region for client * chore: standardize sdk version to 3.624.0 * fix: change abort-controller version * fix: streamlined e2e and unit tests * chore: lint --------- Co-authored-by: Tim Schmelter <[email protected]> Co-authored-by: Peter V. <[email protected]>
- Loading branch information