Sample code to support configure multiple AWS Elemental MediaPackage VOD origins in a single CloudFront distribution by inspecting a single asset in each MediaPackage group and inferring the unique path pattern to be defined as CloudFront Cache Behavior and Origin
Refer to blog Managing content delivery across multiple AWS Elemental MediaPackage origins for more details on the use case.
- Clone this repository
- Set 'bucket' and 'region' values to point to your S3 bucket which will hold the code artifacts in the specified AWS REGION. Optionally you can set a different project name and version.s
- Configure AWS CLI with appropriate credentials
- Install 'Make' (if not done already)
- Run 'make setup' from command line inside the project folder
- Once deployment is done. Follow the 'Automation' section in blog URL to proceed with setup.
See CONTRIBUTING for more information.
This library is licensed under the MIT-0 License. See the LICENSE file.