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

chore: extract log group naming logic #3050

Merged
merged 4 commits into from
Nov 26, 2024
Merged

Conversation

bobbyu99
Copy link
Contributor

@bobbyu99 bobbyu99 commented Nov 25, 2024

Description of changes

  • Extract log group name creation into a standalone function.
  • Added documentation for this function.
CDK / CloudFormation Parameters Changed

Issue #, if available

Description of how you validated changes

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.

@bobbyu99 bobbyu99 requested a review from a team as a code owner November 25, 2024 23:06
@bobbyu99 bobbyu99 enabled auto-merge (squash) November 26, 2024 19:05
* According to AppSync documentation, the log group name for AppSync APIs follows the convention: `/aws/appsync/apis/{apiId}`
*
* @see https://docs.aws.amazon.com/appsync/latest/devguide/monitoring.html#cwl
* @param apiId - The AppSync API identifier
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: not needed anymore

@bobbyu99 bobbyu99 merged commit 48ccbf1 into main Nov 26, 2024
7 checks passed
@bobbyu99 bobbyu99 deleted the refactor-log-group-name-logic branch November 26, 2024 23:46
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.

3 participants