You are using S3 buckets to store images. These S3 buckets invoke a lambda function on upload. The Lambda function creates thumbnails of the images and stores them in another S3 bucket. An AWS CloudFormation template is used to create the Lambda function with the resource "AWS::Lambda::Function"
Which of the following attributes is the method name that Lambda calls to execute the function? Sample CloudFormation template:

A. FunctionName
B. Layers
C. Environment
D. Handler.