Skip to content

Conversation

@lym953
Copy link
Contributor

@lym953 lym953 commented Mar 25, 2025

What does this PR do? What is the motivation?

Replace class name and variable name Datadog with DatadogLambda because the former has been removed in the latest version of the CDK construct.

Merge instructions

Merge readiness:

  • Ready for merge

For Datadog employees:
Merge queue is enabled in this repo. Your branch name MUST follow the <name>/<description> convention and include the forward slash (/). Without this format, your pull request will not pass in CI, the GitLab pipeline will not run, and you won't get a branch preview. Getting a branch preview makes it easier for us to check any issues with your PR, such as broken links.

If your branch doesn't follow this format, rename it or create a new branch and PR.

To have your PR automatically merged after it receives the required reviews, add the following PR comment:

/merge

Additional notes

@lym953 lym953 requested review from a team as code owners March 25, 2025 17:16
api_key_secret_arn="<DATADOG_API_KEY_SECRET_ARN>",
)
datadog.add_lambda_functions([<LAMBDA_FUNCTIONS>])
datadogLambda.add_lambda_functions([<LAMBDA_FUNCTIONS>])

Choose a reason for hiding this comment

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

Also pretty minor, but the convention for python is usually snake case (datadogLambda -> datadog_lambda)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point. Addressed!

datadogLambda.add_lambda_functions([<LAMBDA_FUNCTIONS>])
```

To fill in the placeholders:

Choose a reason for hiding this comment

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

Does <LAMBDA_FUNCTIONS> need a section in the placeholders list too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Addressed!

@github-actions
Copy link
Contributor

Preview links (active after the build_preview check completes)

Modified Files

@lym953
Copy link
Contributor Author

lym953 commented Mar 31, 2025

/merge

@dd-devflow
Copy link

dd-devflow bot commented Mar 31, 2025

View all feedbacks in Devflow UI.
2025-03-31 15:07:52 UTC ℹ️ Start processing command /merge


2025-03-31 15:08:05 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in master is approximately 18m (p90).


2025-03-31 15:27:56 UTC ℹ️ MergeQueue: This merge request was merged

@dd-mergequeue dd-mergequeue bot merged commit f726d7f into master Mar 31, 2025
20 of 24 checks passed
@dd-mergequeue dd-mergequeue bot deleted the yiming.luo/fix-cdk-doc branch March 31, 2025 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants