I want to link CloudFront from MediaPackage, This is possible from AWS Elemental MediaPackage console but I need to do this from my coding I use PHP.
I don't see an option from CreateChannel function to quick enable as it was on console.
https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-mediapackage-2017-10-12.html#createchannel
Do I need to create from CloudFront SDK and configure all option?
This is how my auto-generated CloudFront from my Elemental MediaPackage console looks.
need help.
I noticed the same thing when looking through the PHP SDK MediaPackage documentation. It looks like what you will need to do is use SDK's CloudFront client to create the CloudFront distribution after creating the MediaPackage channel and endpoint. There are instructions on this page for doing this. The instructions are under the heading "Creating a Distribution from Amazon CloudFront."
https://docs.aws.amazon.com/mediapackage/latest/ug/cdns-cf.html#cdns-create-cf