-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
(s3-deployment): add yamlData #24554
Comments
Hi @RichiCoder1 ,thanks for reaching out with this request. I am marking this as P2 and we would be happy to review your PR when available. Sharing the contributing guide to get started. |
Add the `Source.dataYaml` helper function to deploy an object with the specified object converted to YAML format. Closes #24554. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
Describe the feature
The PR #18659 added the excellent
data
andjsonData
helpers. I'd like to add ayamlData
equivalent, which should just be the same asjsonData
, but strigifyied to YAML.Use Case
It's not uncommon for config files to be yaml instead of JSON (see Cloudformation :D), so I'd just like to be able to take advantage of the same optimization as
jsonData
Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
v2.68.0
Environment details (OS name and version, etc.)
Windows 11
The text was updated successfully, but these errors were encountered: