This repository was archived by the owner on May 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.yaml
66 lines (59 loc) · 1.61 KB
/
template.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: base-app-handler-ts-template
description: Base template to work with handler stack
types:
- app-template
inputs:
- label: Nome do Projeto
type: text
name: project_name
default: project-name
global: true
- label: Nome do handler principal
type: text
name: handler_name
default: handler-name
global: true
- label: Caminho padrão para a localização dos códigos auto gerados das lambdas da stack, o padrão é src.
type: text
name: source_dir
default: src
required: false
- label: Deseja habilitar o tracing para rastrear melhor os eventos entre as lambdas da stack?
type: text
name: tracing_enabled
default: 'true'
required: false
- label: Qual linguagem deseja usar para codificar as lambdas da stack? (Python ainda é experimental)
type: text
name: runtime_language
items:
- 'NODEJS_14_X'
- 'PYTHON_3_8'
default: 'NODEJS_14_X'
required: false
hooks:
- type: run
trigger: after-render
mac:
- npm run infra:install
- npm run infra:format:fix
- npm run infra:build:cdk
- npm run source:setup
linux:
- npm run infra:install
- npm run infra:format:fix
- npm run infra:build:cdk
- npm run source:setup
windows:
- cmd /c npm run infra:install
- cmd /c npm run infra:format:fix
- cmd /c npm run infra:build:cdk
- cmd /c npm run source:setup
displayName: Handler Base Template
category: backend
compatibility:
- NodeJS 14.x
- CDK 2.x
about: about.md
usage: usage.md
technologies: [ "Typescript", "CDK" , "EventBridge" ]