I want to define a CloudFront Origin Group inside my CloudFormation yaml
file.
How do I do this? Or is it not yet supported by CloudFormation?
I always have trouble finding a definitive answer if service X feature Y is supported by CloudFormation. My current go to is looking at the Resource Types reference, and drilling down until I find what I'm looking for. If anyone knows of a better way, please let me know.
Update 3/15/2020
This has been released. See the updated CloudFormation docs.
Original Answer
It isn't supported yet. AWS on 11/25/18 said:
https://forums.aws.amazon.com/message.jspa?messageID=878667#878667
CloudFormation does not support origin groups yet. We have heard this from other customers as well and it is added to our feature backlog. However, we don't have a timeline to offer at this time.