aws-solutions-constructs.aws-openapigateway-lambda 2.99.0__tar.gz → 2.100.1__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.99.0/src/aws_solutions_constructs.aws_openapigateway_lambda.egg-info → aws_solutions_constructs_aws_openapigateway_lambda-2.100.1}/PKG-INFO +6 -6
- {aws_solutions_constructs_aws_openapigateway_lambda-2.99.0 → aws_solutions_constructs_aws_openapigateway_lambda-2.100.1}/setup.py +7 -7
- {aws_solutions_constructs_aws_openapigateway_lambda-2.99.0 → aws_solutions_constructs_aws_openapigateway_lambda-2.100.1}/src/aws_solutions_constructs/aws_openapigateway_lambda/__init__.py +49 -45
- {aws_solutions_constructs_aws_openapigateway_lambda-2.99.0 → aws_solutions_constructs_aws_openapigateway_lambda-2.100.1}/src/aws_solutions_constructs/aws_openapigateway_lambda/_jsii/__init__.py +2 -2
- aws_solutions_constructs_aws_openapigateway_lambda-2.100.1/src/aws_solutions_constructs/aws_openapigateway_lambda/_jsii/aws-openapigateway-lambda@2.100.1.jsii.tgz +0 -0
- {aws_solutions_constructs_aws_openapigateway_lambda-2.99.0 → aws_solutions_constructs_aws_openapigateway_lambda-2.100.1/src/aws_solutions_constructs.aws_openapigateway_lambda.egg-info}/PKG-INFO +6 -6
- {aws_solutions_constructs_aws_openapigateway_lambda-2.99.0 → aws_solutions_constructs_aws_openapigateway_lambda-2.100.1}/src/aws_solutions_constructs.aws_openapigateway_lambda.egg-info/SOURCES.txt +1 -1
- aws_solutions_constructs_aws_openapigateway_lambda-2.100.1/src/aws_solutions_constructs.aws_openapigateway_lambda.egg-info/requires.txt +7 -0
- aws_solutions_constructs_aws_openapigateway_lambda-2.99.0/src/aws_solutions_constructs/aws_openapigateway_lambda/_jsii/aws-openapigateway-lambda@2.99.0.jsii.tgz +0 -0
- aws_solutions_constructs_aws_openapigateway_lambda-2.99.0/src/aws_solutions_constructs.aws_openapigateway_lambda.egg-info/requires.txt +0 -7
- {aws_solutions_constructs_aws_openapigateway_lambda-2.99.0 → aws_solutions_constructs_aws_openapigateway_lambda-2.100.1}/LICENSE +0 -0
- {aws_solutions_constructs_aws_openapigateway_lambda-2.99.0 → aws_solutions_constructs_aws_openapigateway_lambda-2.100.1}/MANIFEST.in +0 -0
- {aws_solutions_constructs_aws_openapigateway_lambda-2.99.0 → aws_solutions_constructs_aws_openapigateway_lambda-2.100.1}/README.md +0 -0
- {aws_solutions_constructs_aws_openapigateway_lambda-2.99.0 → aws_solutions_constructs_aws_openapigateway_lambda-2.100.1}/pyproject.toml +0 -0
- {aws_solutions_constructs_aws_openapigateway_lambda-2.99.0 → aws_solutions_constructs_aws_openapigateway_lambda-2.100.1}/setup.cfg +0 -0
- {aws_solutions_constructs_aws_openapigateway_lambda-2.99.0 → aws_solutions_constructs_aws_openapigateway_lambda-2.100.1}/src/aws_solutions_constructs/aws_openapigateway_lambda/py.typed +0 -0
- {aws_solutions_constructs_aws_openapigateway_lambda-2.99.0 → aws_solutions_constructs_aws_openapigateway_lambda-2.100.1}/src/aws_solutions_constructs.aws_openapigateway_lambda.egg-info/dependency_links.txt +0 -0
- {aws_solutions_constructs_aws_openapigateway_lambda-2.99.0 → aws_solutions_constructs_aws_openapigateway_lambda-2.100.1}/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.100.1
|
|
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
|
|
@@ -18,12 +18,12 @@ Classifier: License :: OSI Approved
|
|
|
18
18
|
Requires-Python: ~=3.9
|
|
19
19
|
Description-Content-Type: text/markdown
|
|
20
20
|
License-File: LICENSE
|
|
21
|
-
Requires-Dist: aws-cdk-lib<3.0.0,>=2.
|
|
22
|
-
Requires-Dist: aws-solutions-constructs.core==2.
|
|
23
|
-
Requires-Dist: aws-solutions-constructs.resources==2.
|
|
21
|
+
Requires-Dist: aws-cdk-lib<3.0.0,>=2.239.0
|
|
22
|
+
Requires-Dist: aws-solutions-constructs.core==2.100.1
|
|
23
|
+
Requires-Dist: aws-solutions-constructs.resources==2.100.1
|
|
24
24
|
Requires-Dist: constructs<11.0.0,>=10.0.0
|
|
25
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
|
25
|
+
Requires-Dist: jsii<2.0.0,>=1.126.0
|
|
26
26
|
Requires-Dist: publication>=0.0.3
|
|
27
|
-
Requires-Dist: typeguard
|
|
27
|
+
Requires-Dist: typeguard==2.13.3
|
|
28
28
|
|
|
29
29
|
Documentation for this pattern can be found [here](https://github.com/awslabs/aws-solutions-constructs/blob/main/source/patterns/%40aws-solutions-constructs/aws-openapigateway-lambda/README.adoc)
|
|
@@ -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.100.1",
|
|
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.100.1.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"aws_solutions_constructs.aws_openapigateway_lambda": [
|
|
32
32
|
"py.typed"
|
|
@@ -34,13 +34,13 @@ kwargs = json.loads(
|
|
|
34
34
|
},
|
|
35
35
|
"python_requires": "~=3.9",
|
|
36
36
|
"install_requires": [
|
|
37
|
-
"aws-cdk-lib>=2.
|
|
38
|
-
"aws-solutions-constructs.core==2.
|
|
39
|
-
"aws-solutions-constructs.resources==2.
|
|
37
|
+
"aws-cdk-lib>=2.239.0, <3.0.0",
|
|
38
|
+
"aws-solutions-constructs.core==2.100.1",
|
|
39
|
+
"aws-solutions-constructs.resources==2.100.1",
|
|
40
40
|
"constructs>=10.0.0, <11.0.0",
|
|
41
|
-
"jsii>=1.
|
|
41
|
+
"jsii>=1.126.0, <2.0.0",
|
|
42
42
|
"publication>=0.0.3",
|
|
43
|
-
"typeguard
|
|
43
|
+
"typeguard==2.13.3"
|
|
44
44
|
],
|
|
45
45
|
"classifiers": [
|
|
46
46
|
"Intended Audience :: Developers",
|
|
@@ -57,8 +57,8 @@ class ApiIntegration:
|
|
|
57
57
|
self,
|
|
58
58
|
*,
|
|
59
59
|
id: builtins.str,
|
|
60
|
-
existing_lambda_obj: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.Function, _aws_cdk_aws_lambda_ceddda9d.Alias]] = None,
|
|
61
|
-
lambda_function_props: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.FunctionProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
60
|
+
existing_lambda_obj: typing.Optional[typing.Union["_aws_cdk_aws_lambda_ceddda9d.Function", "_aws_cdk_aws_lambda_ceddda9d.Alias"]] = None,
|
|
61
|
+
lambda_function_props: typing.Optional[typing.Union["_aws_cdk_aws_lambda_ceddda9d.FunctionProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
62
62
|
) -> None:
|
|
63
63
|
'''The ApiIntegration interface is used to correlate a user-specified id with either a existing lambda function or set of lambda props.
|
|
64
64
|
|
|
@@ -96,24 +96,24 @@ class ApiIntegration:
|
|
|
96
96
|
@builtins.property
|
|
97
97
|
def existing_lambda_obj(
|
|
98
98
|
self,
|
|
99
|
-
) -> typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.Function, _aws_cdk_aws_lambda_ceddda9d.Alias]]:
|
|
99
|
+
) -> typing.Optional[typing.Union["_aws_cdk_aws_lambda_ceddda9d.Function", "_aws_cdk_aws_lambda_ceddda9d.Alias"]]:
|
|
100
100
|
'''The Lambda function to associate with the API method in the OpenAPI file matched by id.
|
|
101
101
|
|
|
102
102
|
One and only one of existingLambdaObj or lambdaFunctionProps must be specified, any other combination will cause an error.
|
|
103
103
|
'''
|
|
104
104
|
result = self._values.get("existing_lambda_obj")
|
|
105
|
-
return typing.cast(typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.Function, _aws_cdk_aws_lambda_ceddda9d.Alias]], result)
|
|
105
|
+
return typing.cast(typing.Optional[typing.Union["_aws_cdk_aws_lambda_ceddda9d.Function", "_aws_cdk_aws_lambda_ceddda9d.Alias"]], result)
|
|
106
106
|
|
|
107
107
|
@builtins.property
|
|
108
108
|
def lambda_function_props(
|
|
109
109
|
self,
|
|
110
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.FunctionProps]:
|
|
110
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.FunctionProps"]:
|
|
111
111
|
'''Properties for the Lambda function to create and associate with the API method in the OpenAPI file matched by id.
|
|
112
112
|
|
|
113
113
|
One and only one of existingLambdaObj or lambdaFunctionProps must be specified, any other combination will cause an error.
|
|
114
114
|
'''
|
|
115
115
|
result = self._values.get("lambda_function_props")
|
|
116
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.FunctionProps], result)
|
|
116
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.FunctionProps"], result)
|
|
117
117
|
|
|
118
118
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
119
119
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -141,8 +141,8 @@ class ApiLambdaFunction:
|
|
|
141
141
|
self,
|
|
142
142
|
*,
|
|
143
143
|
id: builtins.str,
|
|
144
|
-
function_alias: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Alias] = None,
|
|
145
|
-
lambda_function: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function] = None,
|
|
144
|
+
function_alias: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Alias"] = None,
|
|
145
|
+
lambda_function: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Function"] = None,
|
|
146
146
|
) -> None:
|
|
147
147
|
'''Helper object to map an ApiIntegration id to its resolved lambda.Function. This type is exposed as a property on the instantiated construct.
|
|
148
148
|
|
|
@@ -171,15 +171,17 @@ class ApiLambdaFunction:
|
|
|
171
171
|
return typing.cast(builtins.str, result)
|
|
172
172
|
|
|
173
173
|
@builtins.property
|
|
174
|
-
def function_alias(self) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Alias]:
|
|
174
|
+
def function_alias(self) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Alias"]:
|
|
175
175
|
result = self._values.get("function_alias")
|
|
176
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Alias], result)
|
|
176
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Alias"], result)
|
|
177
177
|
|
|
178
178
|
@builtins.property
|
|
179
|
-
def lambda_function(
|
|
179
|
+
def lambda_function(
|
|
180
|
+
self,
|
|
181
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Function"]:
|
|
180
182
|
'''The function the API method will integrate with - Must be defined in lambdaFunction or functionAlias (but not both).'''
|
|
181
183
|
result = self._values.get("lambda_function")
|
|
182
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function], result)
|
|
184
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Function"], result)
|
|
183
185
|
|
|
184
186
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
185
187
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -200,18 +202,18 @@ class OpenApiGatewayToLambda(
|
|
|
200
202
|
):
|
|
201
203
|
def __init__(
|
|
202
204
|
self,
|
|
203
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
205
|
+
scope: "_constructs_77d1e7e8.Construct",
|
|
204
206
|
id: builtins.str,
|
|
205
207
|
*,
|
|
206
|
-
api_integrations: typing.Sequence[typing.Union[ApiIntegration, typing.Dict[builtins.str, typing.Any]]],
|
|
207
|
-
api_definition_asset: typing.Optional[_aws_cdk_aws_s3_assets_ceddda9d.Asset] = None,
|
|
208
|
-
api_definition_bucket: typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket] = None,
|
|
208
|
+
api_integrations: typing.Sequence[typing.Union["ApiIntegration", typing.Dict[builtins.str, typing.Any]]],
|
|
209
|
+
api_definition_asset: typing.Optional["_aws_cdk_aws_s3_assets_ceddda9d.Asset"] = None,
|
|
210
|
+
api_definition_bucket: typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"] = None,
|
|
209
211
|
api_definition_json: typing.Any = None,
|
|
210
212
|
api_definition_key: typing.Optional[builtins.str] = None,
|
|
211
|
-
api_gateway_props: typing.Optional[typing.Union[_aws_cdk_aws_apigateway_ceddda9d.RestApiBaseProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
213
|
+
api_gateway_props: typing.Optional[typing.Union["_aws_cdk_aws_apigateway_ceddda9d.RestApiBaseProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
212
214
|
internal_transform_memory_size: typing.Optional[jsii.Number] = None,
|
|
213
|
-
internal_transform_timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
214
|
-
log_group_props: typing.Optional[typing.Union[_aws_cdk_aws_logs_ceddda9d.LogGroupProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
215
|
+
internal_transform_timeout: typing.Optional["_aws_cdk_ceddda9d.Duration"] = None,
|
|
216
|
+
log_group_props: typing.Optional[typing.Union["_aws_cdk_aws_logs_ceddda9d.LogGroupProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
215
217
|
) -> None:
|
|
216
218
|
'''
|
|
217
219
|
:param scope: -
|
|
@@ -246,25 +248,25 @@ class OpenApiGatewayToLambda(
|
|
|
246
248
|
|
|
247
249
|
@builtins.property
|
|
248
250
|
@jsii.member(jsii_name="apiGateway")
|
|
249
|
-
def api_gateway(self) -> _aws_cdk_aws_apigateway_ceddda9d.SpecRestApi:
|
|
250
|
-
return typing.cast(_aws_cdk_aws_apigateway_ceddda9d.SpecRestApi, jsii.get(self, "apiGateway"))
|
|
251
|
+
def api_gateway(self) -> "_aws_cdk_aws_apigateway_ceddda9d.SpecRestApi":
|
|
252
|
+
return typing.cast("_aws_cdk_aws_apigateway_ceddda9d.SpecRestApi", jsii.get(self, "apiGateway"))
|
|
251
253
|
|
|
252
254
|
@builtins.property
|
|
253
255
|
@jsii.member(jsii_name="apiGatewayLogGroup")
|
|
254
|
-
def api_gateway_log_group(self) -> _aws_cdk_aws_logs_ceddda9d.LogGroup:
|
|
255
|
-
return typing.cast(_aws_cdk_aws_logs_ceddda9d.LogGroup, jsii.get(self, "apiGatewayLogGroup"))
|
|
256
|
+
def api_gateway_log_group(self) -> "_aws_cdk_aws_logs_ceddda9d.LogGroup":
|
|
257
|
+
return typing.cast("_aws_cdk_aws_logs_ceddda9d.LogGroup", jsii.get(self, "apiGatewayLogGroup"))
|
|
256
258
|
|
|
257
259
|
@builtins.property
|
|
258
260
|
@jsii.member(jsii_name="apiLambdaFunctions")
|
|
259
|
-
def api_lambda_functions(self) -> typing.List[ApiLambdaFunction]:
|
|
260
|
-
return typing.cast(typing.List[ApiLambdaFunction], jsii.get(self, "apiLambdaFunctions"))
|
|
261
|
+
def api_lambda_functions(self) -> typing.List["ApiLambdaFunction"]:
|
|
262
|
+
return typing.cast(typing.List["ApiLambdaFunction"], jsii.get(self, "apiLambdaFunctions"))
|
|
261
263
|
|
|
262
264
|
@builtins.property
|
|
263
265
|
@jsii.member(jsii_name="apiGatewayCloudWatchRole")
|
|
264
266
|
def api_gateway_cloud_watch_role(
|
|
265
267
|
self,
|
|
266
|
-
) -> typing.Optional[_aws_cdk_aws_iam_ceddda9d.Role]:
|
|
267
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_iam_ceddda9d.Role], jsii.get(self, "apiGatewayCloudWatchRole"))
|
|
268
|
+
) -> typing.Optional["_aws_cdk_aws_iam_ceddda9d.Role"]:
|
|
269
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_iam_ceddda9d.Role"], jsii.get(self, "apiGatewayCloudWatchRole"))
|
|
268
270
|
|
|
269
271
|
|
|
270
272
|
@jsii.data_type(
|
|
@@ -286,15 +288,15 @@ class OpenApiGatewayToLambdaProps:
|
|
|
286
288
|
def __init__(
|
|
287
289
|
self,
|
|
288
290
|
*,
|
|
289
|
-
api_integrations: typing.Sequence[typing.Union[ApiIntegration, typing.Dict[builtins.str, typing.Any]]],
|
|
290
|
-
api_definition_asset: typing.Optional[_aws_cdk_aws_s3_assets_ceddda9d.Asset] = None,
|
|
291
|
-
api_definition_bucket: typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket] = None,
|
|
291
|
+
api_integrations: typing.Sequence[typing.Union["ApiIntegration", typing.Dict[builtins.str, typing.Any]]],
|
|
292
|
+
api_definition_asset: typing.Optional["_aws_cdk_aws_s3_assets_ceddda9d.Asset"] = None,
|
|
293
|
+
api_definition_bucket: typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"] = None,
|
|
292
294
|
api_definition_json: typing.Any = None,
|
|
293
295
|
api_definition_key: typing.Optional[builtins.str] = None,
|
|
294
|
-
api_gateway_props: typing.Optional[typing.Union[_aws_cdk_aws_apigateway_ceddda9d.RestApiBaseProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
296
|
+
api_gateway_props: typing.Optional[typing.Union["_aws_cdk_aws_apigateway_ceddda9d.RestApiBaseProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
295
297
|
internal_transform_memory_size: typing.Optional[jsii.Number] = None,
|
|
296
|
-
internal_transform_timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
297
|
-
log_group_props: typing.Optional[typing.Union[_aws_cdk_aws_logs_ceddda9d.LogGroupProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
298
|
+
internal_transform_timeout: typing.Optional["_aws_cdk_ceddda9d.Duration"] = None,
|
|
299
|
+
log_group_props: typing.Optional[typing.Union["_aws_cdk_aws_logs_ceddda9d.LogGroupProps", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
298
300
|
) -> None:
|
|
299
301
|
'''
|
|
300
302
|
: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``), }) } ]
|
|
@@ -343,7 +345,7 @@ class OpenApiGatewayToLambdaProps:
|
|
|
343
345
|
self._values["log_group_props"] = log_group_props
|
|
344
346
|
|
|
345
347
|
@builtins.property
|
|
346
|
-
def api_integrations(self) -> typing.List[ApiIntegration]:
|
|
348
|
+
def api_integrations(self) -> typing.List["ApiIntegration"]:
|
|
347
349
|
'''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.
|
|
348
350
|
|
|
349
351
|
Example:
|
|
@@ -368,26 +370,26 @@ class OpenApiGatewayToLambdaProps:
|
|
|
368
370
|
'''
|
|
369
371
|
result = self._values.get("api_integrations")
|
|
370
372
|
assert result is not None, "Required property 'api_integrations' is missing"
|
|
371
|
-
return typing.cast(typing.List[ApiIntegration], result)
|
|
373
|
+
return typing.cast(typing.List["ApiIntegration"], result)
|
|
372
374
|
|
|
373
375
|
@builtins.property
|
|
374
376
|
def api_definition_asset(
|
|
375
377
|
self,
|
|
376
|
-
) -> typing.Optional[_aws_cdk_aws_s3_assets_ceddda9d.Asset]:
|
|
378
|
+
) -> typing.Optional["_aws_cdk_aws_s3_assets_ceddda9d.Asset"]:
|
|
377
379
|
'''Local file asset of the OpenAPI spec file.'''
|
|
378
380
|
result = self._values.get("api_definition_asset")
|
|
379
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_assets_ceddda9d.Asset], result)
|
|
381
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_assets_ceddda9d.Asset"], result)
|
|
380
382
|
|
|
381
383
|
@builtins.property
|
|
382
384
|
def api_definition_bucket(
|
|
383
385
|
self,
|
|
384
|
-
) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket]:
|
|
386
|
+
) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"]:
|
|
385
387
|
'''S3 Bucket where the OpenAPI spec file is located.
|
|
386
388
|
|
|
387
389
|
When specifying this property, apiDefinitionKey must also be specified.
|
|
388
390
|
'''
|
|
389
391
|
result = self._values.get("api_definition_bucket")
|
|
390
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.IBucket], result)
|
|
392
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.IBucket"], result)
|
|
391
393
|
|
|
392
394
|
@builtins.property
|
|
393
395
|
def api_definition_json(self) -> typing.Any:
|
|
@@ -412,13 +414,13 @@ class OpenApiGatewayToLambdaProps:
|
|
|
412
414
|
@builtins.property
|
|
413
415
|
def api_gateway_props(
|
|
414
416
|
self,
|
|
415
|
-
) -> typing.Optional[_aws_cdk_aws_apigateway_ceddda9d.RestApiBaseProps]:
|
|
417
|
+
) -> typing.Optional["_aws_cdk_aws_apigateway_ceddda9d.RestApiBaseProps"]:
|
|
416
418
|
'''Optional user-provided props to override the default props for the API.
|
|
417
419
|
|
|
418
420
|
:default: - Default props are used.
|
|
419
421
|
'''
|
|
420
422
|
result = self._values.get("api_gateway_props")
|
|
421
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_apigateway_ceddda9d.RestApiBaseProps], result)
|
|
423
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_apigateway_ceddda9d.RestApiBaseProps"], result)
|
|
422
424
|
|
|
423
425
|
@builtins.property
|
|
424
426
|
def internal_transform_memory_size(self) -> typing.Optional[jsii.Number]:
|
|
@@ -434,7 +436,9 @@ class OpenApiGatewayToLambdaProps:
|
|
|
434
436
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
435
437
|
|
|
436
438
|
@builtins.property
|
|
437
|
-
def internal_transform_timeout(
|
|
439
|
+
def internal_transform_timeout(
|
|
440
|
+
self,
|
|
441
|
+
) -> typing.Optional["_aws_cdk_ceddda9d.Duration"]:
|
|
438
442
|
'''Optional user-defined timeout for the Lambda function custom resource installed to do the OpenAPI definition transformation.
|
|
439
443
|
|
|
440
444
|
This setting does not affect the deployed architecture - only the ability for the Construct to complete its work.
|
|
@@ -444,18 +448,18 @@ class OpenApiGatewayToLambdaProps:
|
|
|
444
448
|
:default: Duration.minutes(1)
|
|
445
449
|
'''
|
|
446
450
|
result = self._values.get("internal_transform_timeout")
|
|
447
|
-
return typing.cast(typing.Optional[_aws_cdk_ceddda9d.Duration], result)
|
|
451
|
+
return typing.cast(typing.Optional["_aws_cdk_ceddda9d.Duration"], result)
|
|
448
452
|
|
|
449
453
|
@builtins.property
|
|
450
454
|
def log_group_props(
|
|
451
455
|
self,
|
|
452
|
-
) -> typing.Optional[_aws_cdk_aws_logs_ceddda9d.LogGroupProps]:
|
|
456
|
+
) -> typing.Optional["_aws_cdk_aws_logs_ceddda9d.LogGroupProps"]:
|
|
453
457
|
'''User provided props to override the default props for the CloudWatchLogs LogGroup.
|
|
454
458
|
|
|
455
459
|
:default: - Default props are used
|
|
456
460
|
'''
|
|
457
461
|
result = self._values.get("log_group_props")
|
|
458
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_logs_ceddda9d.LogGroupProps], result)
|
|
462
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_logs_ceddda9d.LogGroupProps"], result)
|
|
459
463
|
|
|
460
464
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
461
465
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -35,9 +35,9 @@ import constructs._jsii
|
|
|
35
35
|
|
|
36
36
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
37
37
|
"@aws-solutions-constructs/aws-openapigateway-lambda",
|
|
38
|
-
"2.
|
|
38
|
+
"2.100.1",
|
|
39
39
|
__name__[0:-6],
|
|
40
|
-
"aws-openapigateway-lambda@2.
|
|
40
|
+
"aws-openapigateway-lambda@2.100.1.jsii.tgz",
|
|
41
41
|
)
|
|
42
42
|
|
|
43
43
|
__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.100.1
|
|
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
|
|
@@ -18,12 +18,12 @@ Classifier: License :: OSI Approved
|
|
|
18
18
|
Requires-Python: ~=3.9
|
|
19
19
|
Description-Content-Type: text/markdown
|
|
20
20
|
License-File: LICENSE
|
|
21
|
-
Requires-Dist: aws-cdk-lib<3.0.0,>=2.
|
|
22
|
-
Requires-Dist: aws-solutions-constructs.core==2.
|
|
23
|
-
Requires-Dist: aws-solutions-constructs.resources==2.
|
|
21
|
+
Requires-Dist: aws-cdk-lib<3.0.0,>=2.239.0
|
|
22
|
+
Requires-Dist: aws-solutions-constructs.core==2.100.1
|
|
23
|
+
Requires-Dist: aws-solutions-constructs.resources==2.100.1
|
|
24
24
|
Requires-Dist: constructs<11.0.0,>=10.0.0
|
|
25
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
|
25
|
+
Requires-Dist: jsii<2.0.0,>=1.126.0
|
|
26
26
|
Requires-Dist: publication>=0.0.3
|
|
27
|
-
Requires-Dist: typeguard
|
|
27
|
+
Requires-Dist: typeguard==2.13.3
|
|
28
28
|
|
|
29
29
|
Documentation for this pattern can be found [here](https://github.com/awslabs/aws-solutions-constructs/blob/main/source/patterns/%40aws-solutions-constructs/aws-openapigateway-lambda/README.adoc)
|
|
@@ -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.100.1.jsii.tgz
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|