AWSTemplateFormatVersion : '2010-09-09' Transform: AWS::Serverless-2016-10-31 Globals: Api: BinaryMediaTypes: # These are equivalent to image/gif and image/png when deployed - image~1gif - image~1png Variables: VarName: varValue Cors: "'*''" Resources: HelloWorldFunction: Type: AWS::Serverless::Function Properties: Handler: main.handler Runtime: python3.9 FunctionName: customname CodeUri: .. Timeout: 600 Events: IdBasePath: Type: Api Properties: Method: POST Path: /path1 ChildStack: Type: AWS::Serverless::Application Properties: Location: ./template-precedence-child.yaml