Globals: Api: Auth: ResourcePolicy: SourceVpcBlacklist: [vpce-3456] Resources: MyFunction: Type: AWS::Serverless::Function Properties: InlineCode: | exports.handler = async (event) => { const response = { statusCode: 200, body: JSON.stringify('Hello from Lambda!'), }; return response; }; Handler: index.handler Runtime: nodejs12.x Events: Api: Type: Api Properties: Method: Put Path: /get ApiAnyMethod: Type: Api Properties: Method: any Path: /any/get