-
Notifications
You must be signed in to change notification settings - Fork 1
/
serverless.yml
43 lines (38 loc) · 999 Bytes
/
serverless.yml
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
service: makeupiv
frameworkVersion: '2'
provider:
name: aws
runtime: ruby2.7
apiGateway:
shouldStartNameWithService: true
stage: dev
region: eu-west-3
memorySize: 128
# you can add statements to the Lambda function's IAM Role here
# iamRoleStatements:
# - Effect: "Allow"
# Action:
# - "s3:ListBucket"
# Resource: { "Fn::Join" : ["", ["arn:aws:s3:::", { "Ref" : "ServerlessDeploymentBucket" } ] ] }
# - Effect: "Allow"
# Action:
# - "s3:PutObject"
# Resource:
# Fn::Join:
# - ""
# - - "arn:aws:s3:::"
# - "Ref" : "ServerlessDeploymentBucket"
# - "/*"
# you can define service wide environment variables here
# environment:
# variable1: value1
# - exclude-me-dir/**
functions:
datospersonales:
handler: handler.datospersonales
description: "Muestra los datos personales de un cliente"
events:
- http:
path: /
method: post
cors: true