moto/moto/cloudfront/urls.py

14 lines
346 B
Python
Raw Normal View History

2021-11-29 13:35:43 -01:00
"""cloudfront base URL and path."""
from .responses import CloudFrontResponse
response = CloudFrontResponse()
url_bases = [
r"https?://cloudfront\.amazonaws\.com",
]
url_paths = {
"{0}/2020-05-31/distribution$": response.distributions,
"{0}/2020-05-31/distribution/(?P<distribution_id>[^/]+)$": response.individual_distribution,
}