4.1. Open the Amazon CloudFront console at https://console.aws.amazon.com/cloudfront/.
4.2. Choose your CloudFront distribution.
4.3. Go to Origins tab and click on Create Origin.
4.4. For Origin domain select your Application Load Balancer and choose Create.
4.5. Go to Behaviors tab and click on Create Behavior.
4.6. For Create Behavior complete as follows and choose Create behavior:
/api*
ELB-CdkMs-ALBAE--XXXXX
GET, HEAD, OPTIONS, PUT, POST, PATCH, DELETE
CachingDisabled
AllViewer
This may take a few minutes to apply changes.