Skip to content

Conversation

@alvazjor
Copy link
Contributor

@alvazjor alvazjor commented Jun 5, 2025

Issue # (if applicable)

Closes #34637 .

Reason for this change

See description of issue #34637.

Description of changes

Do not directly pass the events.OnEventOptions object directly to the RuleProps but rather create an object mapping the needed properties.

Describe any new or updated permissions being added

NA

Description of how you validated changes

Build module and ran existing integ test. No need to add additional testing.

Checklist


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

@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Jun 5, 2025
@github-actions github-actions bot added the p2 label Jun 5, 2025
@aws-cdk-automation aws-cdk-automation requested a review from a team June 5, 2025 16:10
@alvazjor alvazjor changed the title updated onEvent example implementation to follow better coding practices chore: updated onEvent example implementation to follow better coding practices Jun 5, 2025
@aws-cdk-automation aws-cdk-automation added the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Jun 5, 2025
Copy link
Member

@ozelalisen ozelalisen left a comment

Choose a reason for hiding this comment

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

LGTM!

@ozelalisen ozelalisen self-assigned this Jun 6, 2025
@mergify
Copy link
Contributor

mergify bot commented Jun 6, 2025

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 30977d4
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Contributor

mergify bot commented Jun 6, 2025

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit 9438e4a into main Jun 6, 2025
16 checks passed
@mergify mergify bot deleted the alvazjor/issue-34637 branch June 6, 2025 11:04
@github-actions
Copy link
Contributor

github-actions bot commented Jun 6, 2025

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

contribution/core This is a PR that came from AWS. p2 pr/needs-maintainer-review This PR needs a review from a Core Team Member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

example-construct-library: example-resource not following best coding practices

3 participants