Create a distribution
Provide:- A name between 4 and 64 characters.
- An origin group ID from the same project.
- An origin connection protocol:
http,https, ormatch.
match uses the visitor’s protocol for the origin connection, so the origin must support both HTTP and HTTPS. Prefer https for a consistent encrypted origin path.
Lifecycle states
Do not assume a create response means every edge location is ready. Poll the distribution list and test the assigned hostname.