0

現在、github にプッシュすることでラムダをデプロイできます。ラムダも自動的にデプロイしますが、これは、API ゲートウェイがラムダ yaml ファイルのイベントであるためです。

AWSTemplateFormatVersion: '2010-09-09'
Transform: 'AWS::Serverless-2016-10-31'
Description: Identifies paragraphs in documents and links to the law
Resources:
  LambdaParagraphLinker:
    Type: 'AWS::Serverless::Function'
    Properties:
      Handler: LambdaParagraphLinker.lambda_handler
      Runtime: python3.6
      CodeUri: ./
      Description: Identifies paragraphs in documents and links to the 
      law
       MemorySize: 512
      Timeout: 10      
      Events:
        Api:
          Type: Api
          Properties:
            Path: /LambdaParagraphLinker
            Method: ANY

swagger ファイルを使用して API ゲートウェイをデプロイするにはどうすればよいですか?

4

2 に答える 2