@@ -54,8 +54,6 @@ functions:
54
54
type : request
55
55
arn : ${file(./config.${self:provider.stage}.json):SIGN_AUTHORIZER}
56
56
identitySource : ${file(./config.${self:provider.stage}.json):SIGN_HEADERS}
57
- name : verify_authorizer
58
- resultTtlInSeconds : 100
59
57
cors :
60
58
origin : ${self:custom.origin.${self:provider.stage}}
61
59
headers :
@@ -84,12 +82,12 @@ functions:
84
82
- http :
85
83
path : /usage/freecalls
86
84
method : get
87
- authorizer :
88
- type : request
89
- arn : ${file(./config.${self:provider.stage}.json):SIGN_AUTHORIZER}
90
- identitySource : ${file(./config.${self:provider.stage}.json):SIGN_HEADERS}
91
- name : freecall_authorizer
92
- resultTtlInSeconds : 100
85
+ # authorizer:
86
+ # type: request
87
+ # arn: ${file(./config.${self:provider.stage}.json):SIGN_AUTHORIZER}
88
+ # identitySource: ${file(./config.${self:provider.stage}.json):SIGN_HEADERS}
89
+ # name: freecall_authorizer
90
+ # resultTtlInSeconds: 100
93
91
cors :
94
92
origin : ${self:custom.origin.${self:provider.stage}}
95
93
headers :
@@ -117,12 +115,12 @@ functions:
117
115
- http :
118
116
path : /usage
119
117
method : post
120
- authorizer :
121
- type : request
122
- arn : ${file(./config.${self:provider.stage}.json):SIGN_AUTHORIZER}
123
- identitySource : ${file(./config.${self:provider.stage}.json):SIGN_HEADERS}
124
- name : usage_authorizer
125
- resultTtlInSeconds : 100
118
+ # authorizer:
119
+ # type: request
120
+ # arn: ${file(./config.${self:provider.stage}.json):SIGN_AUTHORIZER}
121
+ # identitySource: ${file(./config.${self:provider.stage}.json):SIGN_HEADERS}
122
+ # name: usage_authorizer
123
+ # resultTtlInSeconds: 100
126
124
cors :
127
125
origin : ${self:custom.origin.${self:provider.stage}}
128
126
headers :
0 commit comments