-
Notifications
You must be signed in to change notification settings - Fork 0
/
saml.yaml
27 lines (27 loc) · 920 Bytes
/
saml.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
Transform: 'AWS::Serverless-2016-10-31'
# Parameters:
# SamMultipler:
# Description: "SAM multiplier. Make this really big to have a party :)"
# Type: "String"
# OriginUrl:
# Description: "The origin url to allow CORS requests from. This will be the base URL of your static SAM website."
# Type: "String"
Resources:
GetSAMPartyCount:
Type: AWS::Serverless::Function
Properties:
Handler: index.handler
Runtime: nodejs6.10
CodeUri: ./
Environment:
Variables:
SAM_MULTIPLIER: 1
ORIGIN_URL: '*'
# SAM_MULTIPLIER: !Ref SamMultipler
# ORIGIN_URL: !Ref OriginUrl
Events:
GetResource:
Type: Api
Properties:
Path: /sam
Method: get