-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.yaml
71 lines (59 loc) · 1.94 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
67
68
69
70
71
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: >
resourceful - little functions doing big things
# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst
Globals:
Function:
Timeout: 6
# More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
Resources:
# RestApi:
# Type: AWS::Serverless::Api
# Properties:
# StageName: dev
# ApiSfAdapter00:
# Type: AWS::Serverless::Function
# Properties:
# CodeUri: api-sf-adapter-00/
# Handler: app.lambdaHandler
# Runtime: nodejs10.x
# Policies:
# - AWSStepFunctionsFullAccess
# Events:
# ApiEndpoint:
# Type: Api
# Properties:
# Path: /api/data
# Method: post
# RestApiId:
# Ref: RestApi
# DynamoDb00:
# Type: AWS::Serverless::Function
# Properties:
# CodeUri: dynamodb-00/
# Handler: app.lambdaHandler
# Runtime: nodejs10.x
# Policies:
# - AmazonDynamoDBFullAccess
# GpFunction00:
# Type: AWS::Serverless::Function
# Properties:
# CodeUri: gpf-00/
# Handler: app.lambdaHandler
# Runtime: nodejs10.x
S3Uploader00:
Type: AWS::Serverless::Application
Properties:
Location:
ApplicationId: arn:aws:serverlessrepo:us-east-1:526237104669:applications/Serverless-S3-Uploader
SemanticVersion: 1.0.0
S3RekogBlur00:
Type: AWS::Serverless::Application
Properties:
Location:
ApplicationId: arn:aws:serverlessrepo:us-east-1:932998628582:applications/blur-faces-rekognition
SemanticVersion: 1.0.0
Parameters:
InBucketName: prod-r0zar-resourceful-serverlesss3uploa-s3bucket-xmjryj8yinyo
OutBucketName: tickets-blurred-barcodes