AWSTemplateFormatVersion : '2010-09-09' Transform: AWS::Serverless-2016-10-31 Description: A hello world application. Resources: HelloWorldFunction: Type: AWS::Serverless::Function Properties: Handler: main.handler Runtime: python3.7 CodeUri: . Timeout: 600 Metadata: aws:cdk:path: ApiCorsIssueStack/Lambda/Resource aws:asset:path: . aws:asset:is-bundled: false aws:asset:property: CodeUri