AWSTemplateFormatVersion: '2010-09-09' Transform: AWS::Serverless-2016-10-31 Description: A template to test for API condition handling with a mix of explicit and implicit api events. Resources: EXAMPLEPARTIALGateway: Type: AWS::Serverless::HttpApi Properties: DefinitionBody: openapi: 3.0.1 paths: /my/route: post: EXAMPLEPARTIALLambda: Type: AWS::Serverless::Function Properties: CodeUri: s3://sam-demo-bucket/hello.zip Runtime: python3.9 Handler: hello.handler Events: PostRequest: Type: HttpApi Properties: Path: /my/route ApiId: Ref: EXAMPLEPARTIALGateway Method: POST