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 {
300300 */
301301 readonly apiDefinition : ApiDefinition ;
302302
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+
303311 /**
304312 * A Size(in bytes, kibibytes, mebibytes etc) that is used to enable compression (with non-negative
305313 * between 0 and 10485760 (10M) bytes, inclusive) or disable compression
@@ -332,12 +340,6 @@ export interface SpecRestApiProps extends RestApiBaseProps {
332340 * @default - `merge` for REST APIs created after March 29, 2021, otherwise `overwrite`
333341 */
334342 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 [ ] ;
341343}
342344
343345/**
You can’t perform that action at this time.
0 commit comments