cdk-common 2.0.1154__py3-none-any.whl → 2.0.1156__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.
- cdk_common/__init__.py +166 -15
- cdk_common/_jsii/__init__.py +1 -1
- cdk_common/_jsii/cdk-common@2.0.1156.jsii.tgz +0 -0
- {cdk_common-2.0.1154.dist-info → cdk_common-2.0.1156.dist-info}/METADATA +2 -2
- cdk_common-2.0.1156.dist-info/RECORD +9 -0
- cdk_common/_jsii/cdk-common@2.0.1154.jsii.tgz +0 -0
- cdk_common-2.0.1154.dist-info/RECORD +0 -9
- {cdk_common-2.0.1154.dist-info → cdk_common-2.0.1156.dist-info}/LICENSE +0 -0
- {cdk_common-2.0.1154.dist-info → cdk_common-2.0.1156.dist-info}/WHEEL +0 -0
- {cdk_common-2.0.1154.dist-info → cdk_common-2.0.1156.dist-info}/top_level.txt +0 -0
cdk_common/__init__.py
CHANGED
@@ -5467,9 +5467,11 @@ class LambdaArmFunction(
|
|
5467
5467
|
handler: builtins.str,
|
5468
5468
|
runtime: _aws_cdk_aws_lambda_ceddda9d.Runtime,
|
5469
5469
|
adot_instrumentation: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
5470
|
+
allow_all_ipv6_outbound: typing.Optional[builtins.bool] = None,
|
5470
5471
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
5471
5472
|
allow_public_subnet: typing.Optional[builtins.bool] = None,
|
5472
5473
|
application_log_level: typing.Optional[builtins.str] = None,
|
5474
|
+
application_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ApplicationLogLevel] = None,
|
5473
5475
|
architecture: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture] = None,
|
5474
5476
|
code_signing_config: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig] = None,
|
5475
5477
|
current_version_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.VersionOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
@@ -5485,8 +5487,10 @@ class LambdaArmFunction(
|
|
5485
5487
|
function_name: typing.Optional[builtins.str] = None,
|
5486
5488
|
initial_policy: typing.Optional[typing.Sequence[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]] = None,
|
5487
5489
|
insights_version: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion] = None,
|
5490
|
+
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
5488
5491
|
layers: typing.Optional[typing.Sequence[_aws_cdk_aws_lambda_ceddda9d.ILayerVersion]] = None,
|
5489
5492
|
log_format: typing.Optional[builtins.str] = None,
|
5493
|
+
logging_format: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LoggingFormat] = None,
|
5490
5494
|
log_group: typing.Optional[_aws_cdk_aws_logs_ceddda9d.ILogGroup] = None,
|
5491
5495
|
log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
|
5492
5496
|
log_retention_retry_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
@@ -5495,12 +5499,14 @@ class LambdaArmFunction(
|
|
5495
5499
|
params_and_secrets: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion] = None,
|
5496
5500
|
profiling: typing.Optional[builtins.bool] = None,
|
5497
5501
|
profiling_group: typing.Optional[_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup] = None,
|
5502
|
+
recursive_loop: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RecursiveLoop] = None,
|
5498
5503
|
reserved_concurrent_executions: typing.Optional[jsii.Number] = None,
|
5499
5504
|
role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
5500
5505
|
runtime_management_mode: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode] = None,
|
5501
5506
|
security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
|
5502
5507
|
snap_start: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SnapStartConf] = None,
|
5503
5508
|
system_log_level: typing.Optional[builtins.str] = None,
|
5509
|
+
system_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SystemLogLevel] = None,
|
5504
5510
|
timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
5505
5511
|
tracing: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing] = None,
|
5506
5512
|
vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
@@ -5517,9 +5523,11 @@ class LambdaArmFunction(
|
|
5517
5523
|
:param handler: The name of the method within your code that Lambda calls to execute your function. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html. Use ``Handler.FROM_IMAGE`` when defining a function from a Docker image. NOTE: If you specify your source code as inline text by specifying the ZipFile property within the Code property, specify index.function_name as the handler.
|
5518
5524
|
:param runtime: The runtime environment for the Lambda function that you are uploading. For valid values, see the Runtime property in the AWS Lambda Developer Guide. Use ``Runtime.FROM_IMAGE`` when defining a function from a Docker image.
|
5519
5525
|
:param adot_instrumentation: Specify the configuration of AWS Distro for OpenTelemetry (ADOT) instrumentation. Default: - No ADOT instrumentation
|
5520
|
-
:param
|
5526
|
+
: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
|
5527
|
+
: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
|
5521
5528
|
: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
|
5522
|
-
:param application_log_level: Sets the application log level for the function. Default: "INFO"
|
5529
|
+
:param application_log_level: (deprecated) Sets the application log level for the function. Default: "INFO"
|
5530
|
+
:param application_log_level_v2: Sets the application log level for the function. Default: ApplicationLogLevel.INFO
|
5523
5531
|
:param architecture: The system architectures compatible with this lambda function. Default: Architecture.X86_64
|
5524
5532
|
:param code_signing_config: Code signing config associated with this function. Default: - Not Sign the Code
|
5525
5533
|
:param current_version_options: Options for the ``lambda.Version`` resource automatically created by the ``fn.currentVersion`` method. Default: - default options as described in ``VersionOptions``
|
@@ -5535,8 +5543,10 @@ class LambdaArmFunction(
|
|
5535
5543
|
:param function_name: A name for the function. Default: - AWS CloudFormation generates a unique physical ID and uses that ID for the function's name. For more information, see Name Type.
|
5536
5544
|
:param initial_policy: Initial policy statements to add to the created Lambda Role. You can call ``addToRolePolicy`` to the created lambda to add statements post creation. Default: - No policy statements are added to the created Lambda role.
|
5537
5545
|
:param insights_version: Specify the version of CloudWatch Lambda insights to use for monitoring. Default: - No Lambda Insights
|
5546
|
+
: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
|
5538
5547
|
: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.
|
5539
|
-
:param log_format: Sets the logFormat for the function. Default: "Text"
|
5548
|
+
:param log_format: (deprecated) Sets the logFormat for the function. Default: "Text"
|
5549
|
+
:param logging_format: Sets the loggingFormat for the function. Default: LoggingFormat.TEXT
|
5540
5550
|
: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
|
5541
5551
|
: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
|
5542
5552
|
:param log_retention_retry_options: When log retention is specified, a custom resource attempts to create the CloudWatch log group. These options control the retry policy when interacting with CloudWatch APIs. This is a legacy API and we strongly recommend you migrate to ``logGroup`` if you can. ``logGroup`` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it. Default: - Default AWS SDK retry options.
|
@@ -5545,12 +5555,14 @@ class LambdaArmFunction(
|
|
5545
5555
|
:param params_and_secrets: Specify the configuration of Parameters and Secrets Extension. Default: - No Parameters and Secrets Extension
|
5546
5556
|
:param profiling: Enable profiling. Default: - No profiling.
|
5547
5557
|
:param profiling_group: Profiling Group. Default: - A new profiling group will be created if ``profiling`` is set.
|
5558
|
+
:param recursive_loop: Sets the Recursive Loop Protection for Lambda Function. It lets Lambda detect and terminate unintended recursive loops. Default: RecursiveLoop.Terminate
|
5548
5559
|
:param reserved_concurrent_executions: The maximum of concurrent executions you want to reserve for the function. Default: - No specific limit - account limit.
|
5549
5560
|
:param role: Lambda execution role. This is the role that will be assumed by the function upon execution. It controls the permissions that the function will have. The Role must be assumable by the 'lambda.amazonaws.com' service principal. The default Role automatically has permissions granted for Lambda execution. If you provide a Role, you must add the relevant AWS managed policies yourself. The relevant managed policies are "service-role/AWSLambdaBasicExecutionRole" and "service-role/AWSLambdaVPCAccessExecutionRole". Default: - A unique role will be generated for this lambda function. Both supplied and generated roles can always be changed by calling ``addToRolePolicy``.
|
5550
5561
|
:param runtime_management_mode: Sets the runtime management configuration for a function's version. Default: Auto
|
5551
5562
|
: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.
|
5552
|
-
:param snap_start: Enable SnapStart for Lambda Function. SnapStart is currently supported
|
5553
|
-
:param system_log_level: Sets the system log level for the function. Default: "INFO"
|
5563
|
+
:param snap_start: Enable SnapStart for Lambda Function. SnapStart is currently supported for Java 11, Java 17, Python 3.12, Python 3.13, and .NET 8 runtime Default: - No snapstart
|
5564
|
+
:param system_log_level: (deprecated) Sets the system log level for the function. Default: "INFO"
|
5565
|
+
:param system_log_level_v2: Sets the system log level for the function. Default: SystemLogLevel.INFO
|
5554
5566
|
: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)
|
5555
5567
|
:param tracing: Enable AWS X-Ray Tracing for Lambda Function. Default: Tracing.Disabled
|
5556
5568
|
: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.
|
@@ -5571,9 +5583,11 @@ class LambdaArmFunction(
|
|
5571
5583
|
handler=handler,
|
5572
5584
|
runtime=runtime,
|
5573
5585
|
adot_instrumentation=adot_instrumentation,
|
5586
|
+
allow_all_ipv6_outbound=allow_all_ipv6_outbound,
|
5574
5587
|
allow_all_outbound=allow_all_outbound,
|
5575
5588
|
allow_public_subnet=allow_public_subnet,
|
5576
5589
|
application_log_level=application_log_level,
|
5590
|
+
application_log_level_v2=application_log_level_v2,
|
5577
5591
|
architecture=architecture,
|
5578
5592
|
code_signing_config=code_signing_config,
|
5579
5593
|
current_version_options=current_version_options,
|
@@ -5589,8 +5603,10 @@ class LambdaArmFunction(
|
|
5589
5603
|
function_name=function_name,
|
5590
5604
|
initial_policy=initial_policy,
|
5591
5605
|
insights_version=insights_version,
|
5606
|
+
ipv6_allowed_for_dual_stack=ipv6_allowed_for_dual_stack,
|
5592
5607
|
layers=layers,
|
5593
5608
|
log_format=log_format,
|
5609
|
+
logging_format=logging_format,
|
5594
5610
|
log_group=log_group,
|
5595
5611
|
log_retention=log_retention,
|
5596
5612
|
log_retention_retry_options=log_retention_retry_options,
|
@@ -5599,12 +5615,14 @@ class LambdaArmFunction(
|
|
5599
5615
|
params_and_secrets=params_and_secrets,
|
5600
5616
|
profiling=profiling,
|
5601
5617
|
profiling_group=profiling_group,
|
5618
|
+
recursive_loop=recursive_loop,
|
5602
5619
|
reserved_concurrent_executions=reserved_concurrent_executions,
|
5603
5620
|
role=role,
|
5604
5621
|
runtime_management_mode=runtime_management_mode,
|
5605
5622
|
security_groups=security_groups,
|
5606
5623
|
snap_start=snap_start,
|
5607
5624
|
system_log_level=system_log_level,
|
5625
|
+
system_log_level_v2=system_log_level_v2,
|
5608
5626
|
timeout=timeout,
|
5609
5627
|
tracing=tracing,
|
5610
5628
|
vpc=vpc,
|
@@ -5635,9 +5653,11 @@ class LambdaArmFunction(
|
|
5635
5653
|
"on_success": "onSuccess",
|
5636
5654
|
"retry_attempts": "retryAttempts",
|
5637
5655
|
"adot_instrumentation": "adotInstrumentation",
|
5656
|
+
"allow_all_ipv6_outbound": "allowAllIpv6Outbound",
|
5638
5657
|
"allow_all_outbound": "allowAllOutbound",
|
5639
5658
|
"allow_public_subnet": "allowPublicSubnet",
|
5640
5659
|
"application_log_level": "applicationLogLevel",
|
5660
|
+
"application_log_level_v2": "applicationLogLevelV2",
|
5641
5661
|
"architecture": "architecture",
|
5642
5662
|
"code_signing_config": "codeSigningConfig",
|
5643
5663
|
"current_version_options": "currentVersionOptions",
|
@@ -5653,8 +5673,10 @@ class LambdaArmFunction(
|
|
5653
5673
|
"function_name": "functionName",
|
5654
5674
|
"initial_policy": "initialPolicy",
|
5655
5675
|
"insights_version": "insightsVersion",
|
5676
|
+
"ipv6_allowed_for_dual_stack": "ipv6AllowedForDualStack",
|
5656
5677
|
"layers": "layers",
|
5657
5678
|
"log_format": "logFormat",
|
5679
|
+
"logging_format": "loggingFormat",
|
5658
5680
|
"log_group": "logGroup",
|
5659
5681
|
"log_retention": "logRetention",
|
5660
5682
|
"log_retention_retry_options": "logRetentionRetryOptions",
|
@@ -5663,12 +5685,14 @@ class LambdaArmFunction(
|
|
5663
5685
|
"params_and_secrets": "paramsAndSecrets",
|
5664
5686
|
"profiling": "profiling",
|
5665
5687
|
"profiling_group": "profilingGroup",
|
5688
|
+
"recursive_loop": "recursiveLoop",
|
5666
5689
|
"reserved_concurrent_executions": "reservedConcurrentExecutions",
|
5667
5690
|
"role": "role",
|
5668
5691
|
"runtime_management_mode": "runtimeManagementMode",
|
5669
5692
|
"security_groups": "securityGroups",
|
5670
5693
|
"snap_start": "snapStart",
|
5671
5694
|
"system_log_level": "systemLogLevel",
|
5695
|
+
"system_log_level_v2": "systemLogLevelV2",
|
5672
5696
|
"timeout": "timeout",
|
5673
5697
|
"tracing": "tracing",
|
5674
5698
|
"vpc": "vpc",
|
@@ -5687,9 +5711,11 @@ class LambdaArmFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionProps):
|
|
5687
5711
|
on_success: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.IDestination] = None,
|
5688
5712
|
retry_attempts: typing.Optional[jsii.Number] = None,
|
5689
5713
|
adot_instrumentation: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
5714
|
+
allow_all_ipv6_outbound: typing.Optional[builtins.bool] = None,
|
5690
5715
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
5691
5716
|
allow_public_subnet: typing.Optional[builtins.bool] = None,
|
5692
5717
|
application_log_level: typing.Optional[builtins.str] = None,
|
5718
|
+
application_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ApplicationLogLevel] = None,
|
5693
5719
|
architecture: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture] = None,
|
5694
5720
|
code_signing_config: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig] = None,
|
5695
5721
|
current_version_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.VersionOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
@@ -5705,8 +5731,10 @@ class LambdaArmFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionProps):
|
|
5705
5731
|
function_name: typing.Optional[builtins.str] = None,
|
5706
5732
|
initial_policy: typing.Optional[typing.Sequence[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]] = None,
|
5707
5733
|
insights_version: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion] = None,
|
5734
|
+
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
5708
5735
|
layers: typing.Optional[typing.Sequence[_aws_cdk_aws_lambda_ceddda9d.ILayerVersion]] = None,
|
5709
5736
|
log_format: typing.Optional[builtins.str] = None,
|
5737
|
+
logging_format: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LoggingFormat] = None,
|
5710
5738
|
log_group: typing.Optional[_aws_cdk_aws_logs_ceddda9d.ILogGroup] = None,
|
5711
5739
|
log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
|
5712
5740
|
log_retention_retry_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
@@ -5715,12 +5743,14 @@ class LambdaArmFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionProps):
|
|
5715
5743
|
params_and_secrets: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion] = None,
|
5716
5744
|
profiling: typing.Optional[builtins.bool] = None,
|
5717
5745
|
profiling_group: typing.Optional[_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup] = None,
|
5746
|
+
recursive_loop: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RecursiveLoop] = None,
|
5718
5747
|
reserved_concurrent_executions: typing.Optional[jsii.Number] = None,
|
5719
5748
|
role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
5720
5749
|
runtime_management_mode: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode] = None,
|
5721
5750
|
security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
|
5722
5751
|
snap_start: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SnapStartConf] = None,
|
5723
5752
|
system_log_level: typing.Optional[builtins.str] = None,
|
5753
|
+
system_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SystemLogLevel] = None,
|
5724
5754
|
timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
5725
5755
|
tracing: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing] = None,
|
5726
5756
|
vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
@@ -5735,9 +5765,11 @@ class LambdaArmFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionProps):
|
|
5735
5765
|
:param on_success: The destination for successful invocations. Default: - no destination
|
5736
5766
|
:param retry_attempts: The maximum number of times to retry when the function returns an error. Minimum: 0 Maximum: 2 Default: 2
|
5737
5767
|
:param adot_instrumentation: Specify the configuration of AWS Distro for OpenTelemetry (ADOT) instrumentation. Default: - No ADOT instrumentation
|
5738
|
-
:param
|
5768
|
+
: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
|
5769
|
+
: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
|
5739
5770
|
: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
|
5740
|
-
:param application_log_level: Sets the application log level for the function. Default: "INFO"
|
5771
|
+
:param application_log_level: (deprecated) Sets the application log level for the function. Default: "INFO"
|
5772
|
+
:param application_log_level_v2: Sets the application log level for the function. Default: ApplicationLogLevel.INFO
|
5741
5773
|
:param architecture: The system architectures compatible with this lambda function. Default: Architecture.X86_64
|
5742
5774
|
:param code_signing_config: Code signing config associated with this function. Default: - Not Sign the Code
|
5743
5775
|
:param current_version_options: Options for the ``lambda.Version`` resource automatically created by the ``fn.currentVersion`` method. Default: - default options as described in ``VersionOptions``
|
@@ -5753,8 +5785,10 @@ class LambdaArmFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionProps):
|
|
5753
5785
|
:param function_name: A name for the function. Default: - AWS CloudFormation generates a unique physical ID and uses that ID for the function's name. For more information, see Name Type.
|
5754
5786
|
:param initial_policy: Initial policy statements to add to the created Lambda Role. You can call ``addToRolePolicy`` to the created lambda to add statements post creation. Default: - No policy statements are added to the created Lambda role.
|
5755
5787
|
:param insights_version: Specify the version of CloudWatch Lambda insights to use for monitoring. Default: - No Lambda Insights
|
5788
|
+
: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
|
5756
5789
|
: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.
|
5757
|
-
:param log_format: Sets the logFormat for the function. Default: "Text"
|
5790
|
+
:param log_format: (deprecated) Sets the logFormat for the function. Default: "Text"
|
5791
|
+
:param logging_format: Sets the loggingFormat for the function. Default: LoggingFormat.TEXT
|
5758
5792
|
: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
|
5759
5793
|
: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
|
5760
5794
|
:param log_retention_retry_options: When log retention is specified, a custom resource attempts to create the CloudWatch log group. These options control the retry policy when interacting with CloudWatch APIs. This is a legacy API and we strongly recommend you migrate to ``logGroup`` if you can. ``logGroup`` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it. Default: - Default AWS SDK retry options.
|
@@ -5763,12 +5797,14 @@ class LambdaArmFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionProps):
|
|
5763
5797
|
:param params_and_secrets: Specify the configuration of Parameters and Secrets Extension. Default: - No Parameters and Secrets Extension
|
5764
5798
|
:param profiling: Enable profiling. Default: - No profiling.
|
5765
5799
|
:param profiling_group: Profiling Group. Default: - A new profiling group will be created if ``profiling`` is set.
|
5800
|
+
:param recursive_loop: Sets the Recursive Loop Protection for Lambda Function. It lets Lambda detect and terminate unintended recursive loops. Default: RecursiveLoop.Terminate
|
5766
5801
|
:param reserved_concurrent_executions: The maximum of concurrent executions you want to reserve for the function. Default: - No specific limit - account limit.
|
5767
5802
|
:param role: Lambda execution role. This is the role that will be assumed by the function upon execution. It controls the permissions that the function will have. The Role must be assumable by the 'lambda.amazonaws.com' service principal. The default Role automatically has permissions granted for Lambda execution. If you provide a Role, you must add the relevant AWS managed policies yourself. The relevant managed policies are "service-role/AWSLambdaBasicExecutionRole" and "service-role/AWSLambdaVPCAccessExecutionRole". Default: - A unique role will be generated for this lambda function. Both supplied and generated roles can always be changed by calling ``addToRolePolicy``.
|
5768
5803
|
:param runtime_management_mode: Sets the runtime management configuration for a function's version. Default: Auto
|
5769
5804
|
: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.
|
5770
|
-
:param snap_start: Enable SnapStart for Lambda Function. SnapStart is currently supported
|
5771
|
-
:param system_log_level: Sets the system log level for the function. Default: "INFO"
|
5805
|
+
:param snap_start: Enable SnapStart for Lambda Function. SnapStart is currently supported for Java 11, Java 17, Python 3.12, Python 3.13, and .NET 8 runtime Default: - No snapstart
|
5806
|
+
:param system_log_level: (deprecated) Sets the system log level for the function. Default: "INFO"
|
5807
|
+
:param system_log_level_v2: Sets the system log level for the function. Default: SystemLogLevel.INFO
|
5772
5808
|
: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)
|
5773
5809
|
:param tracing: Enable AWS X-Ray Tracing for Lambda Function. Default: Tracing.Disabled
|
5774
5810
|
: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.
|
@@ -5794,9 +5830,11 @@ class LambdaArmFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionProps):
|
|
5794
5830
|
check_type(argname="argument on_success", value=on_success, expected_type=type_hints["on_success"])
|
5795
5831
|
check_type(argname="argument retry_attempts", value=retry_attempts, expected_type=type_hints["retry_attempts"])
|
5796
5832
|
check_type(argname="argument adot_instrumentation", value=adot_instrumentation, expected_type=type_hints["adot_instrumentation"])
|
5833
|
+
check_type(argname="argument allow_all_ipv6_outbound", value=allow_all_ipv6_outbound, expected_type=type_hints["allow_all_ipv6_outbound"])
|
5797
5834
|
check_type(argname="argument allow_all_outbound", value=allow_all_outbound, expected_type=type_hints["allow_all_outbound"])
|
5798
5835
|
check_type(argname="argument allow_public_subnet", value=allow_public_subnet, expected_type=type_hints["allow_public_subnet"])
|
5799
5836
|
check_type(argname="argument application_log_level", value=application_log_level, expected_type=type_hints["application_log_level"])
|
5837
|
+
check_type(argname="argument application_log_level_v2", value=application_log_level_v2, expected_type=type_hints["application_log_level_v2"])
|
5800
5838
|
check_type(argname="argument architecture", value=architecture, expected_type=type_hints["architecture"])
|
5801
5839
|
check_type(argname="argument code_signing_config", value=code_signing_config, expected_type=type_hints["code_signing_config"])
|
5802
5840
|
check_type(argname="argument current_version_options", value=current_version_options, expected_type=type_hints["current_version_options"])
|
@@ -5812,8 +5850,10 @@ class LambdaArmFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionProps):
|
|
5812
5850
|
check_type(argname="argument function_name", value=function_name, expected_type=type_hints["function_name"])
|
5813
5851
|
check_type(argname="argument initial_policy", value=initial_policy, expected_type=type_hints["initial_policy"])
|
5814
5852
|
check_type(argname="argument insights_version", value=insights_version, expected_type=type_hints["insights_version"])
|
5853
|
+
check_type(argname="argument ipv6_allowed_for_dual_stack", value=ipv6_allowed_for_dual_stack, expected_type=type_hints["ipv6_allowed_for_dual_stack"])
|
5815
5854
|
check_type(argname="argument layers", value=layers, expected_type=type_hints["layers"])
|
5816
5855
|
check_type(argname="argument log_format", value=log_format, expected_type=type_hints["log_format"])
|
5856
|
+
check_type(argname="argument logging_format", value=logging_format, expected_type=type_hints["logging_format"])
|
5817
5857
|
check_type(argname="argument log_group", value=log_group, expected_type=type_hints["log_group"])
|
5818
5858
|
check_type(argname="argument log_retention", value=log_retention, expected_type=type_hints["log_retention"])
|
5819
5859
|
check_type(argname="argument log_retention_retry_options", value=log_retention_retry_options, expected_type=type_hints["log_retention_retry_options"])
|
@@ -5822,12 +5862,14 @@ class LambdaArmFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionProps):
|
|
5822
5862
|
check_type(argname="argument params_and_secrets", value=params_and_secrets, expected_type=type_hints["params_and_secrets"])
|
5823
5863
|
check_type(argname="argument profiling", value=profiling, expected_type=type_hints["profiling"])
|
5824
5864
|
check_type(argname="argument profiling_group", value=profiling_group, expected_type=type_hints["profiling_group"])
|
5865
|
+
check_type(argname="argument recursive_loop", value=recursive_loop, expected_type=type_hints["recursive_loop"])
|
5825
5866
|
check_type(argname="argument reserved_concurrent_executions", value=reserved_concurrent_executions, expected_type=type_hints["reserved_concurrent_executions"])
|
5826
5867
|
check_type(argname="argument role", value=role, expected_type=type_hints["role"])
|
5827
5868
|
check_type(argname="argument runtime_management_mode", value=runtime_management_mode, expected_type=type_hints["runtime_management_mode"])
|
5828
5869
|
check_type(argname="argument security_groups", value=security_groups, expected_type=type_hints["security_groups"])
|
5829
5870
|
check_type(argname="argument snap_start", value=snap_start, expected_type=type_hints["snap_start"])
|
5830
5871
|
check_type(argname="argument system_log_level", value=system_log_level, expected_type=type_hints["system_log_level"])
|
5872
|
+
check_type(argname="argument system_log_level_v2", value=system_log_level_v2, expected_type=type_hints["system_log_level_v2"])
|
5831
5873
|
check_type(argname="argument timeout", value=timeout, expected_type=type_hints["timeout"])
|
5832
5874
|
check_type(argname="argument tracing", value=tracing, expected_type=type_hints["tracing"])
|
5833
5875
|
check_type(argname="argument vpc", value=vpc, expected_type=type_hints["vpc"])
|
@@ -5850,12 +5892,16 @@ class LambdaArmFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionProps):
|
|
5850
5892
|
self._values["retry_attempts"] = retry_attempts
|
5851
5893
|
if adot_instrumentation is not None:
|
5852
5894
|
self._values["adot_instrumentation"] = adot_instrumentation
|
5895
|
+
if allow_all_ipv6_outbound is not None:
|
5896
|
+
self._values["allow_all_ipv6_outbound"] = allow_all_ipv6_outbound
|
5853
5897
|
if allow_all_outbound is not None:
|
5854
5898
|
self._values["allow_all_outbound"] = allow_all_outbound
|
5855
5899
|
if allow_public_subnet is not None:
|
5856
5900
|
self._values["allow_public_subnet"] = allow_public_subnet
|
5857
5901
|
if application_log_level is not None:
|
5858
5902
|
self._values["application_log_level"] = application_log_level
|
5903
|
+
if application_log_level_v2 is not None:
|
5904
|
+
self._values["application_log_level_v2"] = application_log_level_v2
|
5859
5905
|
if architecture is not None:
|
5860
5906
|
self._values["architecture"] = architecture
|
5861
5907
|
if code_signing_config is not None:
|
@@ -5886,10 +5932,14 @@ class LambdaArmFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionProps):
|
|
5886
5932
|
self._values["initial_policy"] = initial_policy
|
5887
5933
|
if insights_version is not None:
|
5888
5934
|
self._values["insights_version"] = insights_version
|
5935
|
+
if ipv6_allowed_for_dual_stack is not None:
|
5936
|
+
self._values["ipv6_allowed_for_dual_stack"] = ipv6_allowed_for_dual_stack
|
5889
5937
|
if layers is not None:
|
5890
5938
|
self._values["layers"] = layers
|
5891
5939
|
if log_format is not None:
|
5892
5940
|
self._values["log_format"] = log_format
|
5941
|
+
if logging_format is not None:
|
5942
|
+
self._values["logging_format"] = logging_format
|
5893
5943
|
if log_group is not None:
|
5894
5944
|
self._values["log_group"] = log_group
|
5895
5945
|
if log_retention is not None:
|
@@ -5906,6 +5956,8 @@ class LambdaArmFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionProps):
|
|
5906
5956
|
self._values["profiling"] = profiling
|
5907
5957
|
if profiling_group is not None:
|
5908
5958
|
self._values["profiling_group"] = profiling_group
|
5959
|
+
if recursive_loop is not None:
|
5960
|
+
self._values["recursive_loop"] = recursive_loop
|
5909
5961
|
if reserved_concurrent_executions is not None:
|
5910
5962
|
self._values["reserved_concurrent_executions"] = reserved_concurrent_executions
|
5911
5963
|
if role is not None:
|
@@ -5918,6 +5970,8 @@ class LambdaArmFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionProps):
|
|
5918
5970
|
self._values["snap_start"] = snap_start
|
5919
5971
|
if system_log_level is not None:
|
5920
5972
|
self._values["system_log_level"] = system_log_level
|
5973
|
+
if system_log_level_v2 is not None:
|
5974
|
+
self._values["system_log_level_v2"] = system_log_level_v2
|
5921
5975
|
if timeout is not None:
|
5922
5976
|
self._values["timeout"] = timeout
|
5923
5977
|
if tracing is not None:
|
@@ -5982,9 +6036,25 @@ class LambdaArmFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionProps):
|
|
5982
6036
|
result = self._values.get("adot_instrumentation")
|
5983
6037
|
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig], result)
|
5984
6038
|
|
6039
|
+
@builtins.property
|
6040
|
+
def allow_all_ipv6_outbound(self) -> typing.Optional[builtins.bool]:
|
6041
|
+
'''Whether to allow the Lambda to send all ipv6 network traffic.
|
6042
|
+
|
6043
|
+
If set to true, there will only be a single egress rule which allows all
|
6044
|
+
outbound ipv6 traffic. If set to false, you must individually add traffic rules to allow the
|
6045
|
+
Lambda to connect to network targets using ipv6.
|
6046
|
+
|
6047
|
+
Do not specify this property if the ``securityGroups`` or ``securityGroup`` property is set.
|
6048
|
+
Instead, configure ``allowAllIpv6Outbound`` directly on the security group.
|
6049
|
+
|
6050
|
+
:default: false
|
6051
|
+
'''
|
6052
|
+
result = self._values.get("allow_all_ipv6_outbound")
|
6053
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
6054
|
+
|
5985
6055
|
@builtins.property
|
5986
6056
|
def allow_all_outbound(self) -> typing.Optional[builtins.bool]:
|
5987
|
-
'''Whether to allow the Lambda to send all network traffic.
|
6057
|
+
'''Whether to allow the Lambda to send all network traffic (except ipv6).
|
5988
6058
|
|
5989
6059
|
If set to false, you must individually add traffic rules to allow the
|
5990
6060
|
Lambda to connect to network targets.
|
@@ -6012,13 +6082,28 @@ class LambdaArmFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionProps):
|
|
6012
6082
|
|
6013
6083
|
@builtins.property
|
6014
6084
|
def application_log_level(self) -> typing.Optional[builtins.str]:
|
6015
|
-
'''Sets the application log level for the function.
|
6085
|
+
'''(deprecated) Sets the application log level for the function.
|
6016
6086
|
|
6017
6087
|
:default: "INFO"
|
6088
|
+
|
6089
|
+
:deprecated: Use ``applicationLogLevelV2`` as a property instead.
|
6090
|
+
|
6091
|
+
:stability: deprecated
|
6018
6092
|
'''
|
6019
6093
|
result = self._values.get("application_log_level")
|
6020
6094
|
return typing.cast(typing.Optional[builtins.str], result)
|
6021
6095
|
|
6096
|
+
@builtins.property
|
6097
|
+
def application_log_level_v2(
|
6098
|
+
self,
|
6099
|
+
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ApplicationLogLevel]:
|
6100
|
+
'''Sets the application log level for the function.
|
6101
|
+
|
6102
|
+
:default: ApplicationLogLevel.INFO
|
6103
|
+
'''
|
6104
|
+
result = self._values.get("application_log_level_v2")
|
6105
|
+
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ApplicationLogLevel], result)
|
6106
|
+
|
6022
6107
|
@builtins.property
|
6023
6108
|
def architecture(
|
6024
6109
|
self,
|
@@ -6189,6 +6274,17 @@ class LambdaArmFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionProps):
|
|
6189
6274
|
result = self._values.get("insights_version")
|
6190
6275
|
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion], result)
|
6191
6276
|
|
6277
|
+
@builtins.property
|
6278
|
+
def ipv6_allowed_for_dual_stack(self) -> typing.Optional[builtins.bool]:
|
6279
|
+
'''Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
|
6280
|
+
|
6281
|
+
Only used if 'vpc' is supplied.
|
6282
|
+
|
6283
|
+
:default: false
|
6284
|
+
'''
|
6285
|
+
result = self._values.get("ipv6_allowed_for_dual_stack")
|
6286
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
6287
|
+
|
6192
6288
|
@builtins.property
|
6193
6289
|
def layers(
|
6194
6290
|
self,
|
@@ -6206,13 +6302,28 @@ class LambdaArmFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionProps):
|
|
6206
6302
|
|
6207
6303
|
@builtins.property
|
6208
6304
|
def log_format(self) -> typing.Optional[builtins.str]:
|
6209
|
-
'''Sets the logFormat for the function.
|
6305
|
+
'''(deprecated) Sets the logFormat for the function.
|
6210
6306
|
|
6211
6307
|
:default: "Text"
|
6308
|
+
|
6309
|
+
:deprecated: Use ``loggingFormat`` as a property instead.
|
6310
|
+
|
6311
|
+
:stability: deprecated
|
6212
6312
|
'''
|
6213
6313
|
result = self._values.get("log_format")
|
6214
6314
|
return typing.cast(typing.Optional[builtins.str], result)
|
6215
6315
|
|
6316
|
+
@builtins.property
|
6317
|
+
def logging_format(
|
6318
|
+
self,
|
6319
|
+
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LoggingFormat]:
|
6320
|
+
'''Sets the loggingFormat for the function.
|
6321
|
+
|
6322
|
+
:default: LoggingFormat.TEXT
|
6323
|
+
'''
|
6324
|
+
result = self._values.get("logging_format")
|
6325
|
+
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LoggingFormat], result)
|
6326
|
+
|
6216
6327
|
@builtins.property
|
6217
6328
|
def log_group(self) -> typing.Optional[_aws_cdk_aws_logs_ceddda9d.ILogGroup]:
|
6218
6329
|
'''The log group the function sends logs to.
|
@@ -6336,6 +6447,19 @@ class LambdaArmFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionProps):
|
|
6336
6447
|
result = self._values.get("profiling_group")
|
6337
6448
|
return typing.cast(typing.Optional[_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup], result)
|
6338
6449
|
|
6450
|
+
@builtins.property
|
6451
|
+
def recursive_loop(
|
6452
|
+
self,
|
6453
|
+
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RecursiveLoop]:
|
6454
|
+
'''Sets the Recursive Loop Protection for Lambda Function.
|
6455
|
+
|
6456
|
+
It lets Lambda detect and terminate unintended recursive loops.
|
6457
|
+
|
6458
|
+
:default: RecursiveLoop.Terminate
|
6459
|
+
'''
|
6460
|
+
result = self._values.get("recursive_loop")
|
6461
|
+
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RecursiveLoop], result)
|
6462
|
+
|
6339
6463
|
@builtins.property
|
6340
6464
|
def reserved_concurrent_executions(self) -> typing.Optional[jsii.Number]:
|
6341
6465
|
'''The maximum of concurrent executions you want to reserve for the function.
|
@@ -6401,7 +6525,7 @@ class LambdaArmFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionProps):
|
|
6401
6525
|
def snap_start(self) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SnapStartConf]:
|
6402
6526
|
'''Enable SnapStart for Lambda Function.
|
6403
6527
|
|
6404
|
-
SnapStart is currently supported
|
6528
|
+
SnapStart is currently supported for Java 11, Java 17, Python 3.12, Python 3.13, and .NET 8 runtime
|
6405
6529
|
|
6406
6530
|
:default: - No snapstart
|
6407
6531
|
'''
|
@@ -6410,13 +6534,28 @@ class LambdaArmFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionProps):
|
|
6410
6534
|
|
6411
6535
|
@builtins.property
|
6412
6536
|
def system_log_level(self) -> typing.Optional[builtins.str]:
|
6413
|
-
'''Sets the system log level for the function.
|
6537
|
+
'''(deprecated) Sets the system log level for the function.
|
6414
6538
|
|
6415
6539
|
:default: "INFO"
|
6540
|
+
|
6541
|
+
:deprecated: Use ``systemLogLevelV2`` as a property instead.
|
6542
|
+
|
6543
|
+
:stability: deprecated
|
6416
6544
|
'''
|
6417
6545
|
result = self._values.get("system_log_level")
|
6418
6546
|
return typing.cast(typing.Optional[builtins.str], result)
|
6419
6547
|
|
6548
|
+
@builtins.property
|
6549
|
+
def system_log_level_v2(
|
6550
|
+
self,
|
6551
|
+
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SystemLogLevel]:
|
6552
|
+
'''Sets the system log level for the function.
|
6553
|
+
|
6554
|
+
:default: SystemLogLevel.INFO
|
6555
|
+
'''
|
6556
|
+
result = self._values.get("system_log_level_v2")
|
6557
|
+
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SystemLogLevel], result)
|
6558
|
+
|
6420
6559
|
@builtins.property
|
6421
6560
|
def timeout(self) -> typing.Optional[_aws_cdk_ceddda9d.Duration]:
|
6422
6561
|
'''The function execution time (in seconds) after which Lambda terminates the function.
|
@@ -6536,9 +6675,11 @@ def _typecheckingstub__a2e3bf296f8f93487cf70874ee83259ced40125114b74561132f89f02
|
|
6536
6675
|
handler: builtins.str,
|
6537
6676
|
runtime: _aws_cdk_aws_lambda_ceddda9d.Runtime,
|
6538
6677
|
adot_instrumentation: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
6678
|
+
allow_all_ipv6_outbound: typing.Optional[builtins.bool] = None,
|
6539
6679
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
6540
6680
|
allow_public_subnet: typing.Optional[builtins.bool] = None,
|
6541
6681
|
application_log_level: typing.Optional[builtins.str] = None,
|
6682
|
+
application_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ApplicationLogLevel] = None,
|
6542
6683
|
architecture: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture] = None,
|
6543
6684
|
code_signing_config: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig] = None,
|
6544
6685
|
current_version_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.VersionOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
@@ -6554,8 +6695,10 @@ def _typecheckingstub__a2e3bf296f8f93487cf70874ee83259ced40125114b74561132f89f02
|
|
6554
6695
|
function_name: typing.Optional[builtins.str] = None,
|
6555
6696
|
initial_policy: typing.Optional[typing.Sequence[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]] = None,
|
6556
6697
|
insights_version: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion] = None,
|
6698
|
+
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
6557
6699
|
layers: typing.Optional[typing.Sequence[_aws_cdk_aws_lambda_ceddda9d.ILayerVersion]] = None,
|
6558
6700
|
log_format: typing.Optional[builtins.str] = None,
|
6701
|
+
logging_format: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LoggingFormat] = None,
|
6559
6702
|
log_group: typing.Optional[_aws_cdk_aws_logs_ceddda9d.ILogGroup] = None,
|
6560
6703
|
log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
|
6561
6704
|
log_retention_retry_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
@@ -6564,12 +6707,14 @@ def _typecheckingstub__a2e3bf296f8f93487cf70874ee83259ced40125114b74561132f89f02
|
|
6564
6707
|
params_and_secrets: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion] = None,
|
6565
6708
|
profiling: typing.Optional[builtins.bool] = None,
|
6566
6709
|
profiling_group: typing.Optional[_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup] = None,
|
6710
|
+
recursive_loop: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RecursiveLoop] = None,
|
6567
6711
|
reserved_concurrent_executions: typing.Optional[jsii.Number] = None,
|
6568
6712
|
role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
6569
6713
|
runtime_management_mode: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode] = None,
|
6570
6714
|
security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
|
6571
6715
|
snap_start: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SnapStartConf] = None,
|
6572
6716
|
system_log_level: typing.Optional[builtins.str] = None,
|
6717
|
+
system_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SystemLogLevel] = None,
|
6573
6718
|
timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
6574
6719
|
tracing: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing] = None,
|
6575
6720
|
vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
@@ -6589,9 +6734,11 @@ def _typecheckingstub__40eefcd7535af0a73fd2cbf4f236c945325c5f550487a9083a190243b
|
|
6589
6734
|
on_success: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.IDestination] = None,
|
6590
6735
|
retry_attempts: typing.Optional[jsii.Number] = None,
|
6591
6736
|
adot_instrumentation: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
6737
|
+
allow_all_ipv6_outbound: typing.Optional[builtins.bool] = None,
|
6592
6738
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
6593
6739
|
allow_public_subnet: typing.Optional[builtins.bool] = None,
|
6594
6740
|
application_log_level: typing.Optional[builtins.str] = None,
|
6741
|
+
application_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ApplicationLogLevel] = None,
|
6595
6742
|
architecture: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture] = None,
|
6596
6743
|
code_signing_config: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig] = None,
|
6597
6744
|
current_version_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.VersionOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
@@ -6607,8 +6754,10 @@ def _typecheckingstub__40eefcd7535af0a73fd2cbf4f236c945325c5f550487a9083a190243b
|
|
6607
6754
|
function_name: typing.Optional[builtins.str] = None,
|
6608
6755
|
initial_policy: typing.Optional[typing.Sequence[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]] = None,
|
6609
6756
|
insights_version: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion] = None,
|
6757
|
+
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
6610
6758
|
layers: typing.Optional[typing.Sequence[_aws_cdk_aws_lambda_ceddda9d.ILayerVersion]] = None,
|
6611
6759
|
log_format: typing.Optional[builtins.str] = None,
|
6760
|
+
logging_format: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LoggingFormat] = None,
|
6612
6761
|
log_group: typing.Optional[_aws_cdk_aws_logs_ceddda9d.ILogGroup] = None,
|
6613
6762
|
log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
|
6614
6763
|
log_retention_retry_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
@@ -6617,12 +6766,14 @@ def _typecheckingstub__40eefcd7535af0a73fd2cbf4f236c945325c5f550487a9083a190243b
|
|
6617
6766
|
params_and_secrets: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion] = None,
|
6618
6767
|
profiling: typing.Optional[builtins.bool] = None,
|
6619
6768
|
profiling_group: typing.Optional[_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup] = None,
|
6769
|
+
recursive_loop: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RecursiveLoop] = None,
|
6620
6770
|
reserved_concurrent_executions: typing.Optional[jsii.Number] = None,
|
6621
6771
|
role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
6622
6772
|
runtime_management_mode: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode] = None,
|
6623
6773
|
security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
|
6624
6774
|
snap_start: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SnapStartConf] = None,
|
6625
6775
|
system_log_level: typing.Optional[builtins.str] = None,
|
6776
|
+
system_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SystemLogLevel] = None,
|
6626
6777
|
timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
6627
6778
|
tracing: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing] = None,
|
6628
6779
|
vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
cdk_common/_jsii/__init__.py
CHANGED
@@ -32,7 +32,7 @@ import aws_cdk._jsii
|
|
32
32
|
import constructs._jsii
|
33
33
|
|
34
34
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
35
|
-
"cdk-common", "2.0.
|
35
|
+
"cdk-common", "2.0.1156", __name__[0:-6], "cdk-common@2.0.1156.jsii.tgz"
|
36
36
|
)
|
37
37
|
|
38
38
|
__all__ = [
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: cdk-common
|
3
|
-
Version: 2.0.
|
3
|
+
Version: 2.0.1156
|
4
4
|
Summary: Common AWS CDK librarys.
|
5
5
|
Home-page: https://github.com/neilkuan/cdk-common.git
|
6
6
|
Author: Neil Kuan<guan840912@gmail.com>
|
@@ -19,7 +19,7 @@ Classifier: License :: OSI Approved
|
|
19
19
|
Requires-Python: ~=3.9
|
20
20
|
Description-Content-Type: text/markdown
|
21
21
|
License-File: LICENSE
|
22
|
-
Requires-Dist: aws-cdk-lib<3.0.0,>=2.
|
22
|
+
Requires-Dist: aws-cdk-lib<3.0.0,>=2.188.0
|
23
23
|
Requires-Dist: constructs<11.0.0,>=10.0.5
|
24
24
|
Requires-Dist: jsii<2.0.0,>=1.111.0
|
25
25
|
Requires-Dist: publication>=0.0.3
|
@@ -0,0 +1,9 @@
|
|
1
|
+
cdk_common/__init__.py,sha256=6KszOoISP2YtK7AEyeNTReIZ0Cdc8d3vWXNh5-v0Tuw,265068
|
2
|
+
cdk_common/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
3
|
+
cdk_common/_jsii/__init__.py,sha256=bbiLfhE0s4JMkEZvgldMKXHOk1aDFPOvnbns8owXGwY,1437
|
4
|
+
cdk_common/_jsii/cdk-common@2.0.1156.jsii.tgz,sha256=rS4r4tHHAhyiw3xQuDIhbkvl02T8Ikxoejdae_pBlzE,3913508
|
5
|
+
cdk_common-2.0.1156.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
6
|
+
cdk_common-2.0.1156.dist-info/METADATA,sha256=hHbeSoWYZheuJ-hi8MoEZGHdnx3N-FVM3mBksY__Hr8,2801
|
7
|
+
cdk_common-2.0.1156.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
8
|
+
cdk_common-2.0.1156.dist-info/top_level.txt,sha256=j-yYpe3jsSqUiLxxMpMr1hgaXubL4K7Bz1dAuyUz31k,11
|
9
|
+
cdk_common-2.0.1156.dist-info/RECORD,,
|
Binary file
|
@@ -1,9 +0,0 @@
|
|
1
|
-
cdk_common/__init__.py,sha256=x4YXeN_f4z4WxV3IXq3HZJfg0m6ur60w0EZQeuKfo8k,254920
|
2
|
-
cdk_common/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
3
|
-
cdk_common/_jsii/__init__.py,sha256=QaX1YrbhzlNJgFqfHVlhsBbk-qBrQwX9zY3aLFSDNgU,1437
|
4
|
-
cdk_common/_jsii/cdk-common@2.0.1154.jsii.tgz,sha256=8krx_q9xPRVKg8RvabdMjawdvf4jz5LAQ2jy3v5N5_A,3912092
|
5
|
-
cdk_common-2.0.1154.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
6
|
-
cdk_common-2.0.1154.dist-info/METADATA,sha256=UnSq6ZP0syIDUJOsndj2Wjtxgqw8RgMnhK-DyO7GmXo,2801
|
7
|
-
cdk_common-2.0.1154.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
8
|
-
cdk_common-2.0.1154.dist-info/top_level.txt,sha256=j-yYpe3jsSqUiLxxMpMr1hgaXubL4K7Bz1dAuyUz31k,11
|
9
|
-
cdk_common-2.0.1154.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|