If it compiles, then it should 1) deploy, and 2) run. Below, if I forget to provide a Service needed by my Lambda Function (e.g. the BucketEventSource), then I get a type error. The Layers include Resources and least-privilege IAM Policies. Guaranteed to be correct.