(s3-deployment): add yamlData #24554
Labels
@aws-cdk/aws-s3-deployment
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p2
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: