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]
Sem respostas

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas