I tried to create a lambda@edge for cloudfront redirect root default object. I followed this instruction: https://aws.amazon.com/blogs/compute/implementing-default-directory-indexes-in-amazon-s3-backed-amazon-cloudfront-origins-using-lambdaedge/
But the CloudFront doesn't appear in the trigger selection. How can I add CloudFront as a trigger for my lambda function?