I'm generating a static website and a lambda on AWS using CloudFormation. The Lambda function is going to be an @Edge lambda, but in order to register it as an Edge lambda, I need the lambda to have a Trust Relationship with "edgelambda.amazonaws.com".
How do I add this trust relationship to my newly created Lambda within the CloudFormation template?