Open
Description
Describe the feature
OriginGroup does not appear to support setting an explicit originId currently. The auto-generated ID is very long and hard to read. We would like to set the originId as with other origin types such as HttpOrigin or RestApiOrigin.
Use Case
Create easy to read origin IDs for Origin Groups so we can more easily understand the configuration when looking at it in the CloudFront console.
Proposed Solution
Add originId to OriginGroupProps.
I might be able to implement this; I'm not very familiar with CDK internals but it seems that wherever the auto-generated ID is created, it could instead use the explicit prop if set. I could use a little hint on where this happens.
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
CDK version used
2.158.0
Environment details (OS name and version, etc.)
macOS