aws-cdk.aws-lambda-python-alpha 2.231.0a0__tar.gz → 2.232.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 (19) hide show
  1. {aws_cdk_aws_lambda_python_alpha-2.231.0a0/src/aws_cdk.aws_lambda_python_alpha.egg-info → aws_cdk_aws_lambda_python_alpha-2.232.0a0}/PKG-INFO +4 -4
  2. {aws_cdk_aws_lambda_python_alpha-2.231.0a0 → aws_cdk_aws_lambda_python_alpha-2.232.0a0}/setup.py +5 -5
  3. {aws_cdk_aws_lambda_python_alpha-2.231.0a0 → aws_cdk_aws_lambda_python_alpha-2.232.0a0}/src/aws_cdk/aws_lambda_python_alpha/__init__.py +27 -0
  4. {aws_cdk_aws_lambda_python_alpha-2.231.0a0 → aws_cdk_aws_lambda_python_alpha-2.232.0a0}/src/aws_cdk/aws_lambda_python_alpha/_jsii/__init__.py +2 -2
  5. aws_cdk_aws_lambda_python_alpha-2.232.0a0/src/aws_cdk/aws_lambda_python_alpha/_jsii/aws-lambda-python-alpha@2.232.0-alpha.0.jsii.tgz +0 -0
  6. {aws_cdk_aws_lambda_python_alpha-2.231.0a0 → aws_cdk_aws_lambda_python_alpha-2.232.0a0/src/aws_cdk.aws_lambda_python_alpha.egg-info}/PKG-INFO +4 -4
  7. {aws_cdk_aws_lambda_python_alpha-2.231.0a0 → aws_cdk_aws_lambda_python_alpha-2.232.0a0}/src/aws_cdk.aws_lambda_python_alpha.egg-info/SOURCES.txt +1 -1
  8. aws_cdk_aws_lambda_python_alpha-2.232.0a0/src/aws_cdk.aws_lambda_python_alpha.egg-info/requires.txt +5 -0
  9. aws_cdk_aws_lambda_python_alpha-2.231.0a0/src/aws_cdk/aws_lambda_python_alpha/_jsii/aws-lambda-python-alpha@2.231.0-alpha.0.jsii.tgz +0 -0
  10. aws_cdk_aws_lambda_python_alpha-2.231.0a0/src/aws_cdk.aws_lambda_python_alpha.egg-info/requires.txt +0 -5
  11. {aws_cdk_aws_lambda_python_alpha-2.231.0a0 → aws_cdk_aws_lambda_python_alpha-2.232.0a0}/LICENSE +0 -0
  12. {aws_cdk_aws_lambda_python_alpha-2.231.0a0 → aws_cdk_aws_lambda_python_alpha-2.232.0a0}/MANIFEST.in +0 -0
  13. {aws_cdk_aws_lambda_python_alpha-2.231.0a0 → aws_cdk_aws_lambda_python_alpha-2.232.0a0}/NOTICE +0 -0
  14. {aws_cdk_aws_lambda_python_alpha-2.231.0a0 → aws_cdk_aws_lambda_python_alpha-2.232.0a0}/README.md +0 -0
  15. {aws_cdk_aws_lambda_python_alpha-2.231.0a0 → aws_cdk_aws_lambda_python_alpha-2.232.0a0}/pyproject.toml +0 -0
  16. {aws_cdk_aws_lambda_python_alpha-2.231.0a0 → aws_cdk_aws_lambda_python_alpha-2.232.0a0}/setup.cfg +0 -0
  17. {aws_cdk_aws_lambda_python_alpha-2.231.0a0 → aws_cdk_aws_lambda_python_alpha-2.232.0a0}/src/aws_cdk/aws_lambda_python_alpha/py.typed +0 -0
  18. {aws_cdk_aws_lambda_python_alpha-2.231.0a0 → aws_cdk_aws_lambda_python_alpha-2.232.0a0}/src/aws_cdk.aws_lambda_python_alpha.egg-info/dependency_links.txt +0 -0
  19. {aws_cdk_aws_lambda_python_alpha-2.231.0a0 → aws_cdk_aws_lambda_python_alpha-2.232.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.231.0a0
3
+ Version: 2.232.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
@@ -22,11 +22,11 @@ Requires-Python: ~=3.9
22
22
  Description-Content-Type: text/markdown
23
23
  License-File: LICENSE
24
24
  License-File: NOTICE
25
- Requires-Dist: aws-cdk-lib<3.0.0,>=2.231.0
25
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.232.0
26
26
  Requires-Dist: constructs<11.0.0,>=10.0.0
27
- Requires-Dist: jsii<2.0.0,>=1.119.0
27
+ Requires-Dist: jsii<2.0.0,>=1.120.0
28
28
  Requires-Dist: publication>=0.0.3
29
- Requires-Dist: typeguard<4.3.0,>=2.13.3
29
+ Requires-Dist: typeguard==2.13.3
30
30
 
31
31
  # Amazon Lambda Python Library
32
32
 
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "aws-cdk.aws-lambda-python-alpha",
8
- "version": "2.231.0.a0",
8
+ "version": "2.232.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.231.0-alpha.0.jsii.tgz"
29
+ "aws-lambda-python-alpha@2.232.0-alpha.0.jsii.tgz"
30
30
  ],
31
31
  "aws_cdk.aws_lambda_python_alpha": [
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.231.0, <3.0.0",
37
+ "aws-cdk-lib>=2.232.0, <3.0.0",
38
38
  "constructs>=10.0.0, <11.0.0",
39
- "jsii>=1.119.0, <2.0.0",
39
+ "jsii>=1.120.0, <2.0.0",
40
40
  "publication>=0.0.3",
41
- "typeguard>=2.13.3,<4.3.0"
41
+ "typeguard==2.13.3"
42
42
  ],
43
43
  "classifiers": [
44
44
  "Intended Audience :: Developers",
@@ -973,6 +973,7 @@ class PythonFunction(
973
973
  dead_letter_queue_enabled: typing.Optional[builtins.bool] = None,
974
974
  dead_letter_topic: typing.Optional[_aws_cdk_aws_sns_ceddda9d.ITopic] = None,
975
975
  description: typing.Optional[builtins.str] = None,
976
+ durable_config: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.DurableConfig, typing.Dict[builtins.str, typing.Any]]] = None,
976
977
  environment: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
977
978
  environment_encryption: typing.Optional[_aws_cdk_interfaces_aws_kms_ceddda9d.IKeyRef] = None,
978
979
  ephemeral_storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
@@ -1033,6 +1034,7 @@ class PythonFunction(
1033
1034
  :param dead_letter_queue_enabled: Enabled DLQ. If ``deadLetterQueue`` is undefined, an SQS queue with default options will be defined for your Function. Default: - false unless ``deadLetterQueue`` is set, which implies DLQ is enabled.
1034
1035
  :param dead_letter_topic: The SNS topic to use as a DLQ. Note that if ``deadLetterQueueEnabled`` is set to ``true``, an SQS queue will be created rather than an SNS topic. Using an SNS topic as a DLQ requires this property to be set explicitly. Default: - no SNS topic
1035
1036
  :param description: A description of the function. Default: - No description.
1037
+ :param durable_config: The durable configuration for the function. If durability is added to an existing function, a resource replacement will be triggered. See the 'durableConfig' section in the module README for more details. Default: - No durable configuration
1036
1038
  :param environment: Key-value pairs that Lambda caches and makes available for your Lambda functions. Use environment variables to apply configuration changes, such as test and production environment configurations, without changing your Lambda function source code. Default: - No environment variables.
1037
1039
  :param environment_encryption: The AWS KMS key that's used to encrypt your function's environment variables. Default: - AWS Lambda creates and uses an AWS managed customer master key (CMK).
1038
1040
  :param ephemeral_storage_size: The size of the function’s /tmp directory in MiB. Default: 512 MiB
@@ -1097,6 +1099,7 @@ class PythonFunction(
1097
1099
  dead_letter_queue_enabled=dead_letter_queue_enabled,
1098
1100
  dead_letter_topic=dead_letter_topic,
1099
1101
  description=description,
1102
+ durable_config=durable_config,
1100
1103
  environment=environment,
1101
1104
  environment_encryption=environment_encryption,
1102
1105
  ephemeral_storage_size=ephemeral_storage_size,
@@ -1170,6 +1173,7 @@ class PythonFunction(
1170
1173
  "dead_letter_queue_enabled": "deadLetterQueueEnabled",
1171
1174
  "dead_letter_topic": "deadLetterTopic",
1172
1175
  "description": "description",
1176
+ "durable_config": "durableConfig",
1173
1177
  "environment": "environment",
1174
1178
  "environment_encryption": "environmentEncryption",
1175
1179
  "ephemeral_storage_size": "ephemeralStorageSize",
@@ -1232,6 +1236,7 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
1232
1236
  dead_letter_queue_enabled: typing.Optional[builtins.bool] = None,
1233
1237
  dead_letter_topic: typing.Optional[_aws_cdk_aws_sns_ceddda9d.ITopic] = None,
1234
1238
  description: typing.Optional[builtins.str] = None,
1239
+ durable_config: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.DurableConfig, typing.Dict[builtins.str, typing.Any]]] = None,
1235
1240
  environment: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
1236
1241
  environment_encryption: typing.Optional[_aws_cdk_interfaces_aws_kms_ceddda9d.IKeyRef] = None,
1237
1242
  ephemeral_storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
@@ -1291,6 +1296,7 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
1291
1296
  :param dead_letter_queue_enabled: Enabled DLQ. If ``deadLetterQueue`` is undefined, an SQS queue with default options will be defined for your Function. Default: - false unless ``deadLetterQueue`` is set, which implies DLQ is enabled.
1292
1297
  :param dead_letter_topic: The SNS topic to use as a DLQ. Note that if ``deadLetterQueueEnabled`` is set to ``true``, an SQS queue will be created rather than an SNS topic. Using an SNS topic as a DLQ requires this property to be set explicitly. Default: - no SNS topic
1293
1298
  :param description: A description of the function. Default: - No description.
1299
+ :param durable_config: The durable configuration for the function. If durability is added to an existing function, a resource replacement will be triggered. See the 'durableConfig' section in the module README for more details. Default: - No durable configuration
1294
1300
  :param environment: Key-value pairs that Lambda caches and makes available for your Lambda functions. Use environment variables to apply configuration changes, such as test and production environment configurations, without changing your Lambda function source code. Default: - No environment variables.
1295
1301
  :param environment_encryption: The AWS KMS key that's used to encrypt your function's environment variables. Default: - AWS Lambda creates and uses an AWS managed customer master key (CMK).
1296
1302
  :param ephemeral_storage_size: The size of the function’s /tmp directory in MiB. Default: 512 MiB
@@ -1351,6 +1357,8 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
1351
1357
  adot_instrumentation = _aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig(**adot_instrumentation)
1352
1358
  if isinstance(current_version_options, dict):
1353
1359
  current_version_options = _aws_cdk_aws_lambda_ceddda9d.VersionOptions(**current_version_options)
1360
+ if isinstance(durable_config, dict):
1361
+ durable_config = _aws_cdk_aws_lambda_ceddda9d.DurableConfig(**durable_config)
1354
1362
  if isinstance(log_retention_retry_options, dict):
1355
1363
  log_retention_retry_options = _aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions(**log_retention_retry_options)
1356
1364
  if isinstance(vpc_subnets, dict):
@@ -1376,6 +1384,7 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
1376
1384
  check_type(argname="argument dead_letter_queue_enabled", value=dead_letter_queue_enabled, expected_type=type_hints["dead_letter_queue_enabled"])
1377
1385
  check_type(argname="argument dead_letter_topic", value=dead_letter_topic, expected_type=type_hints["dead_letter_topic"])
1378
1386
  check_type(argname="argument description", value=description, expected_type=type_hints["description"])
1387
+ check_type(argname="argument durable_config", value=durable_config, expected_type=type_hints["durable_config"])
1379
1388
  check_type(argname="argument environment", value=environment, expected_type=type_hints["environment"])
1380
1389
  check_type(argname="argument environment_encryption", value=environment_encryption, expected_type=type_hints["environment_encryption"])
1381
1390
  check_type(argname="argument ephemeral_storage_size", value=ephemeral_storage_size, expected_type=type_hints["ephemeral_storage_size"])
@@ -1453,6 +1462,8 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
1453
1462
  self._values["dead_letter_topic"] = dead_letter_topic
1454
1463
  if description is not None:
1455
1464
  self._values["description"] = description
1465
+ if durable_config is not None:
1466
+ self._values["durable_config"] = durable_config
1456
1467
  if environment is not None:
1457
1468
  self._values["environment"] = environment
1458
1469
  if environment_encryption is not None:
@@ -1728,6 +1739,20 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
1728
1739
  result = self._values.get("description")
1729
1740
  return typing.cast(typing.Optional[builtins.str], result)
1730
1741
 
1742
+ @builtins.property
1743
+ def durable_config(
1744
+ self,
1745
+ ) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.DurableConfig]:
1746
+ '''The durable configuration for the function.
1747
+
1748
+ If durability is added to an existing function, a resource replacement will be triggered.
1749
+ See the 'durableConfig' section in the module README for more details.
1750
+
1751
+ :default: - No durable configuration
1752
+ '''
1753
+ result = self._values.get("durable_config")
1754
+ return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.DurableConfig], result)
1755
+
1731
1756
  @builtins.property
1732
1757
  def environment(
1733
1758
  self,
@@ -2578,6 +2603,7 @@ def _typecheckingstub__5537a9d2877d6e8ff1275d2f45fdfd2900b726517ad0fa1c220fba47a
2578
2603
  dead_letter_queue_enabled: typing.Optional[builtins.bool] = None,
2579
2604
  dead_letter_topic: typing.Optional[_aws_cdk_aws_sns_ceddda9d.ITopic] = None,
2580
2605
  description: typing.Optional[builtins.str] = None,
2606
+ durable_config: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.DurableConfig, typing.Dict[builtins.str, typing.Any]]] = None,
2581
2607
  environment: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2582
2608
  environment_encryption: typing.Optional[_aws_cdk_interfaces_aws_kms_ceddda9d.IKeyRef] = None,
2583
2609
  ephemeral_storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
@@ -2639,6 +2665,7 @@ def _typecheckingstub__637cd4e3d3f8768a5067bfaaca86ae334c7670354dabddcb67008214b
2639
2665
  dead_letter_queue_enabled: typing.Optional[builtins.bool] = None,
2640
2666
  dead_letter_topic: typing.Optional[_aws_cdk_aws_sns_ceddda9d.ITopic] = None,
2641
2667
  description: typing.Optional[builtins.str] = None,
2668
+ durable_config: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.DurableConfig, typing.Dict[builtins.str, typing.Any]]] = None,
2642
2669
  environment: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2643
2670
  environment_encryption: typing.Optional[_aws_cdk_interfaces_aws_kms_ceddda9d.IKeyRef] = None,
2644
2671
  ephemeral_storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
@@ -33,9 +33,9 @@ import constructs._jsii
33
33
 
34
34
  __jsii_assembly__ = jsii.JSIIAssembly.load(
35
35
  "@aws-cdk/aws-lambda-python-alpha",
36
- "2.231.0-alpha.0",
36
+ "2.232.0-alpha.0",
37
37
  __name__[0:-6],
38
- "aws-lambda-python-alpha@2.231.0-alpha.0.jsii.tgz",
38
+ "aws-lambda-python-alpha@2.232.0-alpha.0.jsii.tgz",
39
39
  )
40
40
 
41
41
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk.aws-lambda-python-alpha
3
- Version: 2.231.0a0
3
+ Version: 2.232.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
@@ -22,11 +22,11 @@ Requires-Python: ~=3.9
22
22
  Description-Content-Type: text/markdown
23
23
  License-File: LICENSE
24
24
  License-File: NOTICE
25
- Requires-Dist: aws-cdk-lib<3.0.0,>=2.231.0
25
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.232.0
26
26
  Requires-Dist: constructs<11.0.0,>=10.0.0
27
- Requires-Dist: jsii<2.0.0,>=1.119.0
27
+ Requires-Dist: jsii<2.0.0,>=1.120.0
28
28
  Requires-Dist: publication>=0.0.3
29
- Requires-Dist: typeguard<4.3.0,>=2.13.3
29
+ Requires-Dist: typeguard==2.13.3
30
30
 
31
31
  # Amazon Lambda Python Library
32
32
 
@@ -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.231.0-alpha.0.jsii.tgz
15
+ src/aws_cdk/aws_lambda_python_alpha/_jsii/aws-lambda-python-alpha@2.232.0-alpha.0.jsii.tgz
@@ -0,0 +1,5 @@
1
+ aws-cdk-lib<3.0.0,>=2.232.0
2
+ constructs<11.0.0,>=10.0.0
3
+ jsii<2.0.0,>=1.120.0
4
+ publication>=0.0.3
5
+ typeguard==2.13.3
@@ -1,5 +0,0 @@
1
- aws-cdk-lib<3.0.0,>=2.231.0
2
- constructs<11.0.0,>=10.0.0
3
- jsii<2.0.0,>=1.119.0
4
- publication>=0.0.3
5
- typeguard<4.3.0,>=2.13.3