-
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
(cloudfront): Support inline data as KeyValueStore import source #29204
(cloudfront): Support inline data as KeyValueStore import source #29204
Comments
This would be awesome! We welcome the pull requests! |
|
1 similar comment
|
Describe the feature
It would be nice to do something like this:
Use Case
I'd like to store a hashing key, which don't want to be versioned in git.
It is saved in Systems Manager Parameter Store, and I retrieve it before initializing the stacks, so it is a parameter to the stack which should create the
KeyValueStore
.I know I could create a temp JSON file, but this has already been made for Lambda's code, so it could be in here too.
https://github.com/aws/aws-cdk/blob/v2.129.0/packages/aws-cdk-lib/aws-lambda/lib/code.ts#L36
https://github.com/aws/aws-cdk/blob/v2.129.0/packages/aws-cdk-lib/aws-lambda/lib/code.ts#L243
Proposed Solution
Add an
InlineImportSource
class aswell as an static methodImportSource.fromInline()
, as it is done with Lambda code.Other Information
No response
Acknowledgements
CDK version used
1.129.0
The text was updated successfully, but these errors were encountered: