aws-solutions-constructs.aws-openapigateway-lambda 2.68.0__tar.gz → 2.70.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {aws_solutions_constructs_aws_openapigateway_lambda-2.68.0/src/aws_solutions_constructs.aws_openapigateway_lambda.egg-info → aws_solutions_constructs_aws_openapigateway_lambda-2.70.0}/PKG-INFO +5 -4
- {aws_solutions_constructs_aws_openapigateway_lambda-2.68.0 → aws_solutions_constructs_aws_openapigateway_lambda-2.70.0}/README.md +1 -0
- {aws_solutions_constructs_aws_openapigateway_lambda-2.68.0 → aws_solutions_constructs_aws_openapigateway_lambda-2.70.0}/setup.py +5 -5
- {aws_solutions_constructs_aws_openapigateway_lambda-2.68.0 → aws_solutions_constructs_aws_openapigateway_lambda-2.70.0}/src/aws_solutions_constructs/aws_openapigateway_lambda/__init__.py +23 -0
- {aws_solutions_constructs_aws_openapigateway_lambda-2.68.0 → aws_solutions_constructs_aws_openapigateway_lambda-2.70.0}/src/aws_solutions_constructs/aws_openapigateway_lambda/_jsii/__init__.py +2 -2
- aws_solutions_constructs_aws_openapigateway_lambda-2.70.0/src/aws_solutions_constructs/aws_openapigateway_lambda/_jsii/aws-openapigateway-lambda@2.70.0.jsii.tgz +0 -0
- {aws_solutions_constructs_aws_openapigateway_lambda-2.68.0 → aws_solutions_constructs_aws_openapigateway_lambda-2.70.0/src/aws_solutions_constructs.aws_openapigateway_lambda.egg-info}/PKG-INFO +5 -4
- {aws_solutions_constructs_aws_openapigateway_lambda-2.68.0 → aws_solutions_constructs_aws_openapigateway_lambda-2.70.0}/src/aws_solutions_constructs.aws_openapigateway_lambda.egg-info/SOURCES.txt +1 -1
- {aws_solutions_constructs_aws_openapigateway_lambda-2.68.0 → aws_solutions_constructs_aws_openapigateway_lambda-2.70.0}/src/aws_solutions_constructs.aws_openapigateway_lambda.egg-info/requires.txt +3 -3
- aws_solutions_constructs_aws_openapigateway_lambda-2.68.0/src/aws_solutions_constructs/aws_openapigateway_lambda/_jsii/aws-openapigateway-lambda@2.68.0.jsii.tgz +0 -0
- {aws_solutions_constructs_aws_openapigateway_lambda-2.68.0 → aws_solutions_constructs_aws_openapigateway_lambda-2.70.0}/LICENSE +0 -0
- {aws_solutions_constructs_aws_openapigateway_lambda-2.68.0 → aws_solutions_constructs_aws_openapigateway_lambda-2.70.0}/MANIFEST.in +0 -0
- {aws_solutions_constructs_aws_openapigateway_lambda-2.68.0 → aws_solutions_constructs_aws_openapigateway_lambda-2.70.0}/pyproject.toml +0 -0
- {aws_solutions_constructs_aws_openapigateway_lambda-2.68.0 → aws_solutions_constructs_aws_openapigateway_lambda-2.70.0}/setup.cfg +0 -0
- {aws_solutions_constructs_aws_openapigateway_lambda-2.68.0 → aws_solutions_constructs_aws_openapigateway_lambda-2.70.0}/src/aws_solutions_constructs/aws_openapigateway_lambda/py.typed +0 -0
- {aws_solutions_constructs_aws_openapigateway_lambda-2.68.0 → aws_solutions_constructs_aws_openapigateway_lambda-2.70.0}/src/aws_solutions_constructs.aws_openapigateway_lambda.egg-info/dependency_links.txt +0 -0
- {aws_solutions_constructs_aws_openapigateway_lambda-2.68.0 → aws_solutions_constructs_aws_openapigateway_lambda-2.70.0}/src/aws_solutions_constructs.aws_openapigateway_lambda.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: aws-solutions-constructs.aws-openapigateway-lambda
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.70.0
|
|
4
4
|
Summary: CDK constructs for defining an interaction between an OpenAPI-defined API Gateway and one or more Lambda functions.
|
|
5
5
|
Home-page: https://github.com/awslabs/aws-solutions-constructs.git
|
|
6
6
|
Author: Amazon Web Services
|
|
@@ -21,10 +21,10 @@ Description-Content-Type: text/markdown
|
|
|
21
21
|
License-File: LICENSE
|
|
22
22
|
Requires-Dist: aws-cdk-lib<3.0.0,>=2.154.1
|
|
23
23
|
Requires-Dist: aws-cdk.integ-tests-alpha==2.154.1.a0
|
|
24
|
-
Requires-Dist: aws-solutions-constructs.core==2.
|
|
25
|
-
Requires-Dist: aws-solutions-constructs.resources==2.
|
|
24
|
+
Requires-Dist: aws-solutions-constructs.core==2.70.0
|
|
25
|
+
Requires-Dist: aws-solutions-constructs.resources==2.70.0
|
|
26
26
|
Requires-Dist: constructs<11.0.0,>=10.0.0
|
|
27
|
-
Requires-Dist: jsii<2.0.0,>=1.103.
|
|
27
|
+
Requires-Dist: jsii<2.0.0,>=1.103.1
|
|
28
28
|
Requires-Dist: publication>=0.0.3
|
|
29
29
|
Requires-Dist: typeguard<5.0.0,>=2.13.3
|
|
30
30
|
|
|
@@ -160,6 +160,7 @@ new OpenApiGatewayToLambda(this, "OpenApiGatewayToLambda", OpenApiGatewayToLambd
|
|
|
160
160
|
|apiDefinitionBucket?|[`s3.IBucket`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.IBucket.html)|S3 Bucket where the OpenAPI spec file is located. When specifying this property, `apiDefinitionKey` must also be specified.|
|
|
161
161
|
|apiDefinitionKey?|`string`|S3 Object name of the OpenAPI spec file. When specifying this property, `apiDefinitionBucket` must also be specified.|
|
|
162
162
|
|apiDefinitionAsset?|[`aws_s3_assets.Asset`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3_assets.Asset.html)|Local file asset of the OpenAPI spec file.|
|
|
163
|
+
|apiDefinitionJson?|any|OpenAPI specification represented in a JSON object to be embedded in the CloudFormation template. IMPORTANT - Including the spec in the template introduces a risk of the template growing too big, but there are some use cases that require an embedded spec. Unless your use case explicitly requires an embedded spec you should pass your spec as an S3 asset.|
|
|
163
164
|
|apiIntegrations|`ApiIntegration[]`|One or more key-value pairs that contain an id for the api integration and either an existing lambda function or an instance of the LambdaProps. Please see the `Overview of how the OpenAPI file transformation works` section below for more usage details.|
|
|
164
165
|
|logGroupProps?|[`logs.LogGroupProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_logs.LogGroupProps.html)|User provided props to override the default props for for the CloudWatchLogs LogGroup.|
|
|
165
166
|
|
|
@@ -130,6 +130,7 @@ new OpenApiGatewayToLambda(this, "OpenApiGatewayToLambda", OpenApiGatewayToLambd
|
|
|
130
130
|
|apiDefinitionBucket?|[`s3.IBucket`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.IBucket.html)|S3 Bucket where the OpenAPI spec file is located. When specifying this property, `apiDefinitionKey` must also be specified.|
|
|
131
131
|
|apiDefinitionKey?|`string`|S3 Object name of the OpenAPI spec file. When specifying this property, `apiDefinitionBucket` must also be specified.|
|
|
132
132
|
|apiDefinitionAsset?|[`aws_s3_assets.Asset`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3_assets.Asset.html)|Local file asset of the OpenAPI spec file.|
|
|
133
|
+
|apiDefinitionJson?|any|OpenAPI specification represented in a JSON object to be embedded in the CloudFormation template. IMPORTANT - Including the spec in the template introduces a risk of the template growing too big, but there are some use cases that require an embedded spec. Unless your use case explicitly requires an embedded spec you should pass your spec as an S3 asset.|
|
|
133
134
|
|apiIntegrations|`ApiIntegration[]`|One or more key-value pairs that contain an id for the api integration and either an existing lambda function or an instance of the LambdaProps. Please see the `Overview of how the OpenAPI file transformation works` section below for more usage details.|
|
|
134
135
|
|logGroupProps?|[`logs.LogGroupProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_logs.LogGroupProps.html)|User provided props to override the default props for for the CloudWatchLogs LogGroup.|
|
|
135
136
|
|
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "aws-solutions-constructs.aws-openapigateway-lambda",
|
|
8
|
-
"version": "2.
|
|
8
|
+
"version": "2.70.0",
|
|
9
9
|
"description": "CDK constructs for defining an interaction between an OpenAPI-defined API Gateway and one or more Lambda functions.",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"url": "https://github.com/awslabs/aws-solutions-constructs.git",
|
|
@@ -26,7 +26,7 @@ kwargs = json.loads(
|
|
|
26
26
|
],
|
|
27
27
|
"package_data": {
|
|
28
28
|
"aws_solutions_constructs.aws_openapigateway_lambda._jsii": [
|
|
29
|
-
"aws-openapigateway-lambda@2.
|
|
29
|
+
"aws-openapigateway-lambda@2.70.0.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"aws_solutions_constructs.aws_openapigateway_lambda": [
|
|
32
32
|
"py.typed"
|
|
@@ -36,10 +36,10 @@ kwargs = json.loads(
|
|
|
36
36
|
"install_requires": [
|
|
37
37
|
"aws-cdk-lib>=2.154.1, <3.0.0",
|
|
38
38
|
"aws-cdk.integ-tests-alpha==2.154.1.a0",
|
|
39
|
-
"aws-solutions-constructs.core==2.
|
|
40
|
-
"aws-solutions-constructs.resources==2.
|
|
39
|
+
"aws-solutions-constructs.core==2.70.0",
|
|
40
|
+
"aws-solutions-constructs.resources==2.70.0",
|
|
41
41
|
"constructs>=10.0.0, <11.0.0",
|
|
42
|
-
"jsii>=1.103.
|
|
42
|
+
"jsii>=1.103.1, <2.0.0",
|
|
43
43
|
"publication>=0.0.3",
|
|
44
44
|
"typeguard>=2.13.3,<5.0.0"
|
|
45
45
|
],
|
|
@@ -131,6 +131,7 @@ new OpenApiGatewayToLambda(this, "OpenApiGatewayToLambda", OpenApiGatewayToLambd
|
|
|
131
131
|
|apiDefinitionBucket?|[`s3.IBucket`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.IBucket.html)|S3 Bucket where the OpenAPI spec file is located. When specifying this property, `apiDefinitionKey` must also be specified.|
|
|
132
132
|
|apiDefinitionKey?|`string`|S3 Object name of the OpenAPI spec file. When specifying this property, `apiDefinitionBucket` must also be specified.|
|
|
133
133
|
|apiDefinitionAsset?|[`aws_s3_assets.Asset`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3_assets.Asset.html)|Local file asset of the OpenAPI spec file.|
|
|
134
|
+
|apiDefinitionJson?|any|OpenAPI specification represented in a JSON object to be embedded in the CloudFormation template. IMPORTANT - Including the spec in the template introduces a risk of the template growing too big, but there are some use cases that require an embedded spec. Unless your use case explicitly requires an embedded spec you should pass your spec as an S3 asset.|
|
|
134
135
|
|apiIntegrations|`ApiIntegration[]`|One or more key-value pairs that contain an id for the api integration and either an existing lambda function or an instance of the LambdaProps. Please see the `Overview of how the OpenAPI file transformation works` section below for more usage details.|
|
|
135
136
|
|logGroupProps?|[`logs.LogGroupProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_logs.LogGroupProps.html)|User provided props to override the default props for for the CloudWatchLogs LogGroup.|
|
|
136
137
|
|
|
@@ -428,6 +429,7 @@ class OpenApiGatewayToLambda(
|
|
|
428
429
|
api_integrations: typing.Sequence[typing.Union[ApiIntegration, typing.Dict[builtins.str, typing.Any]]],
|
|
429
430
|
api_definition_asset: typing.Optional[_aws_cdk_aws_s3_assets_ceddda9d.Asset] = None,
|
|
430
431
|
api_definition_bucket: typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket] = None,
|
|
432
|
+
api_definition_json: typing.Any = None,
|
|
431
433
|
api_definition_key: typing.Optional[builtins.str] = None,
|
|
432
434
|
api_gateway_props: typing.Optional[typing.Union[_aws_cdk_aws_apigateway_ceddda9d.RestApiBaseProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
433
435
|
internal_transform_memory_size: typing.Optional[jsii.Number] = None,
|
|
@@ -440,6 +442,7 @@ class OpenApiGatewayToLambda(
|
|
|
440
442
|
:param api_integrations: One or more key-value pairs that contain an id for the api integration and either an existing lambda function or an instance of the LambdaProps. Example: const apiIntegrations: ApiIntegration[] = [ { id: 'MessagesHandler', lambdaFunctionProps: { runtime: defaults.COMMERCIAL_REGION_LAMBDA_NODE_RUNTIME, handler: 'index.handler', code: lambda.Code.fromAsset(``${__dirname}/messages-lambda``), } }, { id: 'PhotosHandler', existingLambdaObj: new lambda.Function(this, 'PhotosLambda', { runtime: defaults.COMMERCIAL_REGION_LAMBDA_NODE_RUNTIME, handler: 'index.handler', code: lambda.Code.fromAsset(``${__dirname}/photos-lambda``), }) } ]
|
|
441
443
|
:param api_definition_asset: Local file asset of the OpenAPI spec file.
|
|
442
444
|
:param api_definition_bucket: S3 Bucket where the OpenAPI spec file is located. When specifying this property, apiDefinitionKey must also be specified.
|
|
445
|
+
:param api_definition_json: OpenAPI specification represented in a JSON object to be embedded in the CloudFormation template. IMPORTANT - Including the spec in the template introduces a risk of the template growing too big, but there are some use cases that require an embedded spec. Unless your use case explicitly requires an embedded spec you should pass your spec as an S3 asset.
|
|
443
446
|
:param api_definition_key: S3 Object name of the OpenAPI spec file. When specifying this property, apiDefinitionBucket must also be specified.
|
|
444
447
|
:param api_gateway_props: Optional user-provided props to override the default props for the API. Default: - Default props are used.
|
|
445
448
|
:param internal_transform_memory_size: Optional user-defined memory size for the Lambda function custom resource installed to do the OpenAPI definition transformation. This setting does not affect the deployed architecture - only the ability for the Construct to complete its work. Defaults to 1024 MiB, but for larger files (hundreds of megabytes or gigabytes in size) this value may need to be increased. Default: 1024
|
|
@@ -454,6 +457,7 @@ class OpenApiGatewayToLambda(
|
|
|
454
457
|
api_integrations=api_integrations,
|
|
455
458
|
api_definition_asset=api_definition_asset,
|
|
456
459
|
api_definition_bucket=api_definition_bucket,
|
|
460
|
+
api_definition_json=api_definition_json,
|
|
457
461
|
api_definition_key=api_definition_key,
|
|
458
462
|
api_gateway_props=api_gateway_props,
|
|
459
463
|
internal_transform_memory_size=internal_transform_memory_size,
|
|
@@ -493,6 +497,7 @@ class OpenApiGatewayToLambda(
|
|
|
493
497
|
"api_integrations": "apiIntegrations",
|
|
494
498
|
"api_definition_asset": "apiDefinitionAsset",
|
|
495
499
|
"api_definition_bucket": "apiDefinitionBucket",
|
|
500
|
+
"api_definition_json": "apiDefinitionJson",
|
|
496
501
|
"api_definition_key": "apiDefinitionKey",
|
|
497
502
|
"api_gateway_props": "apiGatewayProps",
|
|
498
503
|
"internal_transform_memory_size": "internalTransformMemorySize",
|
|
@@ -507,6 +512,7 @@ class OpenApiGatewayToLambdaProps:
|
|
|
507
512
|
api_integrations: typing.Sequence[typing.Union[ApiIntegration, typing.Dict[builtins.str, typing.Any]]],
|
|
508
513
|
api_definition_asset: typing.Optional[_aws_cdk_aws_s3_assets_ceddda9d.Asset] = None,
|
|
509
514
|
api_definition_bucket: typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket] = None,
|
|
515
|
+
api_definition_json: typing.Any = None,
|
|
510
516
|
api_definition_key: typing.Optional[builtins.str] = None,
|
|
511
517
|
api_gateway_props: typing.Optional[typing.Union[_aws_cdk_aws_apigateway_ceddda9d.RestApiBaseProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
512
518
|
internal_transform_memory_size: typing.Optional[jsii.Number] = None,
|
|
@@ -517,6 +523,7 @@ class OpenApiGatewayToLambdaProps:
|
|
|
517
523
|
:param api_integrations: One or more key-value pairs that contain an id for the api integration and either an existing lambda function or an instance of the LambdaProps. Example: const apiIntegrations: ApiIntegration[] = [ { id: 'MessagesHandler', lambdaFunctionProps: { runtime: defaults.COMMERCIAL_REGION_LAMBDA_NODE_RUNTIME, handler: 'index.handler', code: lambda.Code.fromAsset(``${__dirname}/messages-lambda``), } }, { id: 'PhotosHandler', existingLambdaObj: new lambda.Function(this, 'PhotosLambda', { runtime: defaults.COMMERCIAL_REGION_LAMBDA_NODE_RUNTIME, handler: 'index.handler', code: lambda.Code.fromAsset(``${__dirname}/photos-lambda``), }) } ]
|
|
518
524
|
:param api_definition_asset: Local file asset of the OpenAPI spec file.
|
|
519
525
|
:param api_definition_bucket: S3 Bucket where the OpenAPI spec file is located. When specifying this property, apiDefinitionKey must also be specified.
|
|
526
|
+
:param api_definition_json: OpenAPI specification represented in a JSON object to be embedded in the CloudFormation template. IMPORTANT - Including the spec in the template introduces a risk of the template growing too big, but there are some use cases that require an embedded spec. Unless your use case explicitly requires an embedded spec you should pass your spec as an S3 asset.
|
|
520
527
|
:param api_definition_key: S3 Object name of the OpenAPI spec file. When specifying this property, apiDefinitionBucket must also be specified.
|
|
521
528
|
:param api_gateway_props: Optional user-provided props to override the default props for the API. Default: - Default props are used.
|
|
522
529
|
:param internal_transform_memory_size: Optional user-defined memory size for the Lambda function custom resource installed to do the OpenAPI definition transformation. This setting does not affect the deployed architecture - only the ability for the Construct to complete its work. Defaults to 1024 MiB, but for larger files (hundreds of megabytes or gigabytes in size) this value may need to be increased. Default: 1024
|
|
@@ -532,6 +539,7 @@ class OpenApiGatewayToLambdaProps:
|
|
|
532
539
|
check_type(argname="argument api_integrations", value=api_integrations, expected_type=type_hints["api_integrations"])
|
|
533
540
|
check_type(argname="argument api_definition_asset", value=api_definition_asset, expected_type=type_hints["api_definition_asset"])
|
|
534
541
|
check_type(argname="argument api_definition_bucket", value=api_definition_bucket, expected_type=type_hints["api_definition_bucket"])
|
|
542
|
+
check_type(argname="argument api_definition_json", value=api_definition_json, expected_type=type_hints["api_definition_json"])
|
|
535
543
|
check_type(argname="argument api_definition_key", value=api_definition_key, expected_type=type_hints["api_definition_key"])
|
|
536
544
|
check_type(argname="argument api_gateway_props", value=api_gateway_props, expected_type=type_hints["api_gateway_props"])
|
|
537
545
|
check_type(argname="argument internal_transform_memory_size", value=internal_transform_memory_size, expected_type=type_hints["internal_transform_memory_size"])
|
|
@@ -544,6 +552,8 @@ class OpenApiGatewayToLambdaProps:
|
|
|
544
552
|
self._values["api_definition_asset"] = api_definition_asset
|
|
545
553
|
if api_definition_bucket is not None:
|
|
546
554
|
self._values["api_definition_bucket"] = api_definition_bucket
|
|
555
|
+
if api_definition_json is not None:
|
|
556
|
+
self._values["api_definition_json"] = api_definition_json
|
|
547
557
|
if api_definition_key is not None:
|
|
548
558
|
self._values["api_definition_key"] = api_definition_key
|
|
549
559
|
if api_gateway_props is not None:
|
|
@@ -602,6 +612,17 @@ class OpenApiGatewayToLambdaProps:
|
|
|
602
612
|
result = self._values.get("api_definition_bucket")
|
|
603
613
|
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket], result)
|
|
604
614
|
|
|
615
|
+
@builtins.property
|
|
616
|
+
def api_definition_json(self) -> typing.Any:
|
|
617
|
+
'''OpenAPI specification represented in a JSON object to be embedded in the CloudFormation template.
|
|
618
|
+
|
|
619
|
+
IMPORTANT - Including the spec in the template introduces a risk of the template growing too big, but
|
|
620
|
+
there are some use cases that require an embedded spec. Unless your use case explicitly requires an embedded spec
|
|
621
|
+
you should pass your spec as an S3 asset.
|
|
622
|
+
'''
|
|
623
|
+
result = self._values.get("api_definition_json")
|
|
624
|
+
return typing.cast(typing.Any, result)
|
|
625
|
+
|
|
605
626
|
@builtins.property
|
|
606
627
|
def api_definition_key(self) -> typing.Optional[builtins.str]:
|
|
607
628
|
'''S3 Object name of the OpenAPI spec file.
|
|
@@ -704,6 +725,7 @@ def _typecheckingstub__f72b11c0dbf5d67e28186e991bb77d43c6063fb3d69758a2d112ff6a5
|
|
|
704
725
|
api_integrations: typing.Sequence[typing.Union[ApiIntegration, typing.Dict[builtins.str, typing.Any]]],
|
|
705
726
|
api_definition_asset: typing.Optional[_aws_cdk_aws_s3_assets_ceddda9d.Asset] = None,
|
|
706
727
|
api_definition_bucket: typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket] = None,
|
|
728
|
+
api_definition_json: typing.Any = None,
|
|
707
729
|
api_definition_key: typing.Optional[builtins.str] = None,
|
|
708
730
|
api_gateway_props: typing.Optional[typing.Union[_aws_cdk_aws_apigateway_ceddda9d.RestApiBaseProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
709
731
|
internal_transform_memory_size: typing.Optional[jsii.Number] = None,
|
|
@@ -718,6 +740,7 @@ def _typecheckingstub__2cf1c5fb01583839f606ad44a970067741d586951b8ec3e6b0a23aa04
|
|
|
718
740
|
api_integrations: typing.Sequence[typing.Union[ApiIntegration, typing.Dict[builtins.str, typing.Any]]],
|
|
719
741
|
api_definition_asset: typing.Optional[_aws_cdk_aws_s3_assets_ceddda9d.Asset] = None,
|
|
720
742
|
api_definition_bucket: typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket] = None,
|
|
743
|
+
api_definition_json: typing.Any = None,
|
|
721
744
|
api_definition_key: typing.Optional[builtins.str] = None,
|
|
722
745
|
api_gateway_props: typing.Optional[typing.Union[_aws_cdk_aws_apigateway_ceddda9d.RestApiBaseProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
723
746
|
internal_transform_memory_size: typing.Optional[jsii.Number] = None,
|
|
@@ -36,9 +36,9 @@ import constructs._jsii
|
|
|
36
36
|
|
|
37
37
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
38
38
|
"@aws-solutions-constructs/aws-openapigateway-lambda",
|
|
39
|
-
"2.
|
|
39
|
+
"2.70.0",
|
|
40
40
|
__name__[0:-6],
|
|
41
|
-
"aws-openapigateway-lambda@2.
|
|
41
|
+
"aws-openapigateway-lambda@2.70.0.jsii.tgz",
|
|
42
42
|
)
|
|
43
43
|
|
|
44
44
|
__all__ = [
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: aws-solutions-constructs.aws-openapigateway-lambda
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.70.0
|
|
4
4
|
Summary: CDK constructs for defining an interaction between an OpenAPI-defined API Gateway and one or more Lambda functions.
|
|
5
5
|
Home-page: https://github.com/awslabs/aws-solutions-constructs.git
|
|
6
6
|
Author: Amazon Web Services
|
|
@@ -21,10 +21,10 @@ Description-Content-Type: text/markdown
|
|
|
21
21
|
License-File: LICENSE
|
|
22
22
|
Requires-Dist: aws-cdk-lib<3.0.0,>=2.154.1
|
|
23
23
|
Requires-Dist: aws-cdk.integ-tests-alpha==2.154.1.a0
|
|
24
|
-
Requires-Dist: aws-solutions-constructs.core==2.
|
|
25
|
-
Requires-Dist: aws-solutions-constructs.resources==2.
|
|
24
|
+
Requires-Dist: aws-solutions-constructs.core==2.70.0
|
|
25
|
+
Requires-Dist: aws-solutions-constructs.resources==2.70.0
|
|
26
26
|
Requires-Dist: constructs<11.0.0,>=10.0.0
|
|
27
|
-
Requires-Dist: jsii<2.0.0,>=1.103.
|
|
27
|
+
Requires-Dist: jsii<2.0.0,>=1.103.1
|
|
28
28
|
Requires-Dist: publication>=0.0.3
|
|
29
29
|
Requires-Dist: typeguard<5.0.0,>=2.13.3
|
|
30
30
|
|
|
@@ -160,6 +160,7 @@ new OpenApiGatewayToLambda(this, "OpenApiGatewayToLambda", OpenApiGatewayToLambd
|
|
|
160
160
|
|apiDefinitionBucket?|[`s3.IBucket`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3.IBucket.html)|S3 Bucket where the OpenAPI spec file is located. When specifying this property, `apiDefinitionKey` must also be specified.|
|
|
161
161
|
|apiDefinitionKey?|`string`|S3 Object name of the OpenAPI spec file. When specifying this property, `apiDefinitionBucket` must also be specified.|
|
|
162
162
|
|apiDefinitionAsset?|[`aws_s3_assets.Asset`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_s3_assets.Asset.html)|Local file asset of the OpenAPI spec file.|
|
|
163
|
+
|apiDefinitionJson?|any|OpenAPI specification represented in a JSON object to be embedded in the CloudFormation template. IMPORTANT - Including the spec in the template introduces a risk of the template growing too big, but there are some use cases that require an embedded spec. Unless your use case explicitly requires an embedded spec you should pass your spec as an S3 asset.|
|
|
163
164
|
|apiIntegrations|`ApiIntegration[]`|One or more key-value pairs that contain an id for the api integration and either an existing lambda function or an instance of the LambdaProps. Please see the `Overview of how the OpenAPI file transformation works` section below for more usage details.|
|
|
164
165
|
|logGroupProps?|[`logs.LogGroupProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_logs.LogGroupProps.html)|User provided props to override the default props for for the CloudWatchLogs LogGroup.|
|
|
165
166
|
|
|
@@ -11,4 +11,4 @@ src/aws_solutions_constructs.aws_openapigateway_lambda.egg-info/top_level.txt
|
|
|
11
11
|
src/aws_solutions_constructs/aws_openapigateway_lambda/__init__.py
|
|
12
12
|
src/aws_solutions_constructs/aws_openapigateway_lambda/py.typed
|
|
13
13
|
src/aws_solutions_constructs/aws_openapigateway_lambda/_jsii/__init__.py
|
|
14
|
-
src/aws_solutions_constructs/aws_openapigateway_lambda/_jsii/aws-openapigateway-lambda@2.
|
|
14
|
+
src/aws_solutions_constructs/aws_openapigateway_lambda/_jsii/aws-openapigateway-lambda@2.70.0.jsii.tgz
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
aws-cdk-lib<3.0.0,>=2.154.1
|
|
2
2
|
aws-cdk.integ-tests-alpha==2.154.1.a0
|
|
3
|
-
aws-solutions-constructs.core==2.
|
|
4
|
-
aws-solutions-constructs.resources==2.
|
|
3
|
+
aws-solutions-constructs.core==2.70.0
|
|
4
|
+
aws-solutions-constructs.resources==2.70.0
|
|
5
5
|
constructs<11.0.0,>=10.0.0
|
|
6
|
-
jsii<2.0.0,>=1.103.
|
|
6
|
+
jsii<2.0.0,>=1.103.1
|
|
7
7
|
publication>=0.0.3
|
|
8
8
|
typeguard<5.0.0,>=2.13.3
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|