Link ApiGateway Model to my Lambda Event

0

Hi please i would like to link the api gateway model to my lambda event

Events:
        Api:
          Type: Api
          Properties:
            Path: /
            Method: GET
AuthModel:
    Type: AWS::ApiGateway::Model
    DeletionPolicy: Delete
    Properties:
      RestApiId: !Ref SampleApi
      ContentType: application/json
      Name: AuthModel
      Schema:
        $schema: "http://json-schema.org/draft-04/schema#"
        title: Item
        type: object
        properties:
          itemId: {type: string}
          itemName: {type: string}
        required: [itemId, itemName]
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ