aws-solutions-constructs.aws-cloudfront-apigateway-lambda 2.79.0__tar.gz → 2.80.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.
Files changed (18) hide show
  1. {aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.79.0/src/aws_solutions_constructs.aws_cloudfront_apigateway_lambda.egg-info → aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.80.0}/PKG-INFO +5 -5
  2. {aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.79.0 → aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.80.0}/pyproject.toml +1 -1
  3. {aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.79.0 → aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.80.0}/setup.py +6 -6
  4. {aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.79.0 → aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.80.0}/src/aws_solutions_constructs/aws_cloudfront_apigateway_lambda/__init__.py +23 -0
  5. {aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.79.0 → aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.80.0}/src/aws_solutions_constructs/aws_cloudfront_apigateway_lambda/_jsii/__init__.py +2 -2
  6. aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.80.0/src/aws_solutions_constructs/aws_cloudfront_apigateway_lambda/_jsii/aws-cloudfront-apigateway-lambda@2.80.0.jsii.tgz +0 -0
  7. {aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.79.0 → aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.80.0/src/aws_solutions_constructs.aws_cloudfront_apigateway_lambda.egg-info}/PKG-INFO +5 -5
  8. {aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.79.0 → aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.80.0}/src/aws_solutions_constructs.aws_cloudfront_apigateway_lambda.egg-info/SOURCES.txt +1 -1
  9. aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.80.0/src/aws_solutions_constructs.aws_cloudfront_apigateway_lambda.egg-info/requires.txt +7 -0
  10. aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.79.0/src/aws_solutions_constructs/aws_cloudfront_apigateway_lambda/_jsii/aws-cloudfront-apigateway-lambda@2.79.0.jsii.tgz +0 -0
  11. aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.79.0/src/aws_solutions_constructs.aws_cloudfront_apigateway_lambda.egg-info/requires.txt +0 -7
  12. {aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.79.0 → aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.80.0}/LICENSE +0 -0
  13. {aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.79.0 → aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.80.0}/MANIFEST.in +0 -0
  14. {aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.79.0 → aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.80.0}/README.md +0 -0
  15. {aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.79.0 → aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.80.0}/setup.cfg +0 -0
  16. {aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.79.0 → aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.80.0}/src/aws_solutions_constructs/aws_cloudfront_apigateway_lambda/py.typed +0 -0
  17. {aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.79.0 → aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.80.0}/src/aws_solutions_constructs.aws_cloudfront_apigateway_lambda.egg-info/dependency_links.txt +0 -0
  18. {aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.79.0 → aws_solutions_constructs_aws_cloudfront_apigateway_lambda-2.80.0}/src/aws_solutions_constructs.aws_cloudfront_apigateway_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-cloudfront-apigateway-lambda
3
- Version: 2.79.0
3
+ Version: 2.80.0
4
4
  Summary: CDK Constructs for AWS Cloudfront to AWS API Gateway to AWS Lambda integration.
5
5
  Home-page: https://github.com/awslabs/aws-solutions-constructs.git
6
6
  Author: Amazon Web Services
@@ -18,11 +18,11 @@ 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.177.0
22
- Requires-Dist: aws-solutions-constructs.aws-cloudfront-apigateway==2.79.0
23
- Requires-Dist: aws-solutions-constructs.core==2.79.0
21
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.179.0
22
+ Requires-Dist: aws-solutions-constructs.aws-cloudfront-apigateway==2.80.0
23
+ Requires-Dist: aws-solutions-constructs.core==2.80.0
24
24
  Requires-Dist: constructs<11.0.0,>=10.0.0
25
- Requires-Dist: jsii<2.0.0,>=1.109.0
25
+ Requires-Dist: jsii<2.0.0,>=1.110.0
26
26
  Requires-Dist: publication>=0.0.3
27
27
  Requires-Dist: typeguard<4.3.0,>=2.13.3
28
28
 
@@ -1,5 +1,5 @@
1
1
  [build-system]
2
- requires = ["setuptools~=70.0.0", "wheel~=0.42"]
2
+ requires = ["setuptools~=75.3.2", "wheel~=0.42"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [tool.pyright]
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "aws-solutions-constructs.aws-cloudfront-apigateway-lambda",
8
- "version": "2.79.0",
8
+ "version": "2.80.0",
9
9
  "description": "CDK Constructs for AWS Cloudfront to AWS API Gateway to AWS Lambda integration.",
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_cloudfront_apigateway_lambda._jsii": [
29
- "aws-cloudfront-apigateway-lambda@2.79.0.jsii.tgz"
29
+ "aws-cloudfront-apigateway-lambda@2.80.0.jsii.tgz"
30
30
  ],
31
31
  "aws_solutions_constructs.aws_cloudfront_apigateway_lambda": [
32
32
  "py.typed"
@@ -34,11 +34,11 @@ kwargs = json.loads(
34
34
  },
35
35
  "python_requires": "~=3.9",
36
36
  "install_requires": [
37
- "aws-cdk-lib>=2.177.0, <3.0.0",
38
- "aws-solutions-constructs.aws-cloudfront-apigateway==2.79.0",
39
- "aws-solutions-constructs.core==2.79.0",
37
+ "aws-cdk-lib>=2.179.0, <3.0.0",
38
+ "aws-solutions-constructs.aws-cloudfront-apigateway==2.80.0",
39
+ "aws-solutions-constructs.core==2.80.0",
40
40
  "constructs>=10.0.0, <11.0.0",
41
- "jsii>=1.109.0, <2.0.0",
41
+ "jsii>=1.110.0, <2.0.0",
42
42
  "publication>=0.0.3",
43
43
  "typeguard>=2.13.3,<4.3.0"
44
44
  ],
@@ -222,6 +222,7 @@ class CloudFrontToApiGatewayToLambda(
222
222
  api_gateway_props: typing.Any,
223
223
  cloud_front_distribution_props: typing.Any = None,
224
224
  cloud_front_logging_bucket_props: typing.Optional[typing.Union[_aws_cdk_aws_s3_ceddda9d.BucketProps, typing.Dict[builtins.str, typing.Any]]] = None,
225
+ create_usage_plan: typing.Optional[builtins.bool] = None,
225
226
  existing_lambda_obj: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function] = None,
226
227
  insert_http_security_headers: typing.Optional[builtins.bool] = None,
227
228
  lambda_function_props: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.FunctionProps, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -234,6 +235,7 @@ class CloudFrontToApiGatewayToLambda(
234
235
  :param api_gateway_props: User provided props to override the default props for the API Gateway. As of release 2.48.0, clients must include this property with defaultMethodOptions: { authorizationType: string } specified. See Issue1043 in the github repo https://github.com/awslabs/aws-solutions-constructs/issues/1043 Default: - defaultMethodOptions/authorizationType is required, for other, unspecified values the default props are used
235
236
  :param cloud_front_distribution_props: Optional user provided props to override the default props. Default: - Default props are used
236
237
  :param cloud_front_logging_bucket_props: Optional user provided props to override the default props for the CloudFront Logging Bucket. Default: - Default props are used
238
+ :param create_usage_plan: Whether to create a Usage Plan attached to the API. Must be true if apiGatewayProps.defaultMethodOptions.apiKeyRequired is true Default: - true (to match legacy behavior)
237
239
  :param existing_lambda_obj: Existing instance of Lambda Function object, providing both this and ``lambdaFunctionProps`` will cause an error. Default: - None
238
240
  :param insert_http_security_headers: Optional user provided props to turn on/off the automatic injection of best practice HTTP security headers in all responses from cloudfront. Turning this on will inject default headers and is mutually exclusive with passing custom security headers via the responseHeadersPolicyProps parameter. Default: - true
239
241
  :param lambda_function_props: Optional user provided props to override the default props for the Lambda function. Default: - Default props are used
@@ -252,6 +254,7 @@ class CloudFrontToApiGatewayToLambda(
252
254
  api_gateway_props=api_gateway_props,
253
255
  cloud_front_distribution_props=cloud_front_distribution_props,
254
256
  cloud_front_logging_bucket_props=cloud_front_logging_bucket_props,
257
+ create_usage_plan=create_usage_plan,
255
258
  existing_lambda_obj=existing_lambda_obj,
256
259
  insert_http_security_headers=insert_http_security_headers,
257
260
  lambda_function_props=lambda_function_props,
@@ -312,6 +315,7 @@ class CloudFrontToApiGatewayToLambda(
312
315
  "api_gateway_props": "apiGatewayProps",
313
316
  "cloud_front_distribution_props": "cloudFrontDistributionProps",
314
317
  "cloud_front_logging_bucket_props": "cloudFrontLoggingBucketProps",
318
+ "create_usage_plan": "createUsagePlan",
315
319
  "existing_lambda_obj": "existingLambdaObj",
316
320
  "insert_http_security_headers": "insertHttpSecurityHeaders",
317
321
  "lambda_function_props": "lambdaFunctionProps",
@@ -326,6 +330,7 @@ class CloudFrontToApiGatewayToLambdaProps:
326
330
  api_gateway_props: typing.Any,
327
331
  cloud_front_distribution_props: typing.Any = None,
328
332
  cloud_front_logging_bucket_props: typing.Optional[typing.Union[_aws_cdk_aws_s3_ceddda9d.BucketProps, typing.Dict[builtins.str, typing.Any]]] = None,
333
+ create_usage_plan: typing.Optional[builtins.bool] = None,
329
334
  existing_lambda_obj: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function] = None,
330
335
  insert_http_security_headers: typing.Optional[builtins.bool] = None,
331
336
  lambda_function_props: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.FunctionProps, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -336,6 +341,7 @@ class CloudFrontToApiGatewayToLambdaProps:
336
341
  :param api_gateway_props: User provided props to override the default props for the API Gateway. As of release 2.48.0, clients must include this property with defaultMethodOptions: { authorizationType: string } specified. See Issue1043 in the github repo https://github.com/awslabs/aws-solutions-constructs/issues/1043 Default: - defaultMethodOptions/authorizationType is required, for other, unspecified values the default props are used
337
342
  :param cloud_front_distribution_props: Optional user provided props to override the default props. Default: - Default props are used
338
343
  :param cloud_front_logging_bucket_props: Optional user provided props to override the default props for the CloudFront Logging Bucket. Default: - Default props are used
344
+ :param create_usage_plan: Whether to create a Usage Plan attached to the API. Must be true if apiGatewayProps.defaultMethodOptions.apiKeyRequired is true Default: - true (to match legacy behavior)
339
345
  :param existing_lambda_obj: Existing instance of Lambda Function object, providing both this and ``lambdaFunctionProps`` will cause an error. Default: - None
340
346
  :param insert_http_security_headers: Optional user provided props to turn on/off the automatic injection of best practice HTTP security headers in all responses from cloudfront. Turning this on will inject default headers and is mutually exclusive with passing custom security headers via the responseHeadersPolicyProps parameter. Default: - true
341
347
  :param lambda_function_props: Optional user provided props to override the default props for the Lambda function. Default: - Default props are used
@@ -357,6 +363,7 @@ class CloudFrontToApiGatewayToLambdaProps:
357
363
  check_type(argname="argument api_gateway_props", value=api_gateway_props, expected_type=type_hints["api_gateway_props"])
358
364
  check_type(argname="argument cloud_front_distribution_props", value=cloud_front_distribution_props, expected_type=type_hints["cloud_front_distribution_props"])
359
365
  check_type(argname="argument cloud_front_logging_bucket_props", value=cloud_front_logging_bucket_props, expected_type=type_hints["cloud_front_logging_bucket_props"])
366
+ check_type(argname="argument create_usage_plan", value=create_usage_plan, expected_type=type_hints["create_usage_plan"])
360
367
  check_type(argname="argument existing_lambda_obj", value=existing_lambda_obj, expected_type=type_hints["existing_lambda_obj"])
361
368
  check_type(argname="argument insert_http_security_headers", value=insert_http_security_headers, expected_type=type_hints["insert_http_security_headers"])
362
369
  check_type(argname="argument lambda_function_props", value=lambda_function_props, expected_type=type_hints["lambda_function_props"])
@@ -369,6 +376,8 @@ class CloudFrontToApiGatewayToLambdaProps:
369
376
  self._values["cloud_front_distribution_props"] = cloud_front_distribution_props
370
377
  if cloud_front_logging_bucket_props is not None:
371
378
  self._values["cloud_front_logging_bucket_props"] = cloud_front_logging_bucket_props
379
+ if create_usage_plan is not None:
380
+ self._values["create_usage_plan"] = create_usage_plan
372
381
  if existing_lambda_obj is not None:
373
382
  self._values["existing_lambda_obj"] = existing_lambda_obj
374
383
  if insert_http_security_headers is not None:
@@ -417,6 +426,18 @@ class CloudFrontToApiGatewayToLambdaProps:
417
426
  result = self._values.get("cloud_front_logging_bucket_props")
418
427
  return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.BucketProps], result)
419
428
 
429
+ @builtins.property
430
+ def create_usage_plan(self) -> typing.Optional[builtins.bool]:
431
+ '''Whether to create a Usage Plan attached to the API.
432
+
433
+ Must be true if
434
+ apiGatewayProps.defaultMethodOptions.apiKeyRequired is true
435
+
436
+ :default: - true (to match legacy behavior)
437
+ '''
438
+ result = self._values.get("create_usage_plan")
439
+ return typing.cast(typing.Optional[builtins.bool], result)
440
+
420
441
  @builtins.property
421
442
  def existing_lambda_obj(
422
443
  self,
@@ -506,6 +527,7 @@ def _typecheckingstub__461316ff0e3f859e7f9f591a5b92a85dedccc24c1704e2e7c328642bf
506
527
  api_gateway_props: typing.Any,
507
528
  cloud_front_distribution_props: typing.Any = None,
508
529
  cloud_front_logging_bucket_props: typing.Optional[typing.Union[_aws_cdk_aws_s3_ceddda9d.BucketProps, typing.Dict[builtins.str, typing.Any]]] = None,
530
+ create_usage_plan: typing.Optional[builtins.bool] = None,
509
531
  existing_lambda_obj: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function] = None,
510
532
  insert_http_security_headers: typing.Optional[builtins.bool] = None,
511
533
  lambda_function_props: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.FunctionProps, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -520,6 +542,7 @@ def _typecheckingstub__ce72cd5951b6f82c649ba294f738b5af3f429f19b161a863f8dc35b18
520
542
  api_gateway_props: typing.Any,
521
543
  cloud_front_distribution_props: typing.Any = None,
522
544
  cloud_front_logging_bucket_props: typing.Optional[typing.Union[_aws_cdk_aws_s3_ceddda9d.BucketProps, typing.Dict[builtins.str, typing.Any]]] = None,
545
+ create_usage_plan: typing.Optional[builtins.bool] = None,
523
546
  existing_lambda_obj: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Function] = None,
524
547
  insert_http_security_headers: typing.Optional[builtins.bool] = None,
525
548
  lambda_function_props: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.FunctionProps, typing.Dict[builtins.str, typing.Any]]] = None,
@@ -35,9 +35,9 @@ import constructs._jsii
35
35
 
36
36
  __jsii_assembly__ = jsii.JSIIAssembly.load(
37
37
  "@aws-solutions-constructs/aws-cloudfront-apigateway-lambda",
38
- "2.79.0",
38
+ "2.80.0",
39
39
  __name__[0:-6],
40
- "aws-cloudfront-apigateway-lambda@2.79.0.jsii.tgz",
40
+ "aws-cloudfront-apigateway-lambda@2.80.0.jsii.tgz",
41
41
  )
42
42
 
43
43
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-solutions-constructs.aws-cloudfront-apigateway-lambda
3
- Version: 2.79.0
3
+ Version: 2.80.0
4
4
  Summary: CDK Constructs for AWS Cloudfront to AWS API Gateway to AWS Lambda integration.
5
5
  Home-page: https://github.com/awslabs/aws-solutions-constructs.git
6
6
  Author: Amazon Web Services
@@ -18,11 +18,11 @@ 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.177.0
22
- Requires-Dist: aws-solutions-constructs.aws-cloudfront-apigateway==2.79.0
23
- Requires-Dist: aws-solutions-constructs.core==2.79.0
21
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.179.0
22
+ Requires-Dist: aws-solutions-constructs.aws-cloudfront-apigateway==2.80.0
23
+ Requires-Dist: aws-solutions-constructs.core==2.80.0
24
24
  Requires-Dist: constructs<11.0.0,>=10.0.0
25
- Requires-Dist: jsii<2.0.0,>=1.109.0
25
+ Requires-Dist: jsii<2.0.0,>=1.110.0
26
26
  Requires-Dist: publication>=0.0.3
27
27
  Requires-Dist: typeguard<4.3.0,>=2.13.3
28
28
 
@@ -11,4 +11,4 @@ src/aws_solutions_constructs.aws_cloudfront_apigateway_lambda.egg-info/top_level
11
11
  src/aws_solutions_constructs/aws_cloudfront_apigateway_lambda/__init__.py
12
12
  src/aws_solutions_constructs/aws_cloudfront_apigateway_lambda/py.typed
13
13
  src/aws_solutions_constructs/aws_cloudfront_apigateway_lambda/_jsii/__init__.py
14
- src/aws_solutions_constructs/aws_cloudfront_apigateway_lambda/_jsii/aws-cloudfront-apigateway-lambda@2.79.0.jsii.tgz
14
+ src/aws_solutions_constructs/aws_cloudfront_apigateway_lambda/_jsii/aws-cloudfront-apigateway-lambda@2.80.0.jsii.tgz
@@ -0,0 +1,7 @@
1
+ aws-cdk-lib<3.0.0,>=2.179.0
2
+ aws-solutions-constructs.aws-cloudfront-apigateway==2.80.0
3
+ aws-solutions-constructs.core==2.80.0
4
+ constructs<11.0.0,>=10.0.0
5
+ jsii<2.0.0,>=1.110.0
6
+ publication>=0.0.3
7
+ typeguard<4.3.0,>=2.13.3
@@ -1,7 +0,0 @@
1
- aws-cdk-lib<3.0.0,>=2.177.0
2
- aws-solutions-constructs.aws-cloudfront-apigateway==2.79.0
3
- aws-solutions-constructs.core==2.79.0
4
- constructs<11.0.0,>=10.0.0
5
- jsii<2.0.0,>=1.109.0
6
- publication>=0.0.3
7
- typeguard<4.3.0,>=2.13.3