aws-cloudformation / aws-cloudformation-templates

A collection of useful CloudFormation templates
Apache License 2.0
4.7k stars 4.28k forks source link

Add getfromjson code for Lambda-backed custom resource consumers. #439

Closed mrinaudo-aws closed 4 months ago

mrinaudo-aws commented 4 months ago

Issue #, if available:

Description of changes: Add getfromjson code for Lambda-backed custom resource consumers.

Unit tests excerpts

% pytest --cov
[...]
collected 18 items                                                                                                                  

src/tests/test_getfromjson.py ..................                                                                              [100%]

[...]
Name                 Stmts   Miss Branch BrPart  Cover   Missing
----------------------------------------------------------------
src/getfromjson.py      63      0     18      0   100%
----------------------------------------------------------------
TOTAL                   63      0     18      0   100%

Required test coverage of 100.0% reached. Total coverage: 100.00%

[...] 18 passed in 0.19s [...]

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.