-
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: OriginGroup does not contain fields for OriginGroupId and SelectionCriteria #32449
Comments
Per AWS::CloudFront::Distribution OriginGroup, it supports the following properties:
Per AWS::CloudFront::Distribution OriginGroupMembers, the minimum and maximum number of items is While |
This indirectly causes another issue. If I add two behaviours, one with a single origin and another one with an origin group that has the same primary origin, CDK raises error. Check below code:
Above code raises the error: This shouldn't have been the case. The origin group Id was supposed to be uniquely auto-generated in its current state. And of course, ideally we should be able to define custom names to the origin groups. |
Describe the feature
When creating an Origin group for a CloudFront Distribution, users should provide an Id (Name) and a selection criteria. Attached screenshot from Console.
Currently OriginGroup construct does not contain a fields for it:
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cloudfront_origins.OriginGroup.html
Could you please update the constructs?
Use Case
These fields are part of OriginGroup Configuration
Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
2.162.1
Environment details (OS name and version, etc.)
Linux
The text was updated successfully, but these errors were encountered: