aws-cdk.aws-lambda-python-alpha 2.155.0a0__tar.gz → 2.157.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.155.0a0/src/aws_cdk.aws_lambda_python_alpha.egg-info → aws_cdk_aws_lambda_python_alpha-2.157.0a0}/PKG-INFO +2 -2
  2. {aws_cdk_aws_lambda_python_alpha-2.155.0a0 → aws_cdk_aws_lambda_python_alpha-2.157.0a0}/setup.py +3 -3
  3. {aws_cdk_aws_lambda_python_alpha-2.155.0a0 → aws_cdk_aws_lambda_python_alpha-2.157.0a0}/src/aws_cdk/aws_lambda_python_alpha/__init__.py +30 -3
  4. {aws_cdk_aws_lambda_python_alpha-2.155.0a0 → aws_cdk_aws_lambda_python_alpha-2.157.0a0}/src/aws_cdk/aws_lambda_python_alpha/_jsii/__init__.py +2 -2
  5. aws_cdk_aws_lambda_python_alpha-2.157.0a0/src/aws_cdk/aws_lambda_python_alpha/_jsii/aws-lambda-python-alpha@2.157.0-alpha.0.jsii.tgz +0 -0
  6. {aws_cdk_aws_lambda_python_alpha-2.155.0a0 → aws_cdk_aws_lambda_python_alpha-2.157.0a0/src/aws_cdk.aws_lambda_python_alpha.egg-info}/PKG-INFO +2 -2
  7. {aws_cdk_aws_lambda_python_alpha-2.155.0a0 → aws_cdk_aws_lambda_python_alpha-2.157.0a0}/src/aws_cdk.aws_lambda_python_alpha.egg-info/SOURCES.txt +1 -1
  8. {aws_cdk_aws_lambda_python_alpha-2.155.0a0 → aws_cdk_aws_lambda_python_alpha-2.157.0a0}/src/aws_cdk.aws_lambda_python_alpha.egg-info/requires.txt +1 -1
  9. aws_cdk_aws_lambda_python_alpha-2.155.0a0/src/aws_cdk/aws_lambda_python_alpha/_jsii/aws-lambda-python-alpha@2.155.0-alpha.0.jsii.tgz +0 -0
  10. {aws_cdk_aws_lambda_python_alpha-2.155.0a0 → aws_cdk_aws_lambda_python_alpha-2.157.0a0}/LICENSE +0 -0
  11. {aws_cdk_aws_lambda_python_alpha-2.155.0a0 → aws_cdk_aws_lambda_python_alpha-2.157.0a0}/MANIFEST.in +0 -0
  12. {aws_cdk_aws_lambda_python_alpha-2.155.0a0 → aws_cdk_aws_lambda_python_alpha-2.157.0a0}/NOTICE +0 -0
  13. {aws_cdk_aws_lambda_python_alpha-2.155.0a0 → aws_cdk_aws_lambda_python_alpha-2.157.0a0}/README.md +0 -0
  14. {aws_cdk_aws_lambda_python_alpha-2.155.0a0 → aws_cdk_aws_lambda_python_alpha-2.157.0a0}/pyproject.toml +0 -0
  15. {aws_cdk_aws_lambda_python_alpha-2.155.0a0 → aws_cdk_aws_lambda_python_alpha-2.157.0a0}/setup.cfg +0 -0
  16. {aws_cdk_aws_lambda_python_alpha-2.155.0a0 → aws_cdk_aws_lambda_python_alpha-2.157.0a0}/src/aws_cdk/aws_lambda_python_alpha/py.typed +0 -0
  17. {aws_cdk_aws_lambda_python_alpha-2.155.0a0 → aws_cdk_aws_lambda_python_alpha-2.157.0a0}/src/aws_cdk.aws_lambda_python_alpha.egg-info/dependency_links.txt +0 -0
  18. {aws_cdk_aws_lambda_python_alpha-2.155.0a0 → aws_cdk_aws_lambda_python_alpha-2.157.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.155.0a0
3
+ Version: 2.157.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,7 +23,7 @@ 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.155.0
26
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.157.0
27
27
  Requires-Dist: constructs<11.0.0,>=10.0.0
28
28
  Requires-Dist: jsii<2.0.0,>=1.102.0
29
29
  Requires-Dist: publication>=0.0.3
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "aws-cdk.aws-lambda-python-alpha",
8
- "version": "2.155.0.a0",
8
+ "version": "2.157.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.155.0-alpha.0.jsii.tgz"
29
+ "aws-lambda-python-alpha@2.157.0-alpha.0.jsii.tgz"
30
30
  ],
31
31
  "aws_cdk.aws_lambda_python_alpha": [
32
32
  "py.typed"
@@ -34,7 +34,7 @@ kwargs = json.loads(
34
34
  },
35
35
  "python_requires": "~=3.8",
36
36
  "install_requires": [
37
- "aws-cdk-lib>=2.155.0, <3.0.0",
37
+ "aws-cdk-lib>=2.157.0, <3.0.0",
38
38
  "constructs>=10.0.0, <11.0.0",
39
39
  "jsii>=1.102.0, <2.0.0",
40
40
  "publication>=0.0.3",
@@ -932,6 +932,7 @@ class PythonFunction(
932
932
  handler: typing.Optional[builtins.str] = None,
933
933
  index: typing.Optional[builtins.str] = None,
934
934
  adot_instrumentation: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
935
+ allow_all_ipv6_outbound: typing.Optional[builtins.bool] = None,
935
936
  allow_all_outbound: typing.Optional[builtins.bool] = None,
936
937
  allow_public_subnet: typing.Optional[builtins.bool] = None,
937
938
  application_log_level: typing.Optional[builtins.str] = None,
@@ -989,7 +990,8 @@ class PythonFunction(
989
990
  :param handler: (experimental) The name of the exported handler in the index file. Default: handler
990
991
  :param index: (experimental) The path (relative to entry) to the index file containing the exported handler. Default: index.py
991
992
  :param adot_instrumentation: Specify the configuration of AWS Distro for OpenTelemetry (ADOT) instrumentation. Default: - No ADOT instrumentation
992
- :param allow_all_outbound: Whether to allow the Lambda to send all network traffic. If set to false, you must individually add traffic rules to allow the Lambda to connect to network targets. Do not specify this property if the ``securityGroups`` or ``securityGroup`` property is set. Instead, configure ``allowAllOutbound`` directly on the security group. Default: true
993
+ :param allow_all_ipv6_outbound: Whether to allow the Lambda to send all ipv6 network traffic. If set to true, there will only be a single egress rule which allows all outbound ipv6 traffic. If set to false, you must individually add traffic rules to allow the Lambda to connect to network targets using ipv6. Do not specify this property if the ``securityGroups`` or ``securityGroup`` property is set. Instead, configure ``allowAllIpv6Outbound`` directly on the security group. Default: false
994
+ :param allow_all_outbound: Whether to allow the Lambda to send all network traffic (except ipv6). If set to false, you must individually add traffic rules to allow the Lambda to connect to network targets. Do not specify this property if the ``securityGroups`` or ``securityGroup`` property is set. Instead, configure ``allowAllOutbound`` directly on the security group. Default: true
993
995
  :param allow_public_subnet: Lambda Functions in a public subnet can NOT access the internet. Use this property to acknowledge this limitation and still place the function in a public subnet. Default: false
994
996
  :param application_log_level: (deprecated) Sets the application log level for the function. Default: "INFO"
995
997
  :param application_log_level_v2: Sets the application log level for the function. Default: ApplicationLogLevel.INFO
@@ -1050,6 +1052,7 @@ class PythonFunction(
1050
1052
  handler=handler,
1051
1053
  index=index,
1052
1054
  adot_instrumentation=adot_instrumentation,
1055
+ allow_all_ipv6_outbound=allow_all_ipv6_outbound,
1053
1056
  allow_all_outbound=allow_all_outbound,
1054
1057
  allow_public_subnet=allow_public_subnet,
1055
1058
  application_log_level=application_log_level,
@@ -1111,6 +1114,7 @@ class PythonFunction(
1111
1114
  "on_success": "onSuccess",
1112
1115
  "retry_attempts": "retryAttempts",
1113
1116
  "adot_instrumentation": "adotInstrumentation",
1117
+ "allow_all_ipv6_outbound": "allowAllIpv6Outbound",
1114
1118
  "allow_all_outbound": "allowAllOutbound",
1115
1119
  "allow_public_subnet": "allowPublicSubnet",
1116
1120
  "application_log_level": "applicationLogLevel",
@@ -1170,6 +1174,7 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
1170
1174
  on_success: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.IDestination] = None,
1171
1175
  retry_attempts: typing.Optional[jsii.Number] = None,
1172
1176
  adot_instrumentation: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
1177
+ allow_all_ipv6_outbound: typing.Optional[builtins.bool] = None,
1173
1178
  allow_all_outbound: typing.Optional[builtins.bool] = None,
1174
1179
  allow_public_subnet: typing.Optional[builtins.bool] = None,
1175
1180
  application_log_level: typing.Optional[builtins.str] = None,
@@ -1226,7 +1231,8 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
1226
1231
  :param on_success: The destination for successful invocations. Default: - no destination
1227
1232
  :param retry_attempts: The maximum number of times to retry when the function returns an error. Minimum: 0 Maximum: 2 Default: 2
1228
1233
  :param adot_instrumentation: Specify the configuration of AWS Distro for OpenTelemetry (ADOT) instrumentation. Default: - No ADOT instrumentation
1229
- :param allow_all_outbound: Whether to allow the Lambda to send all network traffic. If set to false, you must individually add traffic rules to allow the Lambda to connect to network targets. Do not specify this property if the ``securityGroups`` or ``securityGroup`` property is set. Instead, configure ``allowAllOutbound`` directly on the security group. Default: true
1234
+ :param allow_all_ipv6_outbound: Whether to allow the Lambda to send all ipv6 network traffic. If set to true, there will only be a single egress rule which allows all outbound ipv6 traffic. If set to false, you must individually add traffic rules to allow the Lambda to connect to network targets using ipv6. Do not specify this property if the ``securityGroups`` or ``securityGroup`` property is set. Instead, configure ``allowAllIpv6Outbound`` directly on the security group. Default: false
1235
+ :param allow_all_outbound: Whether to allow the Lambda to send all network traffic (except ipv6). If set to false, you must individually add traffic rules to allow the Lambda to connect to network targets. Do not specify this property if the ``securityGroups`` or ``securityGroup`` property is set. Instead, configure ``allowAllOutbound`` directly on the security group. Default: true
1230
1236
  :param allow_public_subnet: Lambda Functions in a public subnet can NOT access the internet. Use this property to acknowledge this limitation and still place the function in a public subnet. Default: false
1231
1237
  :param application_log_level: (deprecated) Sets the application log level for the function. Default: "INFO"
1232
1238
  :param application_log_level_v2: Sets the application log level for the function. Default: ApplicationLogLevel.INFO
@@ -1308,6 +1314,7 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
1308
1314
  check_type(argname="argument on_success", value=on_success, expected_type=type_hints["on_success"])
1309
1315
  check_type(argname="argument retry_attempts", value=retry_attempts, expected_type=type_hints["retry_attempts"])
1310
1316
  check_type(argname="argument adot_instrumentation", value=adot_instrumentation, expected_type=type_hints["adot_instrumentation"])
1317
+ check_type(argname="argument allow_all_ipv6_outbound", value=allow_all_ipv6_outbound, expected_type=type_hints["allow_all_ipv6_outbound"])
1311
1318
  check_type(argname="argument allow_all_outbound", value=allow_all_outbound, expected_type=type_hints["allow_all_outbound"])
1312
1319
  check_type(argname="argument allow_public_subnet", value=allow_public_subnet, expected_type=type_hints["allow_public_subnet"])
1313
1320
  check_type(argname="argument application_log_level", value=application_log_level, expected_type=type_hints["application_log_level"])
@@ -1370,6 +1377,8 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
1370
1377
  self._values["retry_attempts"] = retry_attempts
1371
1378
  if adot_instrumentation is not None:
1372
1379
  self._values["adot_instrumentation"] = adot_instrumentation
1380
+ if allow_all_ipv6_outbound is not None:
1381
+ self._values["allow_all_ipv6_outbound"] = allow_all_ipv6_outbound
1373
1382
  if allow_all_outbound is not None:
1374
1383
  self._values["allow_all_outbound"] = allow_all_outbound
1375
1384
  if allow_public_subnet is not None:
@@ -1518,9 +1527,25 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
1518
1527
  result = self._values.get("adot_instrumentation")
1519
1528
  return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig], result)
1520
1529
 
1530
+ @builtins.property
1531
+ def allow_all_ipv6_outbound(self) -> typing.Optional[builtins.bool]:
1532
+ '''Whether to allow the Lambda to send all ipv6 network traffic.
1533
+
1534
+ If set to true, there will only be a single egress rule which allows all
1535
+ outbound ipv6 traffic. If set to false, you must individually add traffic rules to allow the
1536
+ Lambda to connect to network targets using ipv6.
1537
+
1538
+ Do not specify this property if the ``securityGroups`` or ``securityGroup`` property is set.
1539
+ Instead, configure ``allowAllIpv6Outbound`` directly on the security group.
1540
+
1541
+ :default: false
1542
+ '''
1543
+ result = self._values.get("allow_all_ipv6_outbound")
1544
+ return typing.cast(typing.Optional[builtins.bool], result)
1545
+
1521
1546
  @builtins.property
1522
1547
  def allow_all_outbound(self) -> typing.Optional[builtins.bool]:
1523
- '''Whether to allow the Lambda to send all network traffic.
1548
+ '''Whether to allow the Lambda to send all network traffic (except ipv6).
1524
1549
 
1525
1550
  If set to false, you must individually add traffic rules to allow the
1526
1551
  Lambda to connect to network targets.
@@ -2441,6 +2466,7 @@ def _typecheckingstub__5537a9d2877d6e8ff1275d2f45fdfd2900b726517ad0fa1c220fba47a
2441
2466
  handler: typing.Optional[builtins.str] = None,
2442
2467
  index: typing.Optional[builtins.str] = None,
2443
2468
  adot_instrumentation: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
2469
+ allow_all_ipv6_outbound: typing.Optional[builtins.bool] = None,
2444
2470
  allow_all_outbound: typing.Optional[builtins.bool] = None,
2445
2471
  allow_public_subnet: typing.Optional[builtins.bool] = None,
2446
2472
  application_log_level: typing.Optional[builtins.str] = None,
@@ -2499,6 +2525,7 @@ def _typecheckingstub__637cd4e3d3f8768a5067bfaaca86ae334c7670354dabddcb67008214b
2499
2525
  on_success: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.IDestination] = None,
2500
2526
  retry_attempts: typing.Optional[jsii.Number] = None,
2501
2527
  adot_instrumentation: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
2528
+ allow_all_ipv6_outbound: typing.Optional[builtins.bool] = None,
2502
2529
  allow_all_outbound: typing.Optional[builtins.bool] = None,
2503
2530
  allow_public_subnet: typing.Optional[builtins.bool] = None,
2504
2531
  application_log_level: typing.Optional[builtins.str] = 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.155.0-alpha.0",
21
+ "2.157.0-alpha.0",
22
22
  __name__[0:-6],
23
- "aws-lambda-python-alpha@2.155.0-alpha.0.jsii.tgz",
23
+ "aws-lambda-python-alpha@2.157.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.155.0a0
3
+ Version: 2.157.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,7 +23,7 @@ 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.155.0
26
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.157.0
27
27
  Requires-Dist: constructs<11.0.0,>=10.0.0
28
28
  Requires-Dist: jsii<2.0.0,>=1.102.0
29
29
  Requires-Dist: publication>=0.0.3
@@ -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.155.0-alpha.0.jsii.tgz
15
+ src/aws_cdk/aws_lambda_python_alpha/_jsii/aws-lambda-python-alpha@2.157.0-alpha.0.jsii.tgz
@@ -1,4 +1,4 @@
1
- aws-cdk-lib<3.0.0,>=2.155.0
1
+ aws-cdk-lib<3.0.0,>=2.157.0
2
2
  constructs<11.0.0,>=10.0.0
3
3
  jsii<2.0.0,>=1.102.0
4
4
  publication>=0.0.3