AWSTemplateFormatVersion: "2010-09-09" Description: Example AWS CloudFormation template snippet. Resources: Test: Type: AWS::Lambda::Function Properties: Role: arn:aws:iam::755952356119:role/lambda-basic Runtime: python3.7 Handler: index.handler Code: ZipFile: | import boto3 def handler: """Example.""" print('hello')