File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
packages/aws-cdk-lib/aws-apigateway/lib Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -300,6 +300,14 @@ export interface SpecRestApiProps extends RestApiBaseProps {
300
300
*/
301
301
readonly apiDefinition : ApiDefinition ;
302
302
303
+ /**
304
+ * The list of binary media mime-types that are supported by the RestApi
305
+ * resource, such as "image/png" or "application/octet-stream"
306
+ *
307
+ * @default - RestApi supports only UTF-8-encoded text payloads.
308
+ */
309
+ readonly binaryMediaTypes ?: string [ ] ;
310
+
303
311
/**
304
312
* A Size(in bytes, kibibytes, mebibytes etc) that is used to enable compression (with non-negative
305
313
* between 0 and 10485760 (10M) bytes, inclusive) or disable compression
@@ -332,12 +340,6 @@ export interface SpecRestApiProps extends RestApiBaseProps {
332
340
* @default - `merge` for REST APIs created after March 29, 2021, otherwise `overwrite`
333
341
*/
334
342
readonly mode ?: RestApiMode ;
335
- /**
336
- * The list of binary media types supported by the RestApi. By default, the RestApi supports only UTF-8-encoded text payloads.
337
- *
338
- * @default - RestApi supports only UTF-8-encoded text payloads.
339
- */
340
- readonly binaryMediaTypes ?: string [ ] ;
341
343
}
342
344
343
345
/**
You can’t perform that action at this time.
0 commit comments