Untitled

 avatar
unknown
plain_text
3 years ago
475 B
11
Indexable
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: "Serverless Stack"
Resources:
  hello:
    Type: AWS::Serverless::Function
    Properties:
      Runtime: python3.7
      Handler: lambda.hello
      CodeUri: src/
      Events:
        Hello:
          Type: Api
          Properties:
            Path: /
            Method: get
Outputs:
  url:
    Value: !Sub https://${ServerlessRestApi}.execute-api.${AWS::Region}.amazonaws.com/Prod
Editor is loading...