Resources: Api: Type: AWS::Serverless::Api Properties: StageName: Prod ApiParameterFunction: Type: AWS::Serverless::Function Properties: CodeUri: s3://sam-demo-bucket/member_portal.zip Handler: index.gethtml Runtime: nodejs12.x Events: GetHtml: Type: Api Properties: RestApiId: Api Path: / Method: get RequestParameters: - method.request.header.Authorization: Required: true Caching: true NoApiParameterFunction: Type: AWS::Serverless::Function Properties: CodeUri: s3://sam-demo-bucket/member_portal.zip Handler: index.gethtml Runtime: nodejs12.x Events: GetHtml: Type: Api Properties: Path: / Method: get RequestParameters: - method.request.querystring.type - method.request.path.id - method.request.querystring.full.type