aws-cdk.aws-lambda-python-alpha 2.143.1a0__tar.gz → 2.145.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.
- {aws-cdk.aws-lambda-python-alpha-2.143.1a0/src/aws_cdk.aws_lambda_python_alpha.egg-info → aws-cdk.aws-lambda-python-alpha-2.145.0a0}/PKG-INFO +1 -1
- {aws-cdk.aws-lambda-python-alpha-2.143.1a0 → aws-cdk.aws-lambda-python-alpha-2.145.0a0}/setup.py +3 -3
- {aws-cdk.aws-lambda-python-alpha-2.143.1a0 → aws-cdk.aws-lambda-python-alpha-2.145.0a0}/src/aws_cdk/aws_lambda_python_alpha/__init__.py +65 -9
- {aws-cdk.aws-lambda-python-alpha-2.143.1a0 → aws-cdk.aws-lambda-python-alpha-2.145.0a0}/src/aws_cdk/aws_lambda_python_alpha/_jsii/__init__.py +2 -2
- aws-cdk.aws-lambda-python-alpha-2.145.0a0/src/aws_cdk/aws_lambda_python_alpha/_jsii/aws-lambda-python-alpha@2.145.0-alpha.0.jsii.tgz +0 -0
- {aws-cdk.aws-lambda-python-alpha-2.143.1a0 → aws-cdk.aws-lambda-python-alpha-2.145.0a0/src/aws_cdk.aws_lambda_python_alpha.egg-info}/PKG-INFO +1 -1
- {aws-cdk.aws-lambda-python-alpha-2.143.1a0 → aws-cdk.aws-lambda-python-alpha-2.145.0a0}/src/aws_cdk.aws_lambda_python_alpha.egg-info/SOURCES.txt +1 -1
- {aws-cdk.aws-lambda-python-alpha-2.143.1a0 → aws-cdk.aws-lambda-python-alpha-2.145.0a0}/src/aws_cdk.aws_lambda_python_alpha.egg-info/requires.txt +1 -1
- aws-cdk.aws-lambda-python-alpha-2.143.1a0/src/aws_cdk/aws_lambda_python_alpha/_jsii/aws-lambda-python-alpha@2.143.1-alpha.0.jsii.tgz +0 -0
- {aws-cdk.aws-lambda-python-alpha-2.143.1a0 → aws-cdk.aws-lambda-python-alpha-2.145.0a0}/LICENSE +0 -0
- {aws-cdk.aws-lambda-python-alpha-2.143.1a0 → aws-cdk.aws-lambda-python-alpha-2.145.0a0}/MANIFEST.in +0 -0
- {aws-cdk.aws-lambda-python-alpha-2.143.1a0 → aws-cdk.aws-lambda-python-alpha-2.145.0a0}/NOTICE +0 -0
- {aws-cdk.aws-lambda-python-alpha-2.143.1a0 → aws-cdk.aws-lambda-python-alpha-2.145.0a0}/README.md +0 -0
- {aws-cdk.aws-lambda-python-alpha-2.143.1a0 → aws-cdk.aws-lambda-python-alpha-2.145.0a0}/pyproject.toml +0 -0
- {aws-cdk.aws-lambda-python-alpha-2.143.1a0 → aws-cdk.aws-lambda-python-alpha-2.145.0a0}/setup.cfg +0 -0
- {aws-cdk.aws-lambda-python-alpha-2.143.1a0 → aws-cdk.aws-lambda-python-alpha-2.145.0a0}/src/aws_cdk/aws_lambda_python_alpha/py.typed +0 -0
- {aws-cdk.aws-lambda-python-alpha-2.143.1a0 → aws-cdk.aws-lambda-python-alpha-2.145.0a0}/src/aws_cdk.aws_lambda_python_alpha.egg-info/dependency_links.txt +0 -0
- {aws-cdk.aws-lambda-python-alpha-2.143.1a0 → aws-cdk.aws-lambda-python-alpha-2.145.0a0}/src/aws_cdk.aws_lambda_python_alpha.egg-info/top_level.txt +0 -0
{aws-cdk.aws-lambda-python-alpha-2.143.1a0 → aws-cdk.aws-lambda-python-alpha-2.145.0a0}/setup.py
RENAMED
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "aws-cdk.aws-lambda-python-alpha",
|
|
8
|
-
"version": "2.
|
|
8
|
+
"version": "2.145.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.
|
|
29
|
+
"aws-lambda-python-alpha@2.145.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.
|
|
37
|
+
"aws-cdk-lib>=2.145.0, <3.0.0",
|
|
38
38
|
"constructs>=10.0.0, <11.0.0",
|
|
39
39
|
"jsii>=1.98.0, <2.0.0",
|
|
40
40
|
"publication>=0.0.3",
|
|
@@ -935,6 +935,7 @@ class PythonFunction(
|
|
|
935
935
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
936
936
|
allow_public_subnet: typing.Optional[builtins.bool] = None,
|
|
937
937
|
application_log_level: typing.Optional[builtins.str] = None,
|
|
938
|
+
application_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ApplicationLogLevel] = None,
|
|
938
939
|
architecture: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture] = None,
|
|
939
940
|
code_signing_config: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig] = None,
|
|
940
941
|
current_version_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.VersionOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -968,6 +969,7 @@ class PythonFunction(
|
|
|
968
969
|
security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
|
|
969
970
|
snap_start: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SnapStartConf] = None,
|
|
970
971
|
system_log_level: typing.Optional[builtins.str] = None,
|
|
972
|
+
system_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SystemLogLevel] = None,
|
|
971
973
|
timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
972
974
|
tracing: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing] = None,
|
|
973
975
|
vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
|
@@ -988,7 +990,8 @@ class PythonFunction(
|
|
|
988
990
|
:param adot_instrumentation: Specify the configuration of AWS Distro for OpenTelemetry (ADOT) instrumentation. Default: - No ADOT instrumentation
|
|
989
991
|
: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
|
|
990
992
|
: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
|
|
991
|
-
:param application_log_level: Sets the application log level for the function. Default: "INFO"
|
|
993
|
+
:param application_log_level: (deprecated) Sets the application log level for the function. Default: "INFO"
|
|
994
|
+
:param application_log_level_v2: Sets the application log level for the function. Default: ApplicationLogLevel.INFO
|
|
992
995
|
:param architecture: The system architectures compatible with this lambda function. Default: Architecture.X86_64
|
|
993
996
|
:param code_signing_config: Code signing config associated with this function. Default: - Not Sign the Code
|
|
994
997
|
:param current_version_options: Options for the ``lambda.Version`` resource automatically created by the ``fn.currentVersion`` method. Default: - default options as described in ``VersionOptions``
|
|
@@ -1006,7 +1009,7 @@ class PythonFunction(
|
|
|
1006
1009
|
:param insights_version: Specify the version of CloudWatch Lambda insights to use for monitoring. Default: - No Lambda Insights
|
|
1007
1010
|
:param ipv6_allowed_for_dual_stack: Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets. Only used if 'vpc' is supplied. Default: false
|
|
1008
1011
|
:param layers: A list of layers to add to the function's execution environment. You can configure your Lambda function to pull in additional code during initialization in the form of layers. Layers are packages of libraries or other dependencies that can be used by multiple functions. Default: - No layers.
|
|
1009
|
-
:param log_format: Sets the logFormat for the function. Default: "Text"
|
|
1012
|
+
:param log_format: (deprecated) Sets the logFormat for the function. Default: "Text"
|
|
1010
1013
|
:param logging_format: Sets the loggingFormat for the function. Default: LoggingFormat.TEXT
|
|
1011
1014
|
:param log_group: The log group the function sends logs to. By default, Lambda functions send logs to an automatically created default log group named /aws/lambda/<function name>. However you cannot change the properties of this auto-created log group using the AWS CDK, e.g. you cannot set a different log retention. Use the ``logGroup`` property to create a fully customizable LogGroup ahead of time, and instruct the Lambda function to send logs to it. Providing a user-controlled log group was rolled out to commercial regions on 2023-11-16. If you are deploying to another type of region, please check regional availability first. Default: ``/aws/lambda/${this.functionName}`` - default log group created by Lambda
|
|
1012
1015
|
:param log_retention: The number of days log events are kept in CloudWatch Logs. When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to ``INFINITE``. This is a legacy API and we strongly recommend you move away from it if you can. Instead create a fully customizable log group with ``logs.LogGroup`` and use the ``logGroup`` property to instruct the Lambda function to send logs to it. Migrating from ``logRetention`` to ``logGroup`` will cause the name of the log group to change. Users and code and referencing the name verbatim will have to adjust. In AWS CDK code, you can access the log group name directly from the LogGroup construct:: import * as logs from 'aws-cdk-lib/aws-logs'; declare const myLogGroup: logs.LogGroup; myLogGroup.logGroupName; Default: logs.RetentionDays.INFINITE
|
|
@@ -1021,7 +1024,8 @@ class PythonFunction(
|
|
|
1021
1024
|
:param runtime_management_mode: Sets the runtime management configuration for a function's version. Default: Auto
|
|
1022
1025
|
:param security_groups: The list of security groups to associate with the Lambda's network interfaces. Only used if 'vpc' is supplied. Default: - If the function is placed within a VPC and a security group is not specified, either by this or securityGroup prop, a dedicated security group will be created for this function.
|
|
1023
1026
|
:param snap_start: Enable SnapStart for Lambda Function. SnapStart is currently supported only for Java 11, 17 runtime Default: - No snapstart
|
|
1024
|
-
:param system_log_level: Sets the system log level for the function. Default: "INFO"
|
|
1027
|
+
:param system_log_level: (deprecated) Sets the system log level for the function. Default: "INFO"
|
|
1028
|
+
:param system_log_level_v2: Sets the system log level for the function. Default: SystemLogLevel.INFO
|
|
1025
1029
|
:param timeout: The function execution time (in seconds) after which Lambda terminates the function. Because the execution time affects cost, set this value based on the function's expected execution time. Default: Duration.seconds(3)
|
|
1026
1030
|
:param tracing: Enable AWS X-Ray Tracing for Lambda Function. Default: Tracing.Disabled
|
|
1027
1031
|
:param vpc: VPC network to place Lambda network interfaces. Specify this if the Lambda function needs to access resources in a VPC. This is required when ``vpcSubnets`` is specified. Default: - Function is not placed within a VPC.
|
|
@@ -1047,6 +1051,7 @@ class PythonFunction(
|
|
|
1047
1051
|
allow_all_outbound=allow_all_outbound,
|
|
1048
1052
|
allow_public_subnet=allow_public_subnet,
|
|
1049
1053
|
application_log_level=application_log_level,
|
|
1054
|
+
application_log_level_v2=application_log_level_v2,
|
|
1050
1055
|
architecture=architecture,
|
|
1051
1056
|
code_signing_config=code_signing_config,
|
|
1052
1057
|
current_version_options=current_version_options,
|
|
@@ -1080,6 +1085,7 @@ class PythonFunction(
|
|
|
1080
1085
|
security_groups=security_groups,
|
|
1081
1086
|
snap_start=snap_start,
|
|
1082
1087
|
system_log_level=system_log_level,
|
|
1088
|
+
system_log_level_v2=system_log_level_v2,
|
|
1083
1089
|
timeout=timeout,
|
|
1084
1090
|
tracing=tracing,
|
|
1085
1091
|
vpc=vpc,
|
|
@@ -1105,6 +1111,7 @@ class PythonFunction(
|
|
|
1105
1111
|
"allow_all_outbound": "allowAllOutbound",
|
|
1106
1112
|
"allow_public_subnet": "allowPublicSubnet",
|
|
1107
1113
|
"application_log_level": "applicationLogLevel",
|
|
1114
|
+
"application_log_level_v2": "applicationLogLevelV2",
|
|
1108
1115
|
"architecture": "architecture",
|
|
1109
1116
|
"code_signing_config": "codeSigningConfig",
|
|
1110
1117
|
"current_version_options": "currentVersionOptions",
|
|
@@ -1138,6 +1145,7 @@ class PythonFunction(
|
|
|
1138
1145
|
"security_groups": "securityGroups",
|
|
1139
1146
|
"snap_start": "snapStart",
|
|
1140
1147
|
"system_log_level": "systemLogLevel",
|
|
1148
|
+
"system_log_level_v2": "systemLogLevelV2",
|
|
1141
1149
|
"timeout": "timeout",
|
|
1142
1150
|
"tracing": "tracing",
|
|
1143
1151
|
"vpc": "vpc",
|
|
@@ -1161,6 +1169,7 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
|
|
|
1161
1169
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
1162
1170
|
allow_public_subnet: typing.Optional[builtins.bool] = None,
|
|
1163
1171
|
application_log_level: typing.Optional[builtins.str] = None,
|
|
1172
|
+
application_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ApplicationLogLevel] = None,
|
|
1164
1173
|
architecture: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture] = None,
|
|
1165
1174
|
code_signing_config: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig] = None,
|
|
1166
1175
|
current_version_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.VersionOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -1194,6 +1203,7 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
|
|
|
1194
1203
|
security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
|
|
1195
1204
|
snap_start: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SnapStartConf] = None,
|
|
1196
1205
|
system_log_level: typing.Optional[builtins.str] = None,
|
|
1206
|
+
system_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SystemLogLevel] = None,
|
|
1197
1207
|
timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
1198
1208
|
tracing: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing] = None,
|
|
1199
1209
|
vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
|
@@ -1213,7 +1223,8 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
|
|
|
1213
1223
|
:param adot_instrumentation: Specify the configuration of AWS Distro for OpenTelemetry (ADOT) instrumentation. Default: - No ADOT instrumentation
|
|
1214
1224
|
: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
|
|
1215
1225
|
: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
|
|
1216
|
-
:param application_log_level: Sets the application log level for the function. Default: "INFO"
|
|
1226
|
+
:param application_log_level: (deprecated) Sets the application log level for the function. Default: "INFO"
|
|
1227
|
+
:param application_log_level_v2: Sets the application log level for the function. Default: ApplicationLogLevel.INFO
|
|
1217
1228
|
:param architecture: The system architectures compatible with this lambda function. Default: Architecture.X86_64
|
|
1218
1229
|
:param code_signing_config: Code signing config associated with this function. Default: - Not Sign the Code
|
|
1219
1230
|
:param current_version_options: Options for the ``lambda.Version`` resource automatically created by the ``fn.currentVersion`` method. Default: - default options as described in ``VersionOptions``
|
|
@@ -1231,7 +1242,7 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
|
|
|
1231
1242
|
:param insights_version: Specify the version of CloudWatch Lambda insights to use for monitoring. Default: - No Lambda Insights
|
|
1232
1243
|
:param ipv6_allowed_for_dual_stack: Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets. Only used if 'vpc' is supplied. Default: false
|
|
1233
1244
|
:param layers: A list of layers to add to the function's execution environment. You can configure your Lambda function to pull in additional code during initialization in the form of layers. Layers are packages of libraries or other dependencies that can be used by multiple functions. Default: - No layers.
|
|
1234
|
-
:param log_format: Sets the logFormat for the function. Default: "Text"
|
|
1245
|
+
:param log_format: (deprecated) Sets the logFormat for the function. Default: "Text"
|
|
1235
1246
|
:param logging_format: Sets the loggingFormat for the function. Default: LoggingFormat.TEXT
|
|
1236
1247
|
:param log_group: The log group the function sends logs to. By default, Lambda functions send logs to an automatically created default log group named /aws/lambda/<function name>. However you cannot change the properties of this auto-created log group using the AWS CDK, e.g. you cannot set a different log retention. Use the ``logGroup`` property to create a fully customizable LogGroup ahead of time, and instruct the Lambda function to send logs to it. Providing a user-controlled log group was rolled out to commercial regions on 2023-11-16. If you are deploying to another type of region, please check regional availability first. Default: ``/aws/lambda/${this.functionName}`` - default log group created by Lambda
|
|
1237
1248
|
:param log_retention: The number of days log events are kept in CloudWatch Logs. When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to ``INFINITE``. This is a legacy API and we strongly recommend you move away from it if you can. Instead create a fully customizable log group with ``logs.LogGroup`` and use the ``logGroup`` property to instruct the Lambda function to send logs to it. Migrating from ``logRetention`` to ``logGroup`` will cause the name of the log group to change. Users and code and referencing the name verbatim will have to adjust. In AWS CDK code, you can access the log group name directly from the LogGroup construct:: import * as logs from 'aws-cdk-lib/aws-logs'; declare const myLogGroup: logs.LogGroup; myLogGroup.logGroupName; Default: logs.RetentionDays.INFINITE
|
|
@@ -1246,7 +1257,8 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
|
|
|
1246
1257
|
:param runtime_management_mode: Sets the runtime management configuration for a function's version. Default: Auto
|
|
1247
1258
|
:param security_groups: The list of security groups to associate with the Lambda's network interfaces. Only used if 'vpc' is supplied. Default: - If the function is placed within a VPC and a security group is not specified, either by this or securityGroup prop, a dedicated security group will be created for this function.
|
|
1248
1259
|
:param snap_start: Enable SnapStart for Lambda Function. SnapStart is currently supported only for Java 11, 17 runtime Default: - No snapstart
|
|
1249
|
-
:param system_log_level: Sets the system log level for the function. Default: "INFO"
|
|
1260
|
+
:param system_log_level: (deprecated) Sets the system log level for the function. Default: "INFO"
|
|
1261
|
+
:param system_log_level_v2: Sets the system log level for the function. Default: SystemLogLevel.INFO
|
|
1250
1262
|
:param timeout: The function execution time (in seconds) after which Lambda terminates the function. Because the execution time affects cost, set this value based on the function's expected execution time. Default: Duration.seconds(3)
|
|
1251
1263
|
:param tracing: Enable AWS X-Ray Tracing for Lambda Function. Default: Tracing.Disabled
|
|
1252
1264
|
:param vpc: VPC network to place Lambda network interfaces. Specify this if the Lambda function needs to access resources in a VPC. This is required when ``vpcSubnets`` is specified. Default: - Function is not placed within a VPC.
|
|
@@ -1293,6 +1305,7 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
|
|
|
1293
1305
|
check_type(argname="argument allow_all_outbound", value=allow_all_outbound, expected_type=type_hints["allow_all_outbound"])
|
|
1294
1306
|
check_type(argname="argument allow_public_subnet", value=allow_public_subnet, expected_type=type_hints["allow_public_subnet"])
|
|
1295
1307
|
check_type(argname="argument application_log_level", value=application_log_level, expected_type=type_hints["application_log_level"])
|
|
1308
|
+
check_type(argname="argument application_log_level_v2", value=application_log_level_v2, expected_type=type_hints["application_log_level_v2"])
|
|
1296
1309
|
check_type(argname="argument architecture", value=architecture, expected_type=type_hints["architecture"])
|
|
1297
1310
|
check_type(argname="argument code_signing_config", value=code_signing_config, expected_type=type_hints["code_signing_config"])
|
|
1298
1311
|
check_type(argname="argument current_version_options", value=current_version_options, expected_type=type_hints["current_version_options"])
|
|
@@ -1326,6 +1339,7 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
|
|
|
1326
1339
|
check_type(argname="argument security_groups", value=security_groups, expected_type=type_hints["security_groups"])
|
|
1327
1340
|
check_type(argname="argument snap_start", value=snap_start, expected_type=type_hints["snap_start"])
|
|
1328
1341
|
check_type(argname="argument system_log_level", value=system_log_level, expected_type=type_hints["system_log_level"])
|
|
1342
|
+
check_type(argname="argument system_log_level_v2", value=system_log_level_v2, expected_type=type_hints["system_log_level_v2"])
|
|
1329
1343
|
check_type(argname="argument timeout", value=timeout, expected_type=type_hints["timeout"])
|
|
1330
1344
|
check_type(argname="argument tracing", value=tracing, expected_type=type_hints["tracing"])
|
|
1331
1345
|
check_type(argname="argument vpc", value=vpc, expected_type=type_hints["vpc"])
|
|
@@ -1355,6 +1369,8 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
|
|
|
1355
1369
|
self._values["allow_public_subnet"] = allow_public_subnet
|
|
1356
1370
|
if application_log_level is not None:
|
|
1357
1371
|
self._values["application_log_level"] = application_log_level
|
|
1372
|
+
if application_log_level_v2 is not None:
|
|
1373
|
+
self._values["application_log_level_v2"] = application_log_level_v2
|
|
1358
1374
|
if architecture is not None:
|
|
1359
1375
|
self._values["architecture"] = architecture
|
|
1360
1376
|
if code_signing_config is not None:
|
|
@@ -1421,6 +1437,8 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
|
|
|
1421
1437
|
self._values["snap_start"] = snap_start
|
|
1422
1438
|
if system_log_level is not None:
|
|
1423
1439
|
self._values["system_log_level"] = system_log_level
|
|
1440
|
+
if system_log_level_v2 is not None:
|
|
1441
|
+
self._values["system_log_level_v2"] = system_log_level_v2
|
|
1424
1442
|
if timeout is not None:
|
|
1425
1443
|
self._values["timeout"] = timeout
|
|
1426
1444
|
if tracing is not None:
|
|
@@ -1521,13 +1539,28 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
|
|
|
1521
1539
|
|
|
1522
1540
|
@builtins.property
|
|
1523
1541
|
def application_log_level(self) -> typing.Optional[builtins.str]:
|
|
1524
|
-
'''Sets the application log level for the function.
|
|
1542
|
+
'''(deprecated) Sets the application log level for the function.
|
|
1525
1543
|
|
|
1526
1544
|
:default: "INFO"
|
|
1545
|
+
|
|
1546
|
+
:deprecated: Use ``applicationLogLevelV2`` as a property instead.
|
|
1547
|
+
|
|
1548
|
+
:stability: deprecated
|
|
1527
1549
|
'''
|
|
1528
1550
|
result = self._values.get("application_log_level")
|
|
1529
1551
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1530
1552
|
|
|
1553
|
+
@builtins.property
|
|
1554
|
+
def application_log_level_v2(
|
|
1555
|
+
self,
|
|
1556
|
+
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ApplicationLogLevel]:
|
|
1557
|
+
'''Sets the application log level for the function.
|
|
1558
|
+
|
|
1559
|
+
:default: ApplicationLogLevel.INFO
|
|
1560
|
+
'''
|
|
1561
|
+
result = self._values.get("application_log_level_v2")
|
|
1562
|
+
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ApplicationLogLevel], result)
|
|
1563
|
+
|
|
1531
1564
|
@builtins.property
|
|
1532
1565
|
def architecture(
|
|
1533
1566
|
self,
|
|
@@ -1726,9 +1759,13 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
|
|
|
1726
1759
|
|
|
1727
1760
|
@builtins.property
|
|
1728
1761
|
def log_format(self) -> typing.Optional[builtins.str]:
|
|
1729
|
-
'''Sets the logFormat for the function.
|
|
1762
|
+
'''(deprecated) Sets the logFormat for the function.
|
|
1730
1763
|
|
|
1731
1764
|
:default: "Text"
|
|
1765
|
+
|
|
1766
|
+
:deprecated: Use ``loggingFormat`` as a property instead.
|
|
1767
|
+
|
|
1768
|
+
:stability: deprecated
|
|
1732
1769
|
'''
|
|
1733
1770
|
result = self._values.get("log_format")
|
|
1734
1771
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1942,13 +1979,28 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
|
|
|
1942
1979
|
|
|
1943
1980
|
@builtins.property
|
|
1944
1981
|
def system_log_level(self) -> typing.Optional[builtins.str]:
|
|
1945
|
-
'''Sets the system log level for the function.
|
|
1982
|
+
'''(deprecated) Sets the system log level for the function.
|
|
1946
1983
|
|
|
1947
1984
|
:default: "INFO"
|
|
1985
|
+
|
|
1986
|
+
:deprecated: Use ``systemLogLevelV2`` as a property instead.
|
|
1987
|
+
|
|
1988
|
+
:stability: deprecated
|
|
1948
1989
|
'''
|
|
1949
1990
|
result = self._values.get("system_log_level")
|
|
1950
1991
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1951
1992
|
|
|
1993
|
+
@builtins.property
|
|
1994
|
+
def system_log_level_v2(
|
|
1995
|
+
self,
|
|
1996
|
+
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SystemLogLevel]:
|
|
1997
|
+
'''Sets the system log level for the function.
|
|
1998
|
+
|
|
1999
|
+
:default: SystemLogLevel.INFO
|
|
2000
|
+
'''
|
|
2001
|
+
result = self._values.get("system_log_level_v2")
|
|
2002
|
+
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SystemLogLevel], result)
|
|
2003
|
+
|
|
1952
2004
|
@builtins.property
|
|
1953
2005
|
def timeout(self) -> typing.Optional[_aws_cdk_ceddda9d.Duration]:
|
|
1954
2006
|
'''The function execution time (in seconds) after which Lambda terminates the function.
|
|
@@ -2370,6 +2422,7 @@ def _typecheckingstub__5537a9d2877d6e8ff1275d2f45fdfd2900b726517ad0fa1c220fba47a
|
|
|
2370
2422
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
2371
2423
|
allow_public_subnet: typing.Optional[builtins.bool] = None,
|
|
2372
2424
|
application_log_level: typing.Optional[builtins.str] = None,
|
|
2425
|
+
application_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ApplicationLogLevel] = None,
|
|
2373
2426
|
architecture: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture] = None,
|
|
2374
2427
|
code_signing_config: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig] = None,
|
|
2375
2428
|
current_version_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.VersionOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -2403,6 +2456,7 @@ def _typecheckingstub__5537a9d2877d6e8ff1275d2f45fdfd2900b726517ad0fa1c220fba47a
|
|
|
2403
2456
|
security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
|
|
2404
2457
|
snap_start: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SnapStartConf] = None,
|
|
2405
2458
|
system_log_level: typing.Optional[builtins.str] = None,
|
|
2459
|
+
system_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SystemLogLevel] = None,
|
|
2406
2460
|
timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
2407
2461
|
tracing: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing] = None,
|
|
2408
2462
|
vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
|
@@ -2425,6 +2479,7 @@ def _typecheckingstub__637cd4e3d3f8768a5067bfaaca86ae334c7670354dabddcb67008214b
|
|
|
2425
2479
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
2426
2480
|
allow_public_subnet: typing.Optional[builtins.bool] = None,
|
|
2427
2481
|
application_log_level: typing.Optional[builtins.str] = None,
|
|
2482
|
+
application_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ApplicationLogLevel] = None,
|
|
2428
2483
|
architecture: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture] = None,
|
|
2429
2484
|
code_signing_config: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig] = None,
|
|
2430
2485
|
current_version_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.VersionOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -2458,6 +2513,7 @@ def _typecheckingstub__637cd4e3d3f8768a5067bfaaca86ae334c7670354dabddcb67008214b
|
|
|
2458
2513
|
security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
|
|
2459
2514
|
snap_start: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SnapStartConf] = None,
|
|
2460
2515
|
system_log_level: typing.Optional[builtins.str] = None,
|
|
2516
|
+
system_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SystemLogLevel] = None,
|
|
2461
2517
|
timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
2462
2518
|
tracing: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing] = None,
|
|
2463
2519
|
vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = 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.
|
|
21
|
+
"2.145.0-alpha.0",
|
|
22
22
|
__name__[0:-6],
|
|
23
|
-
"aws-lambda-python-alpha@2.
|
|
23
|
+
"aws-lambda-python-alpha@2.145.0-alpha.0.jsii.tgz",
|
|
24
24
|
)
|
|
25
25
|
|
|
26
26
|
__all__ = [
|
|
Binary file
|
|
@@ -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.
|
|
15
|
+
src/aws_cdk/aws_lambda_python_alpha/_jsii/aws-lambda-python-alpha@2.145.0-alpha.0.jsii.tgz
|
|
Binary file
|
{aws-cdk.aws-lambda-python-alpha-2.143.1a0 → aws-cdk.aws-lambda-python-alpha-2.145.0a0}/LICENSE
RENAMED
|
File without changes
|
{aws-cdk.aws-lambda-python-alpha-2.143.1a0 → aws-cdk.aws-lambda-python-alpha-2.145.0a0}/MANIFEST.in
RENAMED
|
File without changes
|
{aws-cdk.aws-lambda-python-alpha-2.143.1a0 → aws-cdk.aws-lambda-python-alpha-2.145.0a0}/NOTICE
RENAMED
|
File without changes
|
{aws-cdk.aws-lambda-python-alpha-2.143.1a0 → aws-cdk.aws-lambda-python-alpha-2.145.0a0}/README.md
RENAMED
|
File without changes
|
|
File without changes
|
{aws-cdk.aws-lambda-python-alpha-2.143.1a0 → aws-cdk.aws-lambda-python-alpha-2.145.0a0}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|