@@ -54,7 +54,7 @@ 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 : sign_authorizer
57
+ name : verify_authorizer
58
58
# resultTtlInSeconds: 100
59
59
cors :
60
60
origin : ${self:custom.origin.${self:provider.stage}}
@@ -77,9 +77,6 @@ functions:
77
77
subnetIds :
78
78
- ${file(./config.${self:provider.stage}.json):VPC1}
79
79
- ${file(./config.${self:provider.stage}.json):VPC2}
80
- # The following are a few example events you can configure
81
- # NOTE: Please make sure to change your handler code to work with those events
82
- # Check the event documentation for details
83
80
events :
84
81
- http :
85
82
path : /usage/freecalls
@@ -88,7 +85,7 @@ functions:
88
85
type : request
89
86
arn : ${file(./config.${self:provider.stage}.json):SIGN_AUTHORIZER}
90
87
identitySource : ${file(./config.${self:provider.stage}.json):SIGN_HEADERS}
91
- name : sign_authorizer
88
+ name : freecall_authorizer
92
89
# resultTtlInSeconds: 100
93
90
cors :
94
91
origin : ${self:custom.origin.${self:provider.stage}}
@@ -110,9 +107,6 @@ functions:
110
107
subnetIds :
111
108
- ${file(./config.${self:provider.stage}.json):VPC1}
112
109
- ${file(./config.${self:provider.stage}.json):VPC2}
113
- # The following are a few example events you can configure
114
- # NOTE: Please make sure to change your handler code to work with those events
115
- # Check the event documentation for details
116
110
events :
117
111
- http :
118
112
path : /usage
@@ -121,7 +115,7 @@ functions:
121
115
type : request
122
116
arn : ${file(./config.${self:provider.stage}.json):SIGN_AUTHORIZER}
123
117
identitySource : ${file(./config.${self:provider.stage}.json):SIGN_HEADERS}
124
- name : sign_authorizer
118
+ name : usage_authorizer
125
119
# resultTtlInSeconds: 100
126
120
cors :
127
121
origin : ${self:custom.origin.${self:provider.stage}}
0 commit comments