1
Help us understand the problem. What are the problem?

More than 1 year has passed since last update.

posted at

Serverless FlameworkでAPI Gatewayのバイナリメディアタイプを設定する方法

表題の件、日本語文献だとserverless-plugin-custom-binaryを用いるパターンが散見されるが、
内容が古く、Version1系の説明が多い
現時点(2019/11)ではVersion2(それもリリースは2018/6)で、設定方法が変わっている

  • Version2
plugins:
  - serverless-plugin-custom-binary
custom:
  apiGateway:
    binaryMediaTypes:
      - image/jpeg

  • Version1
plugins:
  - serverless-plugin-custom-binary
custom:
  apigatewayBinary:
    types:
      - image/jpeg
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
1
Help us understand the problem. What are the problem?