This template creates a CodeGuru Profiler profiling group with the specified profiling group name and agent permissions. The agent permissions allow specific IAM roles to access the profiling group. The compute platform determines where the profiling group runs, in this case, it runs on AWS Lambda.

CloudFormation Template