AWSTemplateFormatVersion: '2010-09-09' Transform: AWS::Serverless-2016-10-31 Description: > Honor-iam Sample SAM Template for sam-app # More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 10 Resources: ServerlessSaaSLayers: Type: AWS::Serverless::LayerVersion Properties: LayerName: authdependency Description: Utilities for project ContentUri: layers/ CompatibleRuntimes: - python3.8 LicenseInfo: 'MIT' RetentionPolicy: Retain Metadata: BuildMethod: python3.8 authorizerjwt: Type: AWS::Serverless::Function Properties: CodeUri: authorizerjwt/ Handler: app.lambda_handler Runtime: python3.8 Role: arn:aws:iam::955513527673:role/lambda_exec_role Layers: - !Ref ServerlessSaaSLayers