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]
Aucune réponse

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions