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

Update Java Custom Resource example to use Java for Custom Resource Handler #1000

Open
2 tasks
NotLucxs opened this issue Mar 8, 2024 · 0 comments · May be fixed by #1030
Open
2 tasks

Update Java Custom Resource example to use Java for Custom Resource Handler #1000

NotLucxs opened this issue Mar 8, 2024 · 0 comments · May be fixed by #1030
Labels
feature-request A feature should be added or improved.

Comments

@NotLucxs
Copy link

NotLucxs commented Mar 8, 2024

Describe the feature

Currently, the Java CDK example for a Custom Resource uses Python. Very little material exists on Java based Lambda backed Custom Resources and implementing one is causing a bit of pain. Of the examples that exist, some send a response to a presigned S3 URL, some just return a Response object containing "SUCCESS" or "FAILED".
The example can be found at:
https://github.com/aws-samples/aws-cdk-examples/blob/master/java/custom-resource/lambda/custom-resource-handler.py

Use Case

The Java CDK example code should be written in Java, not Python. I should be able to follow a Java example in the same language throughout

Proposed Solution

Provide a Custom Resource handler example in Java

Other Information

The solution could also make use of your own Powertools util:
https://docs.powertools.aws.dev/lambda/java/utilities/custom_resources/

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Language

Java

@NotLucxs NotLucxs added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Mar 8, 2024
@kaiz-io kaiz-io removed the needs-triage This issue or PR still needs to be triaged. label Mar 19, 2024
@balx balx linked a pull request Apr 30, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants