aws-cdk.aws-lambda-python-alpha 2.152.0a0__tar.gz → 2.154.0a0__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-cdk.aws-lambda-python-alpha-2.152.0a0/src/aws_cdk.aws_lambda_python_alpha.egg-info → aws_cdk_aws_lambda_python_alpha-2.154.0a0}/PKG-INFO +6 -1
  2. {aws-cdk.aws-lambda-python-alpha-2.152.0a0 → aws_cdk_aws_lambda_python_alpha-2.154.0a0}/pyproject.toml +1 -1
  3. {aws-cdk.aws-lambda-python-alpha-2.152.0a0 → aws_cdk_aws_lambda_python_alpha-2.154.0a0}/setup.py +4 -4
  4. {aws-cdk.aws-lambda-python-alpha-2.152.0a0 → aws_cdk_aws_lambda_python_alpha-2.154.0a0}/src/aws_cdk/aws_lambda_python_alpha/__init__.py +24 -0
  5. {aws-cdk.aws-lambda-python-alpha-2.152.0a0 → aws_cdk_aws_lambda_python_alpha-2.154.0a0}/src/aws_cdk/aws_lambda_python_alpha/_jsii/__init__.py +2 -2
  6. aws_cdk_aws_lambda_python_alpha-2.154.0a0/src/aws_cdk/aws_lambda_python_alpha/_jsii/aws-lambda-python-alpha@2.154.0-alpha.0.jsii.tgz +0 -0
  7. {aws-cdk.aws-lambda-python-alpha-2.152.0a0 → aws_cdk_aws_lambda_python_alpha-2.154.0a0/src/aws_cdk.aws_lambda_python_alpha.egg-info}/PKG-INFO +6 -1
  8. {aws-cdk.aws-lambda-python-alpha-2.152.0a0 → aws_cdk_aws_lambda_python_alpha-2.154.0a0}/src/aws_cdk.aws_lambda_python_alpha.egg-info/SOURCES.txt +1 -1
  9. {aws-cdk.aws-lambda-python-alpha-2.152.0a0 → aws_cdk_aws_lambda_python_alpha-2.154.0a0}/src/aws_cdk.aws_lambda_python_alpha.egg-info/requires.txt +2 -2
  10. aws-cdk.aws-lambda-python-alpha-2.152.0a0/src/aws_cdk/aws_lambda_python_alpha/_jsii/aws-lambda-python-alpha@2.152.0-alpha.0.jsii.tgz +0 -0
  11. {aws-cdk.aws-lambda-python-alpha-2.152.0a0 → aws_cdk_aws_lambda_python_alpha-2.154.0a0}/LICENSE +0 -0
  12. {aws-cdk.aws-lambda-python-alpha-2.152.0a0 → aws_cdk_aws_lambda_python_alpha-2.154.0a0}/MANIFEST.in +0 -0
  13. {aws-cdk.aws-lambda-python-alpha-2.152.0a0 → aws_cdk_aws_lambda_python_alpha-2.154.0a0}/NOTICE +0 -0
  14. {aws-cdk.aws-lambda-python-alpha-2.152.0a0 → aws_cdk_aws_lambda_python_alpha-2.154.0a0}/README.md +0 -0
  15. {aws-cdk.aws-lambda-python-alpha-2.152.0a0 → aws_cdk_aws_lambda_python_alpha-2.154.0a0}/setup.cfg +0 -0
  16. {aws-cdk.aws-lambda-python-alpha-2.152.0a0 → aws_cdk_aws_lambda_python_alpha-2.154.0a0}/src/aws_cdk/aws_lambda_python_alpha/py.typed +0 -0
  17. {aws-cdk.aws-lambda-python-alpha-2.152.0a0 → aws_cdk_aws_lambda_python_alpha-2.154.0a0}/src/aws_cdk.aws_lambda_python_alpha.egg-info/dependency_links.txt +0 -0
  18. {aws-cdk.aws-lambda-python-alpha-2.152.0a0 → aws_cdk_aws_lambda_python_alpha-2.154.0a0}/src/aws_cdk.aws_lambda_python_alpha.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk.aws-lambda-python-alpha
3
- Version: 2.152.0a0
3
+ Version: 2.154.0a0
4
4
  Summary: The CDK Construct Library for AWS Lambda in Python
5
5
  Home-page: https://github.com/aws/aws-cdk
6
6
  Author: Amazon Web Services
@@ -23,6 +23,11 @@ Requires-Python: ~=3.8
23
23
  Description-Content-Type: text/markdown
24
24
  License-File: LICENSE
25
25
  License-File: NOTICE
26
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.154.0
27
+ Requires-Dist: constructs<11.0.0,>=10.0.0
28
+ Requires-Dist: jsii<2.0.0,>=1.102.0
29
+ Requires-Dist: publication>=0.0.3
30
+ Requires-Dist: typeguard~=2.13.3
26
31
 
27
32
  # Amazon Lambda Python Library
28
33
 
@@ -1,5 +1,5 @@
1
1
  [build-system]
2
- requires = ["setuptools~=67.3.2", "wheel~=0.42"]
2
+ requires = ["setuptools~=70.0.0", "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-cdk.aws-lambda-python-alpha",
8
- "version": "2.152.0.a0",
8
+ "version": "2.154.0.a0",
9
9
  "description": "The CDK Construct Library for AWS Lambda in Python",
10
10
  "license": "Apache-2.0",
11
11
  "url": "https://github.com/aws/aws-cdk",
@@ -26,7 +26,7 @@ kwargs = json.loads(
26
26
  ],
27
27
  "package_data": {
28
28
  "aws_cdk.aws_lambda_python_alpha._jsii": [
29
- "aws-lambda-python-alpha@2.152.0-alpha.0.jsii.tgz"
29
+ "aws-lambda-python-alpha@2.154.0-alpha.0.jsii.tgz"
30
30
  ],
31
31
  "aws_cdk.aws_lambda_python_alpha": [
32
32
  "py.typed"
@@ -34,9 +34,9 @@ kwargs = json.loads(
34
34
  },
35
35
  "python_requires": "~=3.8",
36
36
  "install_requires": [
37
- "aws-cdk-lib>=2.152.0, <3.0.0",
37
+ "aws-cdk-lib>=2.154.0, <3.0.0",
38
38
  "constructs>=10.0.0, <11.0.0",
39
- "jsii>=1.101.0, <2.0.0",
39
+ "jsii>=1.102.0, <2.0.0",
40
40
  "publication>=0.0.3",
41
41
  "typeguard~=2.13.3"
42
42
  ],
@@ -963,6 +963,7 @@ class PythonFunction(
963
963
  params_and_secrets: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion] = None,
964
964
  profiling: typing.Optional[builtins.bool] = None,
965
965
  profiling_group: typing.Optional[_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup] = None,
966
+ recursive_loop: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RecursiveLoop] = None,
966
967
  reserved_concurrent_executions: typing.Optional[jsii.Number] = None,
967
968
  role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
968
969
  runtime_management_mode: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode] = None,
@@ -1019,6 +1020,7 @@ class PythonFunction(
1019
1020
  :param params_and_secrets: Specify the configuration of Parameters and Secrets Extension. Default: - No Parameters and Secrets Extension
1020
1021
  :param profiling: Enable profiling. Default: - No profiling.
1021
1022
  :param profiling_group: Profiling Group. Default: - A new profiling group will be created if ``profiling`` is set.
1023
+ :param recursive_loop: Sets the Recursive Loop Protection for Lambda Function. It lets Lambda detect and terminate unintended recusrive loops. Default: RecursiveLoop.Terminate
1022
1024
  :param reserved_concurrent_executions: The maximum of concurrent executions you want to reserve for the function. Default: - No specific limit - account limit.
1023
1025
  :param role: Lambda execution role. This is the role that will be assumed by the function upon execution. It controls the permissions that the function will have. The Role must be assumable by the 'lambda.amazonaws.com' service principal. The default Role automatically has permissions granted for Lambda execution. If you provide a Role, you must add the relevant AWS managed policies yourself. The relevant managed policies are "service-role/AWSLambdaBasicExecutionRole" and "service-role/AWSLambdaVPCAccessExecutionRole". Default: - A unique role will be generated for this lambda function. Both supplied and generated roles can always be changed by calling ``addToRolePolicy``.
1024
1026
  :param runtime_management_mode: Sets the runtime management configuration for a function's version. Default: Auto
@@ -1079,6 +1081,7 @@ class PythonFunction(
1079
1081
  params_and_secrets=params_and_secrets,
1080
1082
  profiling=profiling,
1081
1083
  profiling_group=profiling_group,
1084
+ recursive_loop=recursive_loop,
1082
1085
  reserved_concurrent_executions=reserved_concurrent_executions,
1083
1086
  role=role,
1084
1087
  runtime_management_mode=runtime_management_mode,
@@ -1139,6 +1142,7 @@ class PythonFunction(
1139
1142
  "params_and_secrets": "paramsAndSecrets",
1140
1143
  "profiling": "profiling",
1141
1144
  "profiling_group": "profilingGroup",
1145
+ "recursive_loop": "recursiveLoop",
1142
1146
  "reserved_concurrent_executions": "reservedConcurrentExecutions",
1143
1147
  "role": "role",
1144
1148
  "runtime_management_mode": "runtimeManagementMode",
@@ -1197,6 +1201,7 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
1197
1201
  params_and_secrets: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion] = None,
1198
1202
  profiling: typing.Optional[builtins.bool] = None,
1199
1203
  profiling_group: typing.Optional[_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup] = None,
1204
+ recursive_loop: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RecursiveLoop] = None,
1200
1205
  reserved_concurrent_executions: typing.Optional[jsii.Number] = None,
1201
1206
  role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
1202
1207
  runtime_management_mode: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode] = None,
@@ -1252,6 +1257,7 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
1252
1257
  :param params_and_secrets: Specify the configuration of Parameters and Secrets Extension. Default: - No Parameters and Secrets Extension
1253
1258
  :param profiling: Enable profiling. Default: - No profiling.
1254
1259
  :param profiling_group: Profiling Group. Default: - A new profiling group will be created if ``profiling`` is set.
1260
+ :param recursive_loop: Sets the Recursive Loop Protection for Lambda Function. It lets Lambda detect and terminate unintended recusrive loops. Default: RecursiveLoop.Terminate
1255
1261
  :param reserved_concurrent_executions: The maximum of concurrent executions you want to reserve for the function. Default: - No specific limit - account limit.
1256
1262
  :param role: Lambda execution role. This is the role that will be assumed by the function upon execution. It controls the permissions that the function will have. The Role must be assumable by the 'lambda.amazonaws.com' service principal. The default Role automatically has permissions granted for Lambda execution. If you provide a Role, you must add the relevant AWS managed policies yourself. The relevant managed policies are "service-role/AWSLambdaBasicExecutionRole" and "service-role/AWSLambdaVPCAccessExecutionRole". Default: - A unique role will be generated for this lambda function. Both supplied and generated roles can always be changed by calling ``addToRolePolicy``.
1257
1263
  :param runtime_management_mode: Sets the runtime management configuration for a function's version. Default: Auto
@@ -1333,6 +1339,7 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
1333
1339
  check_type(argname="argument params_and_secrets", value=params_and_secrets, expected_type=type_hints["params_and_secrets"])
1334
1340
  check_type(argname="argument profiling", value=profiling, expected_type=type_hints["profiling"])
1335
1341
  check_type(argname="argument profiling_group", value=profiling_group, expected_type=type_hints["profiling_group"])
1342
+ check_type(argname="argument recursive_loop", value=recursive_loop, expected_type=type_hints["recursive_loop"])
1336
1343
  check_type(argname="argument reserved_concurrent_executions", value=reserved_concurrent_executions, expected_type=type_hints["reserved_concurrent_executions"])
1337
1344
  check_type(argname="argument role", value=role, expected_type=type_hints["role"])
1338
1345
  check_type(argname="argument runtime_management_mode", value=runtime_management_mode, expected_type=type_hints["runtime_management_mode"])
@@ -1425,6 +1432,8 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
1425
1432
  self._values["profiling"] = profiling
1426
1433
  if profiling_group is not None:
1427
1434
  self._values["profiling_group"] = profiling_group
1435
+ if recursive_loop is not None:
1436
+ self._values["recursive_loop"] = recursive_loop
1428
1437
  if reserved_concurrent_executions is not None:
1429
1438
  self._values["reserved_concurrent_executions"] = reserved_concurrent_executions
1430
1439
  if role is not None:
@@ -1905,6 +1914,19 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
1905
1914
  result = self._values.get("profiling_group")
1906
1915
  return typing.cast(typing.Optional[_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup], result)
1907
1916
 
1917
+ @builtins.property
1918
+ def recursive_loop(
1919
+ self,
1920
+ ) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RecursiveLoop]:
1921
+ '''Sets the Recursive Loop Protection for Lambda Function.
1922
+
1923
+ It lets Lambda detect and terminate unintended recusrive loops.
1924
+
1925
+ :default: RecursiveLoop.Terminate
1926
+ '''
1927
+ result = self._values.get("recursive_loop")
1928
+ return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RecursiveLoop], result)
1929
+
1908
1930
  @builtins.property
1909
1931
  def reserved_concurrent_executions(self) -> typing.Optional[jsii.Number]:
1910
1932
  '''The maximum of concurrent executions you want to reserve for the function.
@@ -2450,6 +2472,7 @@ def _typecheckingstub__5537a9d2877d6e8ff1275d2f45fdfd2900b726517ad0fa1c220fba47a
2450
2472
  params_and_secrets: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion] = None,
2451
2473
  profiling: typing.Optional[builtins.bool] = None,
2452
2474
  profiling_group: typing.Optional[_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup] = None,
2475
+ recursive_loop: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RecursiveLoop] = None,
2453
2476
  reserved_concurrent_executions: typing.Optional[jsii.Number] = None,
2454
2477
  role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
2455
2478
  runtime_management_mode: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode] = None,
@@ -2507,6 +2530,7 @@ def _typecheckingstub__637cd4e3d3f8768a5067bfaaca86ae334c7670354dabddcb67008214b
2507
2530
  params_and_secrets: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion] = None,
2508
2531
  profiling: typing.Optional[builtins.bool] = None,
2509
2532
  profiling_group: typing.Optional[_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup] = None,
2533
+ recursive_loop: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RecursiveLoop] = None,
2510
2534
  reserved_concurrent_executions: typing.Optional[jsii.Number] = None,
2511
2535
  role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
2512
2536
  runtime_management_mode: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode] = None,
@@ -18,9 +18,9 @@ import constructs._jsii
18
18
 
19
19
  __jsii_assembly__ = jsii.JSIIAssembly.load(
20
20
  "@aws-cdk/aws-lambda-python-alpha",
21
- "2.152.0-alpha.0",
21
+ "2.154.0-alpha.0",
22
22
  __name__[0:-6],
23
- "aws-lambda-python-alpha@2.152.0-alpha.0.jsii.tgz",
23
+ "aws-lambda-python-alpha@2.154.0-alpha.0.jsii.tgz",
24
24
  )
25
25
 
26
26
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk.aws-lambda-python-alpha
3
- Version: 2.152.0a0
3
+ Version: 2.154.0a0
4
4
  Summary: The CDK Construct Library for AWS Lambda in Python
5
5
  Home-page: https://github.com/aws/aws-cdk
6
6
  Author: Amazon Web Services
@@ -23,6 +23,11 @@ Requires-Python: ~=3.8
23
23
  Description-Content-Type: text/markdown
24
24
  License-File: LICENSE
25
25
  License-File: NOTICE
26
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.154.0
27
+ Requires-Dist: constructs<11.0.0,>=10.0.0
28
+ Requires-Dist: jsii<2.0.0,>=1.102.0
29
+ Requires-Dist: publication>=0.0.3
30
+ Requires-Dist: typeguard~=2.13.3
26
31
 
27
32
  # Amazon Lambda Python Library
28
33
 
@@ -12,4 +12,4 @@ src/aws_cdk.aws_lambda_python_alpha.egg-info/top_level.txt
12
12
  src/aws_cdk/aws_lambda_python_alpha/__init__.py
13
13
  src/aws_cdk/aws_lambda_python_alpha/py.typed
14
14
  src/aws_cdk/aws_lambda_python_alpha/_jsii/__init__.py
15
- src/aws_cdk/aws_lambda_python_alpha/_jsii/aws-lambda-python-alpha@2.152.0-alpha.0.jsii.tgz
15
+ src/aws_cdk/aws_lambda_python_alpha/_jsii/aws-lambda-python-alpha@2.154.0-alpha.0.jsii.tgz
@@ -1,5 +1,5 @@
1
- aws-cdk-lib<3.0.0,>=2.152.0
1
+ aws-cdk-lib<3.0.0,>=2.154.0
2
2
  constructs<11.0.0,>=10.0.0
3
- jsii<2.0.0,>=1.101.0
3
+ jsii<2.0.0,>=1.102.0
4
4
  publication>=0.0.3
5
5
  typeguard~=2.13.3