aws-cdk-lib 2.143.0__py3-none-any.whl → 2.144.0__py3-none-any.whl
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.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.143.0.jsii.tgz → aws-cdk-lib@2.144.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +1 -0
- aws_cdk/aws_appconfig/__init__.py +132 -1
- aws_cdk/aws_bedrock/__init__.py +48 -0
- aws_cdk/aws_chatbot/__init__.py +111 -2
- aws_cdk/aws_cloudfront/experimental/__init__.py +65 -9
- aws_cdk/aws_codebuild/__init__.py +226 -0
- aws_cdk/aws_dynamodb/__init__.py +309 -3
- aws_cdk/aws_ec2/__init__.py +70 -28
- aws_cdk/aws_ecs_patterns/__init__.py +89 -7
- aws_cdk/aws_fsx/__init__.py +4 -4
- aws_cdk/aws_glue/__init__.py +39 -0
- aws_cdk/aws_lambda/__init__.py +593 -42
- aws_cdk/aws_lambda_nodejs/__init__.py +160 -13
- aws_cdk/aws_medialive/__init__.py +20 -2
- aws_cdk/aws_rds/__init__.py +27 -19
- aws_cdk/aws_s3/__init__.py +21 -0
- aws_cdk/aws_s3_deployment/__init__.py +3 -2
- aws_cdk/aws_stepfunctions/__init__.py +53 -24
- aws_cdk/aws_stepfunctions_tasks/__init__.py +763 -16
- aws_cdk/triggers/__init__.py +65 -9
- {aws_cdk_lib-2.143.0.dist-info → aws_cdk_lib-2.144.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.143.0.dist-info → aws_cdk_lib-2.144.0.dist-info}/RECORD +28 -28
- {aws_cdk_lib-2.143.0.dist-info → aws_cdk_lib-2.144.0.dist-info}/WHEEL +1 -1
- {aws_cdk_lib-2.143.0.dist-info → aws_cdk_lib-2.144.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.143.0.dist-info → aws_cdk_lib-2.144.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.143.0.dist-info → aws_cdk_lib-2.144.0.dist-info}/top_level.txt +0 -0
|
@@ -46,6 +46,7 @@ from ...aws_lambda import (
|
|
|
46
46
|
AdotInstrumentationConfig as _AdotInstrumentationConfig_7c38d65d,
|
|
47
47
|
Alias as _Alias_55be8873,
|
|
48
48
|
AliasOptions as _AliasOptions_61fd38e4,
|
|
49
|
+
ApplicationLogLevel as _ApplicationLogLevel_cd92660a,
|
|
49
50
|
Architecture as _Architecture_12d5a53f,
|
|
50
51
|
Code as _Code_7848f942,
|
|
51
52
|
EventInvokeConfigOptions as _EventInvokeConfigOptions_42b67f17,
|
|
@@ -75,6 +76,7 @@ from ...aws_lambda import (
|
|
|
75
76
|
SnapStartConf as _SnapStartConf_2ffaa769,
|
|
76
77
|
SourceAccessConfiguration as _SourceAccessConfiguration_1926ff89,
|
|
77
78
|
StartingPosition as _StartingPosition_c0a4852c,
|
|
79
|
+
SystemLogLevel as _SystemLogLevel_aea49dc2,
|
|
78
80
|
Tracing as _Tracing_9fe8e2bb,
|
|
79
81
|
VersionOptions as _VersionOptions_981bb3c0,
|
|
80
82
|
VersionWeight as _VersionWeight_64df085b,
|
|
@@ -138,6 +140,7 @@ class EdgeFunction(
|
|
|
138
140
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
139
141
|
allow_public_subnet: typing.Optional[builtins.bool] = None,
|
|
140
142
|
application_log_level: typing.Optional[builtins.str] = None,
|
|
143
|
+
application_log_level_v2: typing.Optional[_ApplicationLogLevel_cd92660a] = None,
|
|
141
144
|
architecture: typing.Optional[_Architecture_12d5a53f] = None,
|
|
142
145
|
code_signing_config: typing.Optional[_ICodeSigningConfig_edb41d1f] = None,
|
|
143
146
|
current_version_options: typing.Optional[typing.Union[_VersionOptions_981bb3c0, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -171,6 +174,7 @@ class EdgeFunction(
|
|
|
171
174
|
security_groups: typing.Optional[typing.Sequence[_ISecurityGroup_acf8a799]] = None,
|
|
172
175
|
snap_start: typing.Optional[_SnapStartConf_2ffaa769] = None,
|
|
173
176
|
system_log_level: typing.Optional[builtins.str] = None,
|
|
177
|
+
system_log_level_v2: typing.Optional[_SystemLogLevel_aea49dc2] = None,
|
|
174
178
|
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
175
179
|
tracing: typing.Optional[_Tracing_9fe8e2bb] = None,
|
|
176
180
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
@@ -190,7 +194,8 @@ class EdgeFunction(
|
|
|
190
194
|
:param adot_instrumentation: Specify the configuration of AWS Distro for OpenTelemetry (ADOT) instrumentation. Default: - No ADOT instrumentation
|
|
191
195
|
: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
|
|
192
196
|
: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
|
|
193
|
-
:param application_log_level: Sets the application log level for the function. Default: "INFO"
|
|
197
|
+
:param application_log_level: (deprecated) Sets the application log level for the function. Default: "INFO"
|
|
198
|
+
:param application_log_level_v2: Sets the application log level for the function. Default: ApplicationLogLevel.INFO
|
|
194
199
|
:param architecture: The system architectures compatible with this lambda function. Default: Architecture.X86_64
|
|
195
200
|
:param code_signing_config: Code signing config associated with this function. Default: - Not Sign the Code
|
|
196
201
|
:param current_version_options: Options for the ``lambda.Version`` resource automatically created by the ``fn.currentVersion`` method. Default: - default options as described in ``VersionOptions``
|
|
@@ -208,7 +213,7 @@ class EdgeFunction(
|
|
|
208
213
|
:param insights_version: Specify the version of CloudWatch Lambda insights to use for monitoring. Default: - No Lambda Insights
|
|
209
214
|
: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
|
|
210
215
|
: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.
|
|
211
|
-
:param log_format: Sets the logFormat for the function. Default: "Text"
|
|
216
|
+
:param log_format: (deprecated) Sets the logFormat for the function. Default: "Text"
|
|
212
217
|
:param logging_format: Sets the loggingFormat for the function. Default: LoggingFormat.TEXT
|
|
213
218
|
: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
|
|
214
219
|
: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
|
|
@@ -223,7 +228,8 @@ class EdgeFunction(
|
|
|
223
228
|
:param runtime_management_mode: Sets the runtime management configuration for a function's version. Default: Auto
|
|
224
229
|
: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.
|
|
225
230
|
:param snap_start: Enable SnapStart for Lambda Function. SnapStart is currently supported only for Java 11, 17 runtime Default: - No snapstart
|
|
226
|
-
:param system_log_level: Sets the system log level for the function. Default: "INFO"
|
|
231
|
+
:param system_log_level: (deprecated) Sets the system log level for the function. Default: "INFO"
|
|
232
|
+
:param system_log_level_v2: Sets the system log level for the function. Default: SystemLogLevel.INFO
|
|
227
233
|
: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)
|
|
228
234
|
:param tracing: Enable AWS X-Ray Tracing for Lambda Function. Default: Tracing.Disabled
|
|
229
235
|
: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.
|
|
@@ -246,6 +252,7 @@ class EdgeFunction(
|
|
|
246
252
|
allow_all_outbound=allow_all_outbound,
|
|
247
253
|
allow_public_subnet=allow_public_subnet,
|
|
248
254
|
application_log_level=application_log_level,
|
|
255
|
+
application_log_level_v2=application_log_level_v2,
|
|
249
256
|
architecture=architecture,
|
|
250
257
|
code_signing_config=code_signing_config,
|
|
251
258
|
current_version_options=current_version_options,
|
|
@@ -279,6 +286,7 @@ class EdgeFunction(
|
|
|
279
286
|
security_groups=security_groups,
|
|
280
287
|
snap_start=snap_start,
|
|
281
288
|
system_log_level=system_log_level,
|
|
289
|
+
system_log_level_v2=system_log_level_v2,
|
|
282
290
|
timeout=timeout,
|
|
283
291
|
tracing=tracing,
|
|
284
292
|
vpc=vpc,
|
|
@@ -866,6 +874,7 @@ class EdgeFunction(
|
|
|
866
874
|
"allow_all_outbound": "allowAllOutbound",
|
|
867
875
|
"allow_public_subnet": "allowPublicSubnet",
|
|
868
876
|
"application_log_level": "applicationLogLevel",
|
|
877
|
+
"application_log_level_v2": "applicationLogLevelV2",
|
|
869
878
|
"architecture": "architecture",
|
|
870
879
|
"code_signing_config": "codeSigningConfig",
|
|
871
880
|
"current_version_options": "currentVersionOptions",
|
|
@@ -899,6 +908,7 @@ class EdgeFunction(
|
|
|
899
908
|
"security_groups": "securityGroups",
|
|
900
909
|
"snap_start": "snapStart",
|
|
901
910
|
"system_log_level": "systemLogLevel",
|
|
911
|
+
"system_log_level_v2": "systemLogLevelV2",
|
|
902
912
|
"timeout": "timeout",
|
|
903
913
|
"tracing": "tracing",
|
|
904
914
|
"vpc": "vpc",
|
|
@@ -921,6 +931,7 @@ class EdgeFunctionProps(_FunctionProps_a308e854):
|
|
|
921
931
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
922
932
|
allow_public_subnet: typing.Optional[builtins.bool] = None,
|
|
923
933
|
application_log_level: typing.Optional[builtins.str] = None,
|
|
934
|
+
application_log_level_v2: typing.Optional[_ApplicationLogLevel_cd92660a] = None,
|
|
924
935
|
architecture: typing.Optional[_Architecture_12d5a53f] = None,
|
|
925
936
|
code_signing_config: typing.Optional[_ICodeSigningConfig_edb41d1f] = None,
|
|
926
937
|
current_version_options: typing.Optional[typing.Union[_VersionOptions_981bb3c0, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -954,6 +965,7 @@ class EdgeFunctionProps(_FunctionProps_a308e854):
|
|
|
954
965
|
security_groups: typing.Optional[typing.Sequence[_ISecurityGroup_acf8a799]] = None,
|
|
955
966
|
snap_start: typing.Optional[_SnapStartConf_2ffaa769] = None,
|
|
956
967
|
system_log_level: typing.Optional[builtins.str] = None,
|
|
968
|
+
system_log_level_v2: typing.Optional[_SystemLogLevel_aea49dc2] = None,
|
|
957
969
|
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
958
970
|
tracing: typing.Optional[_Tracing_9fe8e2bb] = None,
|
|
959
971
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
@@ -972,7 +984,8 @@ class EdgeFunctionProps(_FunctionProps_a308e854):
|
|
|
972
984
|
:param adot_instrumentation: Specify the configuration of AWS Distro for OpenTelemetry (ADOT) instrumentation. Default: - No ADOT instrumentation
|
|
973
985
|
: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
|
|
974
986
|
: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
|
|
975
|
-
:param application_log_level: Sets the application log level for the function. Default: "INFO"
|
|
987
|
+
:param application_log_level: (deprecated) Sets the application log level for the function. Default: "INFO"
|
|
988
|
+
:param application_log_level_v2: Sets the application log level for the function. Default: ApplicationLogLevel.INFO
|
|
976
989
|
:param architecture: The system architectures compatible with this lambda function. Default: Architecture.X86_64
|
|
977
990
|
:param code_signing_config: Code signing config associated with this function. Default: - Not Sign the Code
|
|
978
991
|
:param current_version_options: Options for the ``lambda.Version`` resource automatically created by the ``fn.currentVersion`` method. Default: - default options as described in ``VersionOptions``
|
|
@@ -990,7 +1003,7 @@ class EdgeFunctionProps(_FunctionProps_a308e854):
|
|
|
990
1003
|
:param insights_version: Specify the version of CloudWatch Lambda insights to use for monitoring. Default: - No Lambda Insights
|
|
991
1004
|
: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
|
|
992
1005
|
: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.
|
|
993
|
-
:param log_format: Sets the logFormat for the function. Default: "Text"
|
|
1006
|
+
:param log_format: (deprecated) Sets the logFormat for the function. Default: "Text"
|
|
994
1007
|
:param logging_format: Sets the loggingFormat for the function. Default: LoggingFormat.TEXT
|
|
995
1008
|
: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
|
|
996
1009
|
: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
|
|
@@ -1005,7 +1018,8 @@ class EdgeFunctionProps(_FunctionProps_a308e854):
|
|
|
1005
1018
|
:param runtime_management_mode: Sets the runtime management configuration for a function's version. Default: Auto
|
|
1006
1019
|
: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.
|
|
1007
1020
|
:param snap_start: Enable SnapStart for Lambda Function. SnapStart is currently supported only for Java 11, 17 runtime Default: - No snapstart
|
|
1008
|
-
:param system_log_level: Sets the system log level for the function. Default: "INFO"
|
|
1021
|
+
:param system_log_level: (deprecated) Sets the system log level for the function. Default: "INFO"
|
|
1022
|
+
:param system_log_level_v2: Sets the system log level for the function. Default: SystemLogLevel.INFO
|
|
1009
1023
|
: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)
|
|
1010
1024
|
:param tracing: Enable AWS X-Ray Tracing for Lambda Function. Default: Tracing.Disabled
|
|
1011
1025
|
: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.
|
|
@@ -1056,6 +1070,7 @@ class EdgeFunctionProps(_FunctionProps_a308e854):
|
|
|
1056
1070
|
check_type(argname="argument allow_all_outbound", value=allow_all_outbound, expected_type=type_hints["allow_all_outbound"])
|
|
1057
1071
|
check_type(argname="argument allow_public_subnet", value=allow_public_subnet, expected_type=type_hints["allow_public_subnet"])
|
|
1058
1072
|
check_type(argname="argument application_log_level", value=application_log_level, expected_type=type_hints["application_log_level"])
|
|
1073
|
+
check_type(argname="argument application_log_level_v2", value=application_log_level_v2, expected_type=type_hints["application_log_level_v2"])
|
|
1059
1074
|
check_type(argname="argument architecture", value=architecture, expected_type=type_hints["architecture"])
|
|
1060
1075
|
check_type(argname="argument code_signing_config", value=code_signing_config, expected_type=type_hints["code_signing_config"])
|
|
1061
1076
|
check_type(argname="argument current_version_options", value=current_version_options, expected_type=type_hints["current_version_options"])
|
|
@@ -1089,6 +1104,7 @@ class EdgeFunctionProps(_FunctionProps_a308e854):
|
|
|
1089
1104
|
check_type(argname="argument security_groups", value=security_groups, expected_type=type_hints["security_groups"])
|
|
1090
1105
|
check_type(argname="argument snap_start", value=snap_start, expected_type=type_hints["snap_start"])
|
|
1091
1106
|
check_type(argname="argument system_log_level", value=system_log_level, expected_type=type_hints["system_log_level"])
|
|
1107
|
+
check_type(argname="argument system_log_level_v2", value=system_log_level_v2, expected_type=type_hints["system_log_level_v2"])
|
|
1092
1108
|
check_type(argname="argument timeout", value=timeout, expected_type=type_hints["timeout"])
|
|
1093
1109
|
check_type(argname="argument tracing", value=tracing, expected_type=type_hints["tracing"])
|
|
1094
1110
|
check_type(argname="argument vpc", value=vpc, expected_type=type_hints["vpc"])
|
|
@@ -1118,6 +1134,8 @@ class EdgeFunctionProps(_FunctionProps_a308e854):
|
|
|
1118
1134
|
self._values["allow_public_subnet"] = allow_public_subnet
|
|
1119
1135
|
if application_log_level is not None:
|
|
1120
1136
|
self._values["application_log_level"] = application_log_level
|
|
1137
|
+
if application_log_level_v2 is not None:
|
|
1138
|
+
self._values["application_log_level_v2"] = application_log_level_v2
|
|
1121
1139
|
if architecture is not None:
|
|
1122
1140
|
self._values["architecture"] = architecture
|
|
1123
1141
|
if code_signing_config is not None:
|
|
@@ -1184,6 +1202,8 @@ class EdgeFunctionProps(_FunctionProps_a308e854):
|
|
|
1184
1202
|
self._values["snap_start"] = snap_start
|
|
1185
1203
|
if system_log_level is not None:
|
|
1186
1204
|
self._values["system_log_level"] = system_log_level
|
|
1205
|
+
if system_log_level_v2 is not None:
|
|
1206
|
+
self._values["system_log_level_v2"] = system_log_level_v2
|
|
1187
1207
|
if timeout is not None:
|
|
1188
1208
|
self._values["timeout"] = timeout
|
|
1189
1209
|
if tracing is not None:
|
|
@@ -1280,13 +1300,28 @@ class EdgeFunctionProps(_FunctionProps_a308e854):
|
|
|
1280
1300
|
|
|
1281
1301
|
@builtins.property
|
|
1282
1302
|
def application_log_level(self) -> typing.Optional[builtins.str]:
|
|
1283
|
-
'''Sets the application log level for the function.
|
|
1303
|
+
'''(deprecated) Sets the application log level for the function.
|
|
1284
1304
|
|
|
1285
1305
|
:default: "INFO"
|
|
1306
|
+
|
|
1307
|
+
:deprecated: Use ``applicationLogLevelV2`` as a property instead.
|
|
1308
|
+
|
|
1309
|
+
:stability: deprecated
|
|
1286
1310
|
'''
|
|
1287
1311
|
result = self._values.get("application_log_level")
|
|
1288
1312
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1289
1313
|
|
|
1314
|
+
@builtins.property
|
|
1315
|
+
def application_log_level_v2(
|
|
1316
|
+
self,
|
|
1317
|
+
) -> typing.Optional[_ApplicationLogLevel_cd92660a]:
|
|
1318
|
+
'''Sets the application log level for the function.
|
|
1319
|
+
|
|
1320
|
+
:default: ApplicationLogLevel.INFO
|
|
1321
|
+
'''
|
|
1322
|
+
result = self._values.get("application_log_level_v2")
|
|
1323
|
+
return typing.cast(typing.Optional[_ApplicationLogLevel_cd92660a], result)
|
|
1324
|
+
|
|
1290
1325
|
@builtins.property
|
|
1291
1326
|
def architecture(self) -> typing.Optional[_Architecture_12d5a53f]:
|
|
1292
1327
|
'''The system architectures compatible with this lambda function.
|
|
@@ -1471,9 +1506,13 @@ class EdgeFunctionProps(_FunctionProps_a308e854):
|
|
|
1471
1506
|
|
|
1472
1507
|
@builtins.property
|
|
1473
1508
|
def log_format(self) -> typing.Optional[builtins.str]:
|
|
1474
|
-
'''Sets the logFormat for the function.
|
|
1509
|
+
'''(deprecated) Sets the logFormat for the function.
|
|
1475
1510
|
|
|
1476
1511
|
:default: "Text"
|
|
1512
|
+
|
|
1513
|
+
:deprecated: Use ``loggingFormat`` as a property instead.
|
|
1514
|
+
|
|
1515
|
+
:stability: deprecated
|
|
1477
1516
|
'''
|
|
1478
1517
|
result = self._values.get("log_format")
|
|
1479
1518
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -1679,13 +1718,26 @@ class EdgeFunctionProps(_FunctionProps_a308e854):
|
|
|
1679
1718
|
|
|
1680
1719
|
@builtins.property
|
|
1681
1720
|
def system_log_level(self) -> typing.Optional[builtins.str]:
|
|
1682
|
-
'''Sets the system log level for the function.
|
|
1721
|
+
'''(deprecated) Sets the system log level for the function.
|
|
1683
1722
|
|
|
1684
1723
|
:default: "INFO"
|
|
1724
|
+
|
|
1725
|
+
:deprecated: Use ``systemLogLevelV2`` as a property instead.
|
|
1726
|
+
|
|
1727
|
+
:stability: deprecated
|
|
1685
1728
|
'''
|
|
1686
1729
|
result = self._values.get("system_log_level")
|
|
1687
1730
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1688
1731
|
|
|
1732
|
+
@builtins.property
|
|
1733
|
+
def system_log_level_v2(self) -> typing.Optional[_SystemLogLevel_aea49dc2]:
|
|
1734
|
+
'''Sets the system log level for the function.
|
|
1735
|
+
|
|
1736
|
+
:default: SystemLogLevel.INFO
|
|
1737
|
+
'''
|
|
1738
|
+
result = self._values.get("system_log_level_v2")
|
|
1739
|
+
return typing.cast(typing.Optional[_SystemLogLevel_aea49dc2], result)
|
|
1740
|
+
|
|
1689
1741
|
@builtins.property
|
|
1690
1742
|
def timeout(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
1691
1743
|
'''The function execution time (in seconds) after which Lambda terminates the function.
|
|
@@ -1817,6 +1869,7 @@ def _typecheckingstub__b2f96e5632f259adb036f7aba2bbc7c19fd9840c647d67a10a8135cb3
|
|
|
1817
1869
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
1818
1870
|
allow_public_subnet: typing.Optional[builtins.bool] = None,
|
|
1819
1871
|
application_log_level: typing.Optional[builtins.str] = None,
|
|
1872
|
+
application_log_level_v2: typing.Optional[_ApplicationLogLevel_cd92660a] = None,
|
|
1820
1873
|
architecture: typing.Optional[_Architecture_12d5a53f] = None,
|
|
1821
1874
|
code_signing_config: typing.Optional[_ICodeSigningConfig_edb41d1f] = None,
|
|
1822
1875
|
current_version_options: typing.Optional[typing.Union[_VersionOptions_981bb3c0, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -1850,6 +1903,7 @@ def _typecheckingstub__b2f96e5632f259adb036f7aba2bbc7c19fd9840c647d67a10a8135cb3
|
|
|
1850
1903
|
security_groups: typing.Optional[typing.Sequence[_ISecurityGroup_acf8a799]] = None,
|
|
1851
1904
|
snap_start: typing.Optional[_SnapStartConf_2ffaa769] = None,
|
|
1852
1905
|
system_log_level: typing.Optional[builtins.str] = None,
|
|
1906
|
+
system_log_level_v2: typing.Optional[_SystemLogLevel_aea49dc2] = None,
|
|
1853
1907
|
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
1854
1908
|
tracing: typing.Optional[_Tracing_9fe8e2bb] = None,
|
|
1855
1909
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
@@ -1973,6 +2027,7 @@ def _typecheckingstub__709cdcb05c7a5fc7f7bcd1d72557097c39c5c534076a00b6b8db807bd
|
|
|
1973
2027
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
1974
2028
|
allow_public_subnet: typing.Optional[builtins.bool] = None,
|
|
1975
2029
|
application_log_level: typing.Optional[builtins.str] = None,
|
|
2030
|
+
application_log_level_v2: typing.Optional[_ApplicationLogLevel_cd92660a] = None,
|
|
1976
2031
|
architecture: typing.Optional[_Architecture_12d5a53f] = None,
|
|
1977
2032
|
code_signing_config: typing.Optional[_ICodeSigningConfig_edb41d1f] = None,
|
|
1978
2033
|
current_version_options: typing.Optional[typing.Union[_VersionOptions_981bb3c0, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -2006,6 +2061,7 @@ def _typecheckingstub__709cdcb05c7a5fc7f7bcd1d72557097c39c5c534076a00b6b8db807bd
|
|
|
2006
2061
|
security_groups: typing.Optional[typing.Sequence[_ISecurityGroup_acf8a799]] = None,
|
|
2007
2062
|
snap_start: typing.Optional[_SnapStartConf_2ffaa769] = None,
|
|
2008
2063
|
system_log_level: typing.Optional[builtins.str] = None,
|
|
2064
|
+
system_log_level_v2: typing.Optional[_SystemLogLevel_aea49dc2] = None,
|
|
2009
2065
|
timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
2010
2066
|
tracing: typing.Optional[_Tracing_9fe8e2bb] = None,
|
|
2011
2067
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|