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]
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions