Skip to content

Commit d670dbb

Browse files
Fix spec
1 parent a38c8f8 commit d670dbb

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

infrastructure/terraform/components/api/resources/spec.tmpl.json

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,26 @@
132132
"description": "Server error"
133133
}
134134
},
135+
"security": [
136+
{
137+
"LambdaAuthorizer": []
138+
}
139+
],
135140
"summary": "Fetch a data file",
136-
"tags": [
137-
"data"
138-
]
141+
"x-amazon-apigateway-integration": {
142+
"contentHandling": "CONVERT_TO_TEXT",
143+
"credentials": "${APIG_EXECUTION_ROLE_ARN}",
144+
"httpMethod": "POST",
145+
"passthroughBehavior": "WHEN_NO_TEMPLATES",
146+
"responses": {
147+
".*": {
148+
"statusCode": "200"
149+
}
150+
},
151+
"timeoutInMillis": 29000,
152+
"type": "AWS_PROXY",
153+
"uri": "arn:aws:apigateway:${AWS_REGION}:lambda:path/2015-03-31/functions/${PATCH_LETTER_LAMBDA_ARN}/invocations"
154+
}
139155
},
140156
"parameters": [
141157
{

0 commit comments

Comments
 (0)