LoginSignup
0
0

More than 5 years have passed since last update.

Apexの設定項目メモ

Posted at

apexのproject.jsonとfunction.jsonの設定で、function.jsonが優先される項目を整理しました。

project.jsonのみで設定できるフィールド

field name type required description
name string required プロジェクト名。nameTemplateのデフォルト値として使われる
description string プロジェクトの説明
profile string 使用するAWSプロファイル名。~/.aws/credentialsを参照する。AWS_PROFILEや--profileが指定されていないときに使われる
defaultEnvironment string デフォルト環境
nameTemplate string 関数名に使用するテンプレート。デフォルトは {{.Project.Name}}_{{.Function.Name}}

function.jsonが優先されるフィールド

field name type required description
runtime string ランタイム。java/python/node4.3/golang など
memory int メモリ(MB)
timeout int タイムアウト(秒)
role string IAMロール
environment object 環境変数
retainedVersions int 関数のバージョン
vpc object VPCの設定。securityGroups(array)やsubnets(array)
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0