jjrawlins-cdk-ami-builder 0.0.11__py3-none-any.whl → 0.0.133__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.
- jjrawlins_cdk_ami_builder/__init__.py +290 -736
- jjrawlins_cdk_ami_builder/_jsii/__init__.py +2 -2
- jjrawlins_cdk_ami_builder/_jsii/cdk-ami-builder@0.0.133.jsii.tgz +0 -0
- {jjrawlins_cdk_ami_builder-0.0.11.dist-info → jjrawlins_cdk_ami_builder-0.0.133.dist-info}/METADATA +5 -6
- jjrawlins_cdk_ami_builder-0.0.133.dist-info/RECORD +9 -0
- {jjrawlins_cdk_ami_builder-0.0.11.dist-info → jjrawlins_cdk_ami_builder-0.0.133.dist-info}/WHEEL +1 -1
- jjrawlins_cdk_ami_builder/_jsii/cdk-ami-builder@0.0.11.jsii.tgz +0 -0
- jjrawlins_cdk_ami_builder-0.0.11.dist-info/RECORD +0 -9
- {jjrawlins_cdk_ami_builder-0.0.11.dist-info → jjrawlins_cdk_ami_builder-0.0.133.dist-info}/LICENSE +0 -0
- {jjrawlins_cdk_ami_builder-0.0.11.dist-info → jjrawlins_cdk_ami_builder-0.0.133.dist-info}/top_level.txt +0 -0
|
@@ -89,7 +89,6 @@ const imagePipeline = new ImagePipeline(this, 'ImagePipeline', {
|
|
|
89
89
|
parentImage: image.getImage(this).imageId,
|
|
90
90
|
vpc: vpc,
|
|
91
91
|
imageRecipeVersion: version,
|
|
92
|
-
autoBuild: true, // Otherwise you can't use the below output
|
|
93
92
|
components: [
|
|
94
93
|
{
|
|
95
94
|
name: 'Install-Monitoring',
|
|
@@ -215,65 +214,54 @@ class CheckStateMachineStatusFunction(
|
|
|
215
214
|
|
|
216
215
|
def __init__(
|
|
217
216
|
self,
|
|
218
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
217
|
+
scope: "_constructs_77d1e7e8.Construct",
|
|
219
218
|
id: builtins.str,
|
|
220
219
|
*,
|
|
221
|
-
adot_instrumentation: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
220
|
+
adot_instrumentation: typing.Optional[typing.Union["_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
222
221
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
223
222
|
allow_public_subnet: typing.Optional[builtins.bool] = None,
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
current_version_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.VersionOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
229
|
-
dead_letter_queue: typing.Optional[_aws_cdk_aws_sqs_ceddda9d.IQueue] = None,
|
|
223
|
+
architecture: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Architecture"] = None,
|
|
224
|
+
code_signing_config: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig"] = None,
|
|
225
|
+
current_version_options: typing.Optional[typing.Union["_aws_cdk_aws_lambda_ceddda9d.VersionOptions", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
226
|
+
dead_letter_queue: typing.Optional["_aws_cdk_aws_sqs_ceddda9d.IQueue"] = None,
|
|
230
227
|
dead_letter_queue_enabled: typing.Optional[builtins.bool] = None,
|
|
231
|
-
dead_letter_topic: typing.Optional[_aws_cdk_aws_sns_ceddda9d.ITopic] = None,
|
|
228
|
+
dead_letter_topic: typing.Optional["_aws_cdk_aws_sns_ceddda9d.ITopic"] = None,
|
|
232
229
|
description: typing.Optional[builtins.str] = None,
|
|
233
230
|
environment: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
234
|
-
environment_encryption: typing.Optional[_aws_cdk_aws_kms_ceddda9d.IKey] = None,
|
|
235
|
-
ephemeral_storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
|
|
236
|
-
events: typing.Optional[typing.Sequence[_aws_cdk_aws_lambda_ceddda9d.IEventSource]] = None,
|
|
237
|
-
filesystem: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.FileSystem] = None,
|
|
231
|
+
environment_encryption: typing.Optional["_aws_cdk_aws_kms_ceddda9d.IKey"] = None,
|
|
232
|
+
ephemeral_storage_size: typing.Optional["_aws_cdk_ceddda9d.Size"] = None,
|
|
233
|
+
events: typing.Optional[typing.Sequence["_aws_cdk_aws_lambda_ceddda9d.IEventSource"]] = None,
|
|
234
|
+
filesystem: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.FileSystem"] = None,
|
|
238
235
|
function_name: typing.Optional[builtins.str] = None,
|
|
239
|
-
initial_policy: typing.Optional[typing.Sequence[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]] = None,
|
|
240
|
-
insights_version: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion] = None,
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
log_group: typing.Optional[_aws_cdk_aws_logs_ceddda9d.ILogGroup] = None,
|
|
246
|
-
log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
|
|
247
|
-
log_retention_retry_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
248
|
-
log_retention_role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
236
|
+
initial_policy: typing.Optional[typing.Sequence["_aws_cdk_aws_iam_ceddda9d.PolicyStatement"]] = None,
|
|
237
|
+
insights_version: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion"] = None,
|
|
238
|
+
layers: typing.Optional[typing.Sequence["_aws_cdk_aws_lambda_ceddda9d.ILayerVersion"]] = None,
|
|
239
|
+
log_retention: typing.Optional["_aws_cdk_aws_logs_ceddda9d.RetentionDays"] = None,
|
|
240
|
+
log_retention_retry_options: typing.Optional[typing.Union["_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
241
|
+
log_retention_role: typing.Optional["_aws_cdk_aws_iam_ceddda9d.IRole"] = None,
|
|
249
242
|
memory_size: typing.Optional[jsii.Number] = None,
|
|
250
|
-
params_and_secrets: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion] = None,
|
|
243
|
+
params_and_secrets: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion"] = None,
|
|
251
244
|
profiling: typing.Optional[builtins.bool] = None,
|
|
252
|
-
profiling_group: typing.Optional[_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup] = None,
|
|
245
|
+
profiling_group: typing.Optional["_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup"] = None,
|
|
253
246
|
reserved_concurrent_executions: typing.Optional[jsii.Number] = None,
|
|
254
|
-
role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
255
|
-
runtime_management_mode: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode] = None,
|
|
256
|
-
security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
max_event_age: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
265
|
-
on_failure: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.IDestination] = None,
|
|
266
|
-
on_success: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.IDestination] = None,
|
|
247
|
+
role: typing.Optional["_aws_cdk_aws_iam_ceddda9d.IRole"] = None,
|
|
248
|
+
runtime_management_mode: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode"] = None,
|
|
249
|
+
security_groups: typing.Optional[typing.Sequence["_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup"]] = None,
|
|
250
|
+
timeout: typing.Optional["_aws_cdk_ceddda9d.Duration"] = None,
|
|
251
|
+
tracing: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Tracing"] = None,
|
|
252
|
+
vpc: typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"] = None,
|
|
253
|
+
vpc_subnets: typing.Optional[typing.Union["_aws_cdk_aws_ec2_ceddda9d.SubnetSelection", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
254
|
+
max_event_age: typing.Optional["_aws_cdk_ceddda9d.Duration"] = None,
|
|
255
|
+
on_failure: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.IDestination"] = None,
|
|
256
|
+
on_success: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.IDestination"] = None,
|
|
267
257
|
retry_attempts: typing.Optional[jsii.Number] = None,
|
|
268
258
|
) -> None:
|
|
269
259
|
'''
|
|
270
260
|
:param scope: -
|
|
271
261
|
:param id: -
|
|
272
262
|
:param adot_instrumentation: Specify the configuration of AWS Distro for OpenTelemetry (ADOT) instrumentation. Default: - No ADOT instrumentation
|
|
273
|
-
: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.
|
|
263
|
+
: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. Default: true
|
|
274
264
|
: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
|
|
275
|
-
:param application_log_level: (deprecated) Sets the application log level for the function. Default: "INFO"
|
|
276
|
-
:param application_log_level_v2: Sets the application log level for the function. Default: ApplicationLogLevel.INFO
|
|
277
265
|
:param architecture: The system architectures compatible with this lambda function. Default: Architecture.X86_64
|
|
278
266
|
:param code_signing_config: Code signing config associated with this function. Default: - Not Sign the Code
|
|
279
267
|
:param current_version_options: Options for the ``lambda.Version`` resource automatically created by the ``fn.currentVersion`` method. Default: - default options as described in ``VersionOptions``
|
|
@@ -289,14 +277,10 @@ class CheckStateMachineStatusFunction(
|
|
|
289
277
|
: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.
|
|
290
278
|
: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.
|
|
291
279
|
:param insights_version: Specify the version of CloudWatch Lambda insights to use for monitoring. Default: - No Lambda Insights
|
|
292
|
-
: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
|
|
293
280
|
: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.
|
|
294
|
-
:param
|
|
295
|
-
:param
|
|
296
|
-
:param
|
|
297
|
-
: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
|
|
298
|
-
: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.
|
|
299
|
-
:param log_retention_role: The IAM role for the Lambda function associated with the custom resource that sets the retention policy. 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: - A new role is created.
|
|
281
|
+
: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``. Default: logs.RetentionDays.INFINITE
|
|
282
|
+
: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. Default: - Default AWS SDK retry options.
|
|
283
|
+
:param log_retention_role: The IAM role for the Lambda function associated with the custom resource that sets the retention policy. Default: - A new role is created.
|
|
300
284
|
:param memory_size: The amount of memory, in MB, that is allocated to your Lambda function. Lambda uses this value to proportionally allocate the amount of CPU power. For more information, see Resource Model in the AWS Lambda Developer Guide. Default: 128
|
|
301
285
|
:param params_and_secrets: Specify the configuration of Parameters and Secrets Extension. Default: - No Parameters and Secrets Extension
|
|
302
286
|
:param profiling: Enable profiling. Default: - No profiling.
|
|
@@ -305,9 +289,6 @@ class CheckStateMachineStatusFunction(
|
|
|
305
289
|
: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``.
|
|
306
290
|
:param runtime_management_mode: Sets the runtime management configuration for a function's version. Default: Auto
|
|
307
291
|
: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.
|
|
308
|
-
:param snap_start: Enable SnapStart for Lambda Function. SnapStart is currently supported only for Java 11, 17 runtime Default: - No snapstart
|
|
309
|
-
:param system_log_level: (deprecated) Sets the system log level for the function. Default: "INFO"
|
|
310
|
-
:param system_log_level_v2: Sets the system log level for the function. Default: SystemLogLevel.INFO
|
|
311
292
|
: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)
|
|
312
293
|
:param tracing: Enable AWS X-Ray Tracing for Lambda Function. Default: Tracing.Disabled
|
|
313
294
|
: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.
|
|
@@ -325,8 +306,6 @@ class CheckStateMachineStatusFunction(
|
|
|
325
306
|
adot_instrumentation=adot_instrumentation,
|
|
326
307
|
allow_all_outbound=allow_all_outbound,
|
|
327
308
|
allow_public_subnet=allow_public_subnet,
|
|
328
|
-
application_log_level=application_log_level,
|
|
329
|
-
application_log_level_v2=application_log_level_v2,
|
|
330
309
|
architecture=architecture,
|
|
331
310
|
code_signing_config=code_signing_config,
|
|
332
311
|
current_version_options=current_version_options,
|
|
@@ -342,11 +321,7 @@ class CheckStateMachineStatusFunction(
|
|
|
342
321
|
function_name=function_name,
|
|
343
322
|
initial_policy=initial_policy,
|
|
344
323
|
insights_version=insights_version,
|
|
345
|
-
ipv6_allowed_for_dual_stack=ipv6_allowed_for_dual_stack,
|
|
346
324
|
layers=layers,
|
|
347
|
-
log_format=log_format,
|
|
348
|
-
logging_format=logging_format,
|
|
349
|
-
log_group=log_group,
|
|
350
325
|
log_retention=log_retention,
|
|
351
326
|
log_retention_retry_options=log_retention_retry_options,
|
|
352
327
|
log_retention_role=log_retention_role,
|
|
@@ -358,9 +333,6 @@ class CheckStateMachineStatusFunction(
|
|
|
358
333
|
role=role,
|
|
359
334
|
runtime_management_mode=runtime_management_mode,
|
|
360
335
|
security_groups=security_groups,
|
|
361
|
-
snap_start=snap_start,
|
|
362
|
-
system_log_level=system_log_level,
|
|
363
|
-
system_log_level_v2=system_log_level_v2,
|
|
364
336
|
timeout=timeout,
|
|
365
337
|
tracing=tracing,
|
|
366
338
|
vpc=vpc,
|
|
@@ -385,8 +357,6 @@ class CheckStateMachineStatusFunction(
|
|
|
385
357
|
"adot_instrumentation": "adotInstrumentation",
|
|
386
358
|
"allow_all_outbound": "allowAllOutbound",
|
|
387
359
|
"allow_public_subnet": "allowPublicSubnet",
|
|
388
|
-
"application_log_level": "applicationLogLevel",
|
|
389
|
-
"application_log_level_v2": "applicationLogLevelV2",
|
|
390
360
|
"architecture": "architecture",
|
|
391
361
|
"code_signing_config": "codeSigningConfig",
|
|
392
362
|
"current_version_options": "currentVersionOptions",
|
|
@@ -402,11 +372,7 @@ class CheckStateMachineStatusFunction(
|
|
|
402
372
|
"function_name": "functionName",
|
|
403
373
|
"initial_policy": "initialPolicy",
|
|
404
374
|
"insights_version": "insightsVersion",
|
|
405
|
-
"ipv6_allowed_for_dual_stack": "ipv6AllowedForDualStack",
|
|
406
375
|
"layers": "layers",
|
|
407
|
-
"log_format": "logFormat",
|
|
408
|
-
"logging_format": "loggingFormat",
|
|
409
|
-
"log_group": "logGroup",
|
|
410
376
|
"log_retention": "logRetention",
|
|
411
377
|
"log_retention_retry_options": "logRetentionRetryOptions",
|
|
412
378
|
"log_retention_role": "logRetentionRole",
|
|
@@ -418,9 +384,6 @@ class CheckStateMachineStatusFunction(
|
|
|
418
384
|
"role": "role",
|
|
419
385
|
"runtime_management_mode": "runtimeManagementMode",
|
|
420
386
|
"security_groups": "securityGroups",
|
|
421
|
-
"snap_start": "snapStart",
|
|
422
|
-
"system_log_level": "systemLogLevel",
|
|
423
|
-
"system_log_level_v2": "systemLogLevelV2",
|
|
424
387
|
"timeout": "timeout",
|
|
425
388
|
"tracing": "tracing",
|
|
426
389
|
"vpc": "vpc",
|
|
@@ -433,53 +396,44 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
433
396
|
def __init__(
|
|
434
397
|
self,
|
|
435
398
|
*,
|
|
436
|
-
max_event_age: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
437
|
-
on_failure: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.IDestination] = None,
|
|
438
|
-
on_success: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.IDestination] = None,
|
|
399
|
+
max_event_age: typing.Optional["_aws_cdk_ceddda9d.Duration"] = None,
|
|
400
|
+
on_failure: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.IDestination"] = None,
|
|
401
|
+
on_success: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.IDestination"] = None,
|
|
439
402
|
retry_attempts: typing.Optional[jsii.Number] = None,
|
|
440
|
-
adot_instrumentation: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
403
|
+
adot_instrumentation: typing.Optional[typing.Union["_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
441
404
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
442
405
|
allow_public_subnet: typing.Optional[builtins.bool] = None,
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
current_version_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.VersionOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
448
|
-
dead_letter_queue: typing.Optional[_aws_cdk_aws_sqs_ceddda9d.IQueue] = None,
|
|
406
|
+
architecture: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Architecture"] = None,
|
|
407
|
+
code_signing_config: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig"] = None,
|
|
408
|
+
current_version_options: typing.Optional[typing.Union["_aws_cdk_aws_lambda_ceddda9d.VersionOptions", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
409
|
+
dead_letter_queue: typing.Optional["_aws_cdk_aws_sqs_ceddda9d.IQueue"] = None,
|
|
449
410
|
dead_letter_queue_enabled: typing.Optional[builtins.bool] = None,
|
|
450
|
-
dead_letter_topic: typing.Optional[_aws_cdk_aws_sns_ceddda9d.ITopic] = None,
|
|
411
|
+
dead_letter_topic: typing.Optional["_aws_cdk_aws_sns_ceddda9d.ITopic"] = None,
|
|
451
412
|
description: typing.Optional[builtins.str] = None,
|
|
452
413
|
environment: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
453
|
-
environment_encryption: typing.Optional[_aws_cdk_aws_kms_ceddda9d.IKey] = None,
|
|
454
|
-
ephemeral_storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
|
|
455
|
-
events: typing.Optional[typing.Sequence[_aws_cdk_aws_lambda_ceddda9d.IEventSource]] = None,
|
|
456
|
-
filesystem: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.FileSystem] = None,
|
|
414
|
+
environment_encryption: typing.Optional["_aws_cdk_aws_kms_ceddda9d.IKey"] = None,
|
|
415
|
+
ephemeral_storage_size: typing.Optional["_aws_cdk_ceddda9d.Size"] = None,
|
|
416
|
+
events: typing.Optional[typing.Sequence["_aws_cdk_aws_lambda_ceddda9d.IEventSource"]] = None,
|
|
417
|
+
filesystem: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.FileSystem"] = None,
|
|
457
418
|
function_name: typing.Optional[builtins.str] = None,
|
|
458
|
-
initial_policy: typing.Optional[typing.Sequence[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]] = None,
|
|
459
|
-
insights_version: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion] = None,
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
log_group: typing.Optional[_aws_cdk_aws_logs_ceddda9d.ILogGroup] = None,
|
|
465
|
-
log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
|
|
466
|
-
log_retention_retry_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
467
|
-
log_retention_role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
419
|
+
initial_policy: typing.Optional[typing.Sequence["_aws_cdk_aws_iam_ceddda9d.PolicyStatement"]] = None,
|
|
420
|
+
insights_version: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion"] = None,
|
|
421
|
+
layers: typing.Optional[typing.Sequence["_aws_cdk_aws_lambda_ceddda9d.ILayerVersion"]] = None,
|
|
422
|
+
log_retention: typing.Optional["_aws_cdk_aws_logs_ceddda9d.RetentionDays"] = None,
|
|
423
|
+
log_retention_retry_options: typing.Optional[typing.Union["_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
424
|
+
log_retention_role: typing.Optional["_aws_cdk_aws_iam_ceddda9d.IRole"] = None,
|
|
468
425
|
memory_size: typing.Optional[jsii.Number] = None,
|
|
469
|
-
params_and_secrets: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion] = None,
|
|
426
|
+
params_and_secrets: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion"] = None,
|
|
470
427
|
profiling: typing.Optional[builtins.bool] = None,
|
|
471
|
-
profiling_group: typing.Optional[_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup] = None,
|
|
428
|
+
profiling_group: typing.Optional["_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup"] = None,
|
|
472
429
|
reserved_concurrent_executions: typing.Optional[jsii.Number] = None,
|
|
473
|
-
role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
474
|
-
runtime_management_mode: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode] = None,
|
|
475
|
-
security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
tracing: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing] = None,
|
|
481
|
-
vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
|
482
|
-
vpc_subnets: typing.Optional[typing.Union[_aws_cdk_aws_ec2_ceddda9d.SubnetSelection, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
430
|
+
role: typing.Optional["_aws_cdk_aws_iam_ceddda9d.IRole"] = None,
|
|
431
|
+
runtime_management_mode: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode"] = None,
|
|
432
|
+
security_groups: typing.Optional[typing.Sequence["_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup"]] = None,
|
|
433
|
+
timeout: typing.Optional["_aws_cdk_ceddda9d.Duration"] = None,
|
|
434
|
+
tracing: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Tracing"] = None,
|
|
435
|
+
vpc: typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"] = None,
|
|
436
|
+
vpc_subnets: typing.Optional[typing.Union["_aws_cdk_aws_ec2_ceddda9d.SubnetSelection", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
483
437
|
) -> None:
|
|
484
438
|
'''Props for CheckStateMachineStatusFunction.
|
|
485
439
|
|
|
@@ -488,10 +442,8 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
488
442
|
:param on_success: The destination for successful invocations. Default: - no destination
|
|
489
443
|
:param retry_attempts: The maximum number of times to retry when the function returns an error. Minimum: 0 Maximum: 2 Default: 2
|
|
490
444
|
:param adot_instrumentation: Specify the configuration of AWS Distro for OpenTelemetry (ADOT) instrumentation. Default: - No ADOT instrumentation
|
|
491
|
-
: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.
|
|
445
|
+
: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. Default: true
|
|
492
446
|
: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
|
|
493
|
-
:param application_log_level: (deprecated) Sets the application log level for the function. Default: "INFO"
|
|
494
|
-
:param application_log_level_v2: Sets the application log level for the function. Default: ApplicationLogLevel.INFO
|
|
495
447
|
:param architecture: The system architectures compatible with this lambda function. Default: Architecture.X86_64
|
|
496
448
|
:param code_signing_config: Code signing config associated with this function. Default: - Not Sign the Code
|
|
497
449
|
:param current_version_options: Options for the ``lambda.Version`` resource automatically created by the ``fn.currentVersion`` method. Default: - default options as described in ``VersionOptions``
|
|
@@ -507,14 +459,10 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
507
459
|
: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.
|
|
508
460
|
: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.
|
|
509
461
|
:param insights_version: Specify the version of CloudWatch Lambda insights to use for monitoring. Default: - No Lambda Insights
|
|
510
|
-
: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
|
|
511
462
|
: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.
|
|
512
|
-
:param
|
|
513
|
-
:param
|
|
514
|
-
:param
|
|
515
|
-
: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
|
|
516
|
-
: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.
|
|
517
|
-
:param log_retention_role: The IAM role for the Lambda function associated with the custom resource that sets the retention policy. 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: - A new role is created.
|
|
463
|
+
: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``. Default: logs.RetentionDays.INFINITE
|
|
464
|
+
: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. Default: - Default AWS SDK retry options.
|
|
465
|
+
:param log_retention_role: The IAM role for the Lambda function associated with the custom resource that sets the retention policy. Default: - A new role is created.
|
|
518
466
|
:param memory_size: The amount of memory, in MB, that is allocated to your Lambda function. Lambda uses this value to proportionally allocate the amount of CPU power. For more information, see Resource Model in the AWS Lambda Developer Guide. Default: 128
|
|
519
467
|
:param params_and_secrets: Specify the configuration of Parameters and Secrets Extension. Default: - No Parameters and Secrets Extension
|
|
520
468
|
:param profiling: Enable profiling. Default: - No profiling.
|
|
@@ -523,9 +471,6 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
523
471
|
: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``.
|
|
524
472
|
:param runtime_management_mode: Sets the runtime management configuration for a function's version. Default: Auto
|
|
525
473
|
: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.
|
|
526
|
-
:param snap_start: Enable SnapStart for Lambda Function. SnapStart is currently supported only for Java 11, 17 runtime Default: - No snapstart
|
|
527
|
-
:param system_log_level: (deprecated) Sets the system log level for the function. Default: "INFO"
|
|
528
|
-
:param system_log_level_v2: Sets the system log level for the function. Default: SystemLogLevel.INFO
|
|
529
474
|
: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)
|
|
530
475
|
:param tracing: Enable AWS X-Ray Tracing for Lambda Function. Default: Tracing.Disabled
|
|
531
476
|
: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.
|
|
@@ -548,8 +493,6 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
548
493
|
check_type(argname="argument adot_instrumentation", value=adot_instrumentation, expected_type=type_hints["adot_instrumentation"])
|
|
549
494
|
check_type(argname="argument allow_all_outbound", value=allow_all_outbound, expected_type=type_hints["allow_all_outbound"])
|
|
550
495
|
check_type(argname="argument allow_public_subnet", value=allow_public_subnet, expected_type=type_hints["allow_public_subnet"])
|
|
551
|
-
check_type(argname="argument application_log_level", value=application_log_level, expected_type=type_hints["application_log_level"])
|
|
552
|
-
check_type(argname="argument application_log_level_v2", value=application_log_level_v2, expected_type=type_hints["application_log_level_v2"])
|
|
553
496
|
check_type(argname="argument architecture", value=architecture, expected_type=type_hints["architecture"])
|
|
554
497
|
check_type(argname="argument code_signing_config", value=code_signing_config, expected_type=type_hints["code_signing_config"])
|
|
555
498
|
check_type(argname="argument current_version_options", value=current_version_options, expected_type=type_hints["current_version_options"])
|
|
@@ -565,11 +508,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
565
508
|
check_type(argname="argument function_name", value=function_name, expected_type=type_hints["function_name"])
|
|
566
509
|
check_type(argname="argument initial_policy", value=initial_policy, expected_type=type_hints["initial_policy"])
|
|
567
510
|
check_type(argname="argument insights_version", value=insights_version, expected_type=type_hints["insights_version"])
|
|
568
|
-
check_type(argname="argument ipv6_allowed_for_dual_stack", value=ipv6_allowed_for_dual_stack, expected_type=type_hints["ipv6_allowed_for_dual_stack"])
|
|
569
511
|
check_type(argname="argument layers", value=layers, expected_type=type_hints["layers"])
|
|
570
|
-
check_type(argname="argument log_format", value=log_format, expected_type=type_hints["log_format"])
|
|
571
|
-
check_type(argname="argument logging_format", value=logging_format, expected_type=type_hints["logging_format"])
|
|
572
|
-
check_type(argname="argument log_group", value=log_group, expected_type=type_hints["log_group"])
|
|
573
512
|
check_type(argname="argument log_retention", value=log_retention, expected_type=type_hints["log_retention"])
|
|
574
513
|
check_type(argname="argument log_retention_retry_options", value=log_retention_retry_options, expected_type=type_hints["log_retention_retry_options"])
|
|
575
514
|
check_type(argname="argument log_retention_role", value=log_retention_role, expected_type=type_hints["log_retention_role"])
|
|
@@ -581,9 +520,6 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
581
520
|
check_type(argname="argument role", value=role, expected_type=type_hints["role"])
|
|
582
521
|
check_type(argname="argument runtime_management_mode", value=runtime_management_mode, expected_type=type_hints["runtime_management_mode"])
|
|
583
522
|
check_type(argname="argument security_groups", value=security_groups, expected_type=type_hints["security_groups"])
|
|
584
|
-
check_type(argname="argument snap_start", value=snap_start, expected_type=type_hints["snap_start"])
|
|
585
|
-
check_type(argname="argument system_log_level", value=system_log_level, expected_type=type_hints["system_log_level"])
|
|
586
|
-
check_type(argname="argument system_log_level_v2", value=system_log_level_v2, expected_type=type_hints["system_log_level_v2"])
|
|
587
523
|
check_type(argname="argument timeout", value=timeout, expected_type=type_hints["timeout"])
|
|
588
524
|
check_type(argname="argument tracing", value=tracing, expected_type=type_hints["tracing"])
|
|
589
525
|
check_type(argname="argument vpc", value=vpc, expected_type=type_hints["vpc"])
|
|
@@ -603,10 +539,6 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
603
539
|
self._values["allow_all_outbound"] = allow_all_outbound
|
|
604
540
|
if allow_public_subnet is not None:
|
|
605
541
|
self._values["allow_public_subnet"] = allow_public_subnet
|
|
606
|
-
if application_log_level is not None:
|
|
607
|
-
self._values["application_log_level"] = application_log_level
|
|
608
|
-
if application_log_level_v2 is not None:
|
|
609
|
-
self._values["application_log_level_v2"] = application_log_level_v2
|
|
610
542
|
if architecture is not None:
|
|
611
543
|
self._values["architecture"] = architecture
|
|
612
544
|
if code_signing_config is not None:
|
|
@@ -637,16 +569,8 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
637
569
|
self._values["initial_policy"] = initial_policy
|
|
638
570
|
if insights_version is not None:
|
|
639
571
|
self._values["insights_version"] = insights_version
|
|
640
|
-
if ipv6_allowed_for_dual_stack is not None:
|
|
641
|
-
self._values["ipv6_allowed_for_dual_stack"] = ipv6_allowed_for_dual_stack
|
|
642
572
|
if layers is not None:
|
|
643
573
|
self._values["layers"] = layers
|
|
644
|
-
if log_format is not None:
|
|
645
|
-
self._values["log_format"] = log_format
|
|
646
|
-
if logging_format is not None:
|
|
647
|
-
self._values["logging_format"] = logging_format
|
|
648
|
-
if log_group is not None:
|
|
649
|
-
self._values["log_group"] = log_group
|
|
650
574
|
if log_retention is not None:
|
|
651
575
|
self._values["log_retention"] = log_retention
|
|
652
576
|
if log_retention_retry_options is not None:
|
|
@@ -669,12 +593,6 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
669
593
|
self._values["runtime_management_mode"] = runtime_management_mode
|
|
670
594
|
if security_groups is not None:
|
|
671
595
|
self._values["security_groups"] = security_groups
|
|
672
|
-
if snap_start is not None:
|
|
673
|
-
self._values["snap_start"] = snap_start
|
|
674
|
-
if system_log_level is not None:
|
|
675
|
-
self._values["system_log_level"] = system_log_level
|
|
676
|
-
if system_log_level_v2 is not None:
|
|
677
|
-
self._values["system_log_level_v2"] = system_log_level_v2
|
|
678
596
|
if timeout is not None:
|
|
679
597
|
self._values["timeout"] = timeout
|
|
680
598
|
if tracing is not None:
|
|
@@ -685,7 +603,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
685
603
|
self._values["vpc_subnets"] = vpc_subnets
|
|
686
604
|
|
|
687
605
|
@builtins.property
|
|
688
|
-
def max_event_age(self) -> typing.Optional[_aws_cdk_ceddda9d.Duration]:
|
|
606
|
+
def max_event_age(self) -> typing.Optional["_aws_cdk_ceddda9d.Duration"]:
|
|
689
607
|
'''The maximum age of a request that Lambda sends to a function for processing.
|
|
690
608
|
|
|
691
609
|
Minimum: 60 seconds
|
|
@@ -694,25 +612,29 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
694
612
|
:default: Duration.hours(6)
|
|
695
613
|
'''
|
|
696
614
|
result = self._values.get("max_event_age")
|
|
697
|
-
return typing.cast(typing.Optional[_aws_cdk_ceddda9d.Duration], result)
|
|
615
|
+
return typing.cast(typing.Optional["_aws_cdk_ceddda9d.Duration"], result)
|
|
698
616
|
|
|
699
617
|
@builtins.property
|
|
700
|
-
def on_failure(
|
|
618
|
+
def on_failure(
|
|
619
|
+
self,
|
|
620
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.IDestination"]:
|
|
701
621
|
'''The destination for failed invocations.
|
|
702
622
|
|
|
703
623
|
:default: - no destination
|
|
704
624
|
'''
|
|
705
625
|
result = self._values.get("on_failure")
|
|
706
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.IDestination], result)
|
|
626
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.IDestination"], result)
|
|
707
627
|
|
|
708
628
|
@builtins.property
|
|
709
|
-
def on_success(
|
|
629
|
+
def on_success(
|
|
630
|
+
self,
|
|
631
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.IDestination"]:
|
|
710
632
|
'''The destination for successful invocations.
|
|
711
633
|
|
|
712
634
|
:default: - no destination
|
|
713
635
|
'''
|
|
714
636
|
result = self._values.get("on_success")
|
|
715
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.IDestination], result)
|
|
637
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.IDestination"], result)
|
|
716
638
|
|
|
717
639
|
@builtins.property
|
|
718
640
|
def retry_attempts(self) -> typing.Optional[jsii.Number]:
|
|
@@ -729,7 +651,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
729
651
|
@builtins.property
|
|
730
652
|
def adot_instrumentation(
|
|
731
653
|
self,
|
|
732
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig]:
|
|
654
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig"]:
|
|
733
655
|
'''Specify the configuration of AWS Distro for OpenTelemetry (ADOT) instrumentation.
|
|
734
656
|
|
|
735
657
|
:default: - No ADOT instrumentation
|
|
@@ -737,7 +659,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
737
659
|
:see: https://aws-otel.github.io/docs/getting-started/lambda
|
|
738
660
|
'''
|
|
739
661
|
result = self._values.get("adot_instrumentation")
|
|
740
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig], result)
|
|
662
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig"], result)
|
|
741
663
|
|
|
742
664
|
@builtins.property
|
|
743
665
|
def allow_all_outbound(self) -> typing.Optional[builtins.bool]:
|
|
@@ -746,9 +668,6 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
746
668
|
If set to false, you must individually add traffic rules to allow the
|
|
747
669
|
Lambda to connect to network targets.
|
|
748
670
|
|
|
749
|
-
Do not specify this property if the ``securityGroups`` or ``securityGroup`` property is set.
|
|
750
|
-
Instead, configure ``allowAllOutbound`` directly on the security group.
|
|
751
|
-
|
|
752
671
|
:default: true
|
|
753
672
|
'''
|
|
754
673
|
result = self._values.get("allow_all_outbound")
|
|
@@ -767,65 +686,41 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
767
686
|
result = self._values.get("allow_public_subnet")
|
|
768
687
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
769
688
|
|
|
770
|
-
@builtins.property
|
|
771
|
-
def application_log_level(self) -> typing.Optional[builtins.str]:
|
|
772
|
-
'''(deprecated) Sets the application log level for the function.
|
|
773
|
-
|
|
774
|
-
:default: "INFO"
|
|
775
|
-
|
|
776
|
-
:deprecated: Use ``applicationLogLevelV2`` as a property instead.
|
|
777
|
-
|
|
778
|
-
:stability: deprecated
|
|
779
|
-
'''
|
|
780
|
-
result = self._values.get("application_log_level")
|
|
781
|
-
return typing.cast(typing.Optional[builtins.str], result)
|
|
782
|
-
|
|
783
|
-
@builtins.property
|
|
784
|
-
def application_log_level_v2(
|
|
785
|
-
self,
|
|
786
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ApplicationLogLevel]:
|
|
787
|
-
'''Sets the application log level for the function.
|
|
788
|
-
|
|
789
|
-
:default: ApplicationLogLevel.INFO
|
|
790
|
-
'''
|
|
791
|
-
result = self._values.get("application_log_level_v2")
|
|
792
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ApplicationLogLevel], result)
|
|
793
|
-
|
|
794
689
|
@builtins.property
|
|
795
690
|
def architecture(
|
|
796
691
|
self,
|
|
797
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture]:
|
|
692
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Architecture"]:
|
|
798
693
|
'''The system architectures compatible with this lambda function.
|
|
799
694
|
|
|
800
695
|
:default: Architecture.X86_64
|
|
801
696
|
'''
|
|
802
697
|
result = self._values.get("architecture")
|
|
803
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture], result)
|
|
698
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Architecture"], result)
|
|
804
699
|
|
|
805
700
|
@builtins.property
|
|
806
701
|
def code_signing_config(
|
|
807
702
|
self,
|
|
808
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig]:
|
|
703
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig"]:
|
|
809
704
|
'''Code signing config associated with this function.
|
|
810
705
|
|
|
811
706
|
:default: - Not Sign the Code
|
|
812
707
|
'''
|
|
813
708
|
result = self._values.get("code_signing_config")
|
|
814
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig], result)
|
|
709
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig"], result)
|
|
815
710
|
|
|
816
711
|
@builtins.property
|
|
817
712
|
def current_version_options(
|
|
818
713
|
self,
|
|
819
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.VersionOptions]:
|
|
714
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.VersionOptions"]:
|
|
820
715
|
'''Options for the ``lambda.Version`` resource automatically created by the ``fn.currentVersion`` method.
|
|
821
716
|
|
|
822
717
|
:default: - default options as described in ``VersionOptions``
|
|
823
718
|
'''
|
|
824
719
|
result = self._values.get("current_version_options")
|
|
825
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.VersionOptions], result)
|
|
720
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.VersionOptions"], result)
|
|
826
721
|
|
|
827
722
|
@builtins.property
|
|
828
|
-
def dead_letter_queue(self) -> typing.Optional[_aws_cdk_aws_sqs_ceddda9d.IQueue]:
|
|
723
|
+
def dead_letter_queue(self) -> typing.Optional["_aws_cdk_aws_sqs_ceddda9d.IQueue"]:
|
|
829
724
|
'''The SQS queue to use if DLQ is enabled.
|
|
830
725
|
|
|
831
726
|
If SNS topic is desired, specify ``deadLetterTopic`` property instead.
|
|
@@ -833,7 +728,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
833
728
|
:default: - SQS queue with 14 day retention period if ``deadLetterQueueEnabled`` is ``true``
|
|
834
729
|
'''
|
|
835
730
|
result = self._values.get("dead_letter_queue")
|
|
836
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_sqs_ceddda9d.IQueue], result)
|
|
731
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_sqs_ceddda9d.IQueue"], result)
|
|
837
732
|
|
|
838
733
|
@builtins.property
|
|
839
734
|
def dead_letter_queue_enabled(self) -> typing.Optional[builtins.bool]:
|
|
@@ -848,7 +743,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
848
743
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
849
744
|
|
|
850
745
|
@builtins.property
|
|
851
|
-
def dead_letter_topic(self) -> typing.Optional[_aws_cdk_aws_sns_ceddda9d.ITopic]:
|
|
746
|
+
def dead_letter_topic(self) -> typing.Optional["_aws_cdk_aws_sns_ceddda9d.ITopic"]:
|
|
852
747
|
'''The SNS topic to use as a DLQ.
|
|
853
748
|
|
|
854
749
|
Note that if ``deadLetterQueueEnabled`` is set to ``true``, an SQS queue will be created
|
|
@@ -857,7 +752,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
857
752
|
:default: - no SNS topic
|
|
858
753
|
'''
|
|
859
754
|
result = self._values.get("dead_letter_topic")
|
|
860
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_sns_ceddda9d.ITopic], result)
|
|
755
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_sns_ceddda9d.ITopic"], result)
|
|
861
756
|
|
|
862
757
|
@builtins.property
|
|
863
758
|
def description(self) -> typing.Optional[builtins.str]:
|
|
@@ -884,27 +779,29 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
884
779
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
885
780
|
|
|
886
781
|
@builtins.property
|
|
887
|
-
def environment_encryption(
|
|
782
|
+
def environment_encryption(
|
|
783
|
+
self,
|
|
784
|
+
) -> typing.Optional["_aws_cdk_aws_kms_ceddda9d.IKey"]:
|
|
888
785
|
'''The AWS KMS key that's used to encrypt your function's environment variables.
|
|
889
786
|
|
|
890
787
|
:default: - AWS Lambda creates and uses an AWS managed customer master key (CMK).
|
|
891
788
|
'''
|
|
892
789
|
result = self._values.get("environment_encryption")
|
|
893
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_kms_ceddda9d.IKey], result)
|
|
790
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_kms_ceddda9d.IKey"], result)
|
|
894
791
|
|
|
895
792
|
@builtins.property
|
|
896
|
-
def ephemeral_storage_size(self) -> typing.Optional[_aws_cdk_ceddda9d.Size]:
|
|
793
|
+
def ephemeral_storage_size(self) -> typing.Optional["_aws_cdk_ceddda9d.Size"]:
|
|
897
794
|
'''The size of the function’s /tmp directory in MiB.
|
|
898
795
|
|
|
899
796
|
:default: 512 MiB
|
|
900
797
|
'''
|
|
901
798
|
result = self._values.get("ephemeral_storage_size")
|
|
902
|
-
return typing.cast(typing.Optional[_aws_cdk_ceddda9d.Size], result)
|
|
799
|
+
return typing.cast(typing.Optional["_aws_cdk_ceddda9d.Size"], result)
|
|
903
800
|
|
|
904
801
|
@builtins.property
|
|
905
802
|
def events(
|
|
906
803
|
self,
|
|
907
|
-
) -> typing.Optional[typing.List[_aws_cdk_aws_lambda_ceddda9d.IEventSource]]:
|
|
804
|
+
) -> typing.Optional[typing.List["_aws_cdk_aws_lambda_ceddda9d.IEventSource"]]:
|
|
908
805
|
'''Event sources for this function.
|
|
909
806
|
|
|
910
807
|
You can also add event sources using ``addEventSource``.
|
|
@@ -912,16 +809,16 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
912
809
|
:default: - No event sources.
|
|
913
810
|
'''
|
|
914
811
|
result = self._values.get("events")
|
|
915
|
-
return typing.cast(typing.Optional[typing.List[_aws_cdk_aws_lambda_ceddda9d.IEventSource]], result)
|
|
812
|
+
return typing.cast(typing.Optional[typing.List["_aws_cdk_aws_lambda_ceddda9d.IEventSource"]], result)
|
|
916
813
|
|
|
917
814
|
@builtins.property
|
|
918
|
-
def filesystem(self) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.FileSystem]:
|
|
815
|
+
def filesystem(self) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.FileSystem"]:
|
|
919
816
|
'''The filesystem configuration for the lambda function.
|
|
920
817
|
|
|
921
818
|
:default: - will not mount any filesystem
|
|
922
819
|
'''
|
|
923
820
|
result = self._values.get("filesystem")
|
|
924
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.FileSystem], result)
|
|
821
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.FileSystem"], result)
|
|
925
822
|
|
|
926
823
|
@builtins.property
|
|
927
824
|
def function_name(self) -> typing.Optional[builtins.str]:
|
|
@@ -938,7 +835,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
938
835
|
@builtins.property
|
|
939
836
|
def initial_policy(
|
|
940
837
|
self,
|
|
941
|
-
) -> typing.Optional[typing.List[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]]:
|
|
838
|
+
) -> typing.Optional[typing.List["_aws_cdk_aws_iam_ceddda9d.PolicyStatement"]]:
|
|
942
839
|
'''Initial policy statements to add to the created Lambda Role.
|
|
943
840
|
|
|
944
841
|
You can call ``addToRolePolicy`` to the created lambda to add statements post creation.
|
|
@@ -946,12 +843,12 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
946
843
|
:default: - No policy statements are added to the created Lambda role.
|
|
947
844
|
'''
|
|
948
845
|
result = self._values.get("initial_policy")
|
|
949
|
-
return typing.cast(typing.Optional[typing.List[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]], result)
|
|
846
|
+
return typing.cast(typing.Optional[typing.List["_aws_cdk_aws_iam_ceddda9d.PolicyStatement"]], result)
|
|
950
847
|
|
|
951
848
|
@builtins.property
|
|
952
849
|
def insights_version(
|
|
953
850
|
self,
|
|
954
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion]:
|
|
851
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion"]:
|
|
955
852
|
'''Specify the version of CloudWatch Lambda insights to use for monitoring.
|
|
956
853
|
|
|
957
854
|
:default: - No Lambda Insights
|
|
@@ -959,23 +856,12 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
959
856
|
:see: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Lambda-Insights-Getting-Started-docker.html
|
|
960
857
|
'''
|
|
961
858
|
result = self._values.get("insights_version")
|
|
962
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion], result)
|
|
963
|
-
|
|
964
|
-
@builtins.property
|
|
965
|
-
def ipv6_allowed_for_dual_stack(self) -> typing.Optional[builtins.bool]:
|
|
966
|
-
'''Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
|
|
967
|
-
|
|
968
|
-
Only used if 'vpc' is supplied.
|
|
969
|
-
|
|
970
|
-
:default: false
|
|
971
|
-
'''
|
|
972
|
-
result = self._values.get("ipv6_allowed_for_dual_stack")
|
|
973
|
-
return typing.cast(typing.Optional[builtins.bool], result)
|
|
859
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion"], result)
|
|
974
860
|
|
|
975
861
|
@builtins.property
|
|
976
862
|
def layers(
|
|
977
863
|
self,
|
|
978
|
-
) -> typing.Optional[typing.List[_aws_cdk_aws_lambda_ceddda9d.ILayerVersion]]:
|
|
864
|
+
) -> typing.Optional[typing.List["_aws_cdk_aws_lambda_ceddda9d.ILayerVersion"]]:
|
|
979
865
|
'''A list of layers to add to the function's execution environment.
|
|
980
866
|
|
|
981
867
|
You can configure your Lambda function to pull in
|
|
@@ -985,104 +871,44 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
985
871
|
:default: - No layers.
|
|
986
872
|
'''
|
|
987
873
|
result = self._values.get("layers")
|
|
988
|
-
return typing.cast(typing.Optional[typing.List[_aws_cdk_aws_lambda_ceddda9d.ILayerVersion]], result)
|
|
989
|
-
|
|
990
|
-
@builtins.property
|
|
991
|
-
def log_format(self) -> typing.Optional[builtins.str]:
|
|
992
|
-
'''(deprecated) Sets the logFormat for the function.
|
|
993
|
-
|
|
994
|
-
:default: "Text"
|
|
995
|
-
|
|
996
|
-
:deprecated: Use ``loggingFormat`` as a property instead.
|
|
997
|
-
|
|
998
|
-
:stability: deprecated
|
|
999
|
-
'''
|
|
1000
|
-
result = self._values.get("log_format")
|
|
1001
|
-
return typing.cast(typing.Optional[builtins.str], result)
|
|
1002
|
-
|
|
1003
|
-
@builtins.property
|
|
1004
|
-
def logging_format(
|
|
1005
|
-
self,
|
|
1006
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LoggingFormat]:
|
|
1007
|
-
'''Sets the loggingFormat for the function.
|
|
1008
|
-
|
|
1009
|
-
:default: LoggingFormat.TEXT
|
|
1010
|
-
'''
|
|
1011
|
-
result = self._values.get("logging_format")
|
|
1012
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LoggingFormat], result)
|
|
1013
|
-
|
|
1014
|
-
@builtins.property
|
|
1015
|
-
def log_group(self) -> typing.Optional[_aws_cdk_aws_logs_ceddda9d.ILogGroup]:
|
|
1016
|
-
'''The log group the function sends logs to.
|
|
1017
|
-
|
|
1018
|
-
By default, Lambda functions send logs to an automatically created default log group named /aws/lambda/.
|
|
1019
|
-
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.
|
|
1020
|
-
|
|
1021
|
-
Use the ``logGroup`` property to create a fully customizable LogGroup ahead of time, and instruct the Lambda function to send logs to it.
|
|
1022
|
-
|
|
1023
|
-
Providing a user-controlled log group was rolled out to commercial regions on 2023-11-16.
|
|
1024
|
-
If you are deploying to another type of region, please check regional availability first.
|
|
1025
|
-
|
|
1026
|
-
:default: ``/aws/lambda/${this.functionName}`` - default log group created by Lambda
|
|
1027
|
-
'''
|
|
1028
|
-
result = self._values.get("log_group")
|
|
1029
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_logs_ceddda9d.ILogGroup], result)
|
|
874
|
+
return typing.cast(typing.Optional[typing.List["_aws_cdk_aws_lambda_ceddda9d.ILayerVersion"]], result)
|
|
1030
875
|
|
|
1031
876
|
@builtins.property
|
|
1032
877
|
def log_retention(
|
|
1033
878
|
self,
|
|
1034
|
-
) -> typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays]:
|
|
879
|
+
) -> typing.Optional["_aws_cdk_aws_logs_ceddda9d.RetentionDays"]:
|
|
1035
880
|
'''The number of days log events are kept in CloudWatch Logs.
|
|
1036
881
|
|
|
1037
882
|
When updating
|
|
1038
883
|
this property, unsetting it doesn't remove the log retention policy. To
|
|
1039
884
|
remove the retention policy, set the value to ``INFINITE``.
|
|
1040
885
|
|
|
1041
|
-
This is a legacy API and we strongly recommend you move away from it if you can.
|
|
1042
|
-
Instead create a fully customizable log group with ``logs.LogGroup`` and use the ``logGroup`` property
|
|
1043
|
-
to instruct the Lambda function to send logs to it.
|
|
1044
|
-
Migrating from ``logRetention`` to ``logGroup`` will cause the name of the log group to change.
|
|
1045
|
-
Users and code and referencing the name verbatim will have to adjust.
|
|
1046
|
-
|
|
1047
|
-
In AWS CDK code, you can access the log group name directly from the LogGroup construct::
|
|
1048
|
-
|
|
1049
|
-
import * as logs from 'aws-cdk-lib/aws-logs';
|
|
1050
|
-
|
|
1051
|
-
declare const myLogGroup: logs.LogGroup;
|
|
1052
|
-
myLogGroup.logGroupName;
|
|
1053
|
-
|
|
1054
886
|
:default: logs.RetentionDays.INFINITE
|
|
1055
887
|
'''
|
|
1056
888
|
result = self._values.get("log_retention")
|
|
1057
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays], result)
|
|
889
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_logs_ceddda9d.RetentionDays"], result)
|
|
1058
890
|
|
|
1059
891
|
@builtins.property
|
|
1060
892
|
def log_retention_retry_options(
|
|
1061
893
|
self,
|
|
1062
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions]:
|
|
894
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions"]:
|
|
1063
895
|
'''When log retention is specified, a custom resource attempts to create the CloudWatch log group.
|
|
1064
896
|
|
|
1065
897
|
These options control the retry policy when interacting with CloudWatch APIs.
|
|
1066
898
|
|
|
1067
|
-
This is a legacy API and we strongly recommend you migrate to ``logGroup`` if you can.
|
|
1068
|
-
``logGroup`` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it.
|
|
1069
|
-
|
|
1070
899
|
:default: - Default AWS SDK retry options.
|
|
1071
900
|
'''
|
|
1072
901
|
result = self._values.get("log_retention_retry_options")
|
|
1073
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions], result)
|
|
902
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions"], result)
|
|
1074
903
|
|
|
1075
904
|
@builtins.property
|
|
1076
|
-
def log_retention_role(self) -> typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole]:
|
|
905
|
+
def log_retention_role(self) -> typing.Optional["_aws_cdk_aws_iam_ceddda9d.IRole"]:
|
|
1077
906
|
'''The IAM role for the Lambda function associated with the custom resource that sets the retention policy.
|
|
1078
907
|
|
|
1079
|
-
This is a legacy API and we strongly recommend you migrate to ``logGroup`` if you can.
|
|
1080
|
-
``logGroup`` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it.
|
|
1081
|
-
|
|
1082
908
|
:default: - A new role is created.
|
|
1083
909
|
'''
|
|
1084
910
|
result = self._values.get("log_retention_role")
|
|
1085
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole], result)
|
|
911
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_iam_ceddda9d.IRole"], result)
|
|
1086
912
|
|
|
1087
913
|
@builtins.property
|
|
1088
914
|
def memory_size(self) -> typing.Optional[jsii.Number]:
|
|
@@ -1100,7 +926,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
1100
926
|
@builtins.property
|
|
1101
927
|
def params_and_secrets(
|
|
1102
928
|
self,
|
|
1103
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion]:
|
|
929
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion"]:
|
|
1104
930
|
'''Specify the configuration of Parameters and Secrets Extension.
|
|
1105
931
|
|
|
1106
932
|
:default: - No Parameters and Secrets Extension
|
|
@@ -1108,7 +934,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
1108
934
|
:see: https://docs.aws.amazon.com/systems-manager/latest/userguide/ps-integration-lambda-extensions.html
|
|
1109
935
|
'''
|
|
1110
936
|
result = self._values.get("params_and_secrets")
|
|
1111
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion], result)
|
|
937
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion"], result)
|
|
1112
938
|
|
|
1113
939
|
@builtins.property
|
|
1114
940
|
def profiling(self) -> typing.Optional[builtins.bool]:
|
|
@@ -1124,7 +950,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
1124
950
|
@builtins.property
|
|
1125
951
|
def profiling_group(
|
|
1126
952
|
self,
|
|
1127
|
-
) -> typing.Optional[_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup]:
|
|
953
|
+
) -> typing.Optional["_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup"]:
|
|
1128
954
|
'''Profiling Group.
|
|
1129
955
|
|
|
1130
956
|
:default: - A new profiling group will be created if ``profiling`` is set.
|
|
@@ -1132,7 +958,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
1132
958
|
:see: https://docs.aws.amazon.com/codeguru/latest/profiler-ug/setting-up-lambda.html
|
|
1133
959
|
'''
|
|
1134
960
|
result = self._values.get("profiling_group")
|
|
1135
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup], result)
|
|
961
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup"], result)
|
|
1136
962
|
|
|
1137
963
|
@builtins.property
|
|
1138
964
|
def reserved_concurrent_executions(self) -> typing.Optional[jsii.Number]:
|
|
@@ -1146,7 +972,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
1146
972
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
1147
973
|
|
|
1148
974
|
@builtins.property
|
|
1149
|
-
def role(self) -> typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole]:
|
|
975
|
+
def role(self) -> typing.Optional["_aws_cdk_aws_iam_ceddda9d.IRole"]:
|
|
1150
976
|
'''Lambda execution role.
|
|
1151
977
|
|
|
1152
978
|
This is the role that will be assumed by the function upon execution.
|
|
@@ -1165,23 +991,23 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
1165
991
|
Both supplied and generated roles can always be changed by calling ``addToRolePolicy``.
|
|
1166
992
|
'''
|
|
1167
993
|
result = self._values.get("role")
|
|
1168
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole], result)
|
|
994
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_iam_ceddda9d.IRole"], result)
|
|
1169
995
|
|
|
1170
996
|
@builtins.property
|
|
1171
997
|
def runtime_management_mode(
|
|
1172
998
|
self,
|
|
1173
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode]:
|
|
999
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode"]:
|
|
1174
1000
|
'''Sets the runtime management configuration for a function's version.
|
|
1175
1001
|
|
|
1176
1002
|
:default: Auto
|
|
1177
1003
|
'''
|
|
1178
1004
|
result = self._values.get("runtime_management_mode")
|
|
1179
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode], result)
|
|
1005
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode"], result)
|
|
1180
1006
|
|
|
1181
1007
|
@builtins.property
|
|
1182
1008
|
def security_groups(
|
|
1183
1009
|
self,
|
|
1184
|
-
) -> typing.Optional[typing.List[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]]:
|
|
1010
|
+
) -> typing.Optional[typing.List["_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup"]]:
|
|
1185
1011
|
'''The list of security groups to associate with the Lambda's network interfaces.
|
|
1186
1012
|
|
|
1187
1013
|
Only used if 'vpc' is supplied.
|
|
@@ -1193,45 +1019,10 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
1193
1019
|
group will be created for this function.
|
|
1194
1020
|
'''
|
|
1195
1021
|
result = self._values.get("security_groups")
|
|
1196
|
-
return typing.cast(typing.Optional[typing.List[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]], result)
|
|
1197
|
-
|
|
1198
|
-
@builtins.property
|
|
1199
|
-
def snap_start(self) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SnapStartConf]:
|
|
1200
|
-
'''Enable SnapStart for Lambda Function.
|
|
1201
|
-
|
|
1202
|
-
SnapStart is currently supported only for Java 11, 17 runtime
|
|
1203
|
-
|
|
1204
|
-
:default: - No snapstart
|
|
1205
|
-
'''
|
|
1206
|
-
result = self._values.get("snap_start")
|
|
1207
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SnapStartConf], result)
|
|
1022
|
+
return typing.cast(typing.Optional[typing.List["_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup"]], result)
|
|
1208
1023
|
|
|
1209
1024
|
@builtins.property
|
|
1210
|
-
def
|
|
1211
|
-
'''(deprecated) Sets the system log level for the function.
|
|
1212
|
-
|
|
1213
|
-
:default: "INFO"
|
|
1214
|
-
|
|
1215
|
-
:deprecated: Use ``systemLogLevelV2`` as a property instead.
|
|
1216
|
-
|
|
1217
|
-
:stability: deprecated
|
|
1218
|
-
'''
|
|
1219
|
-
result = self._values.get("system_log_level")
|
|
1220
|
-
return typing.cast(typing.Optional[builtins.str], result)
|
|
1221
|
-
|
|
1222
|
-
@builtins.property
|
|
1223
|
-
def system_log_level_v2(
|
|
1224
|
-
self,
|
|
1225
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SystemLogLevel]:
|
|
1226
|
-
'''Sets the system log level for the function.
|
|
1227
|
-
|
|
1228
|
-
:default: SystemLogLevel.INFO
|
|
1229
|
-
'''
|
|
1230
|
-
result = self._values.get("system_log_level_v2")
|
|
1231
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SystemLogLevel], result)
|
|
1232
|
-
|
|
1233
|
-
@builtins.property
|
|
1234
|
-
def timeout(self) -> typing.Optional[_aws_cdk_ceddda9d.Duration]:
|
|
1025
|
+
def timeout(self) -> typing.Optional["_aws_cdk_ceddda9d.Duration"]:
|
|
1235
1026
|
'''The function execution time (in seconds) after which Lambda terminates the function.
|
|
1236
1027
|
|
|
1237
1028
|
Because the execution time affects cost, set this value
|
|
@@ -1240,19 +1031,19 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
1240
1031
|
:default: Duration.seconds(3)
|
|
1241
1032
|
'''
|
|
1242
1033
|
result = self._values.get("timeout")
|
|
1243
|
-
return typing.cast(typing.Optional[_aws_cdk_ceddda9d.Duration], result)
|
|
1034
|
+
return typing.cast(typing.Optional["_aws_cdk_ceddda9d.Duration"], result)
|
|
1244
1035
|
|
|
1245
1036
|
@builtins.property
|
|
1246
|
-
def tracing(self) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing]:
|
|
1037
|
+
def tracing(self) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Tracing"]:
|
|
1247
1038
|
'''Enable AWS X-Ray Tracing for Lambda Function.
|
|
1248
1039
|
|
|
1249
1040
|
:default: Tracing.Disabled
|
|
1250
1041
|
'''
|
|
1251
1042
|
result = self._values.get("tracing")
|
|
1252
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing], result)
|
|
1043
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Tracing"], result)
|
|
1253
1044
|
|
|
1254
1045
|
@builtins.property
|
|
1255
|
-
def vpc(self) -> typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc]:
|
|
1046
|
+
def vpc(self) -> typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"]:
|
|
1256
1047
|
'''VPC network to place Lambda network interfaces.
|
|
1257
1048
|
|
|
1258
1049
|
Specify this if the Lambda function needs to access resources in a VPC.
|
|
@@ -1261,10 +1052,12 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
1261
1052
|
:default: - Function is not placed within a VPC.
|
|
1262
1053
|
'''
|
|
1263
1054
|
result = self._values.get("vpc")
|
|
1264
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc], result)
|
|
1055
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"], result)
|
|
1265
1056
|
|
|
1266
1057
|
@builtins.property
|
|
1267
|
-
def vpc_subnets(
|
|
1058
|
+
def vpc_subnets(
|
|
1059
|
+
self,
|
|
1060
|
+
) -> typing.Optional["_aws_cdk_aws_ec2_ceddda9d.SubnetSelection"]:
|
|
1268
1061
|
'''Where to place the network interfaces within the VPC.
|
|
1269
1062
|
|
|
1270
1063
|
This requires ``vpc`` to be specified in order for interfaces to actually be
|
|
@@ -1276,7 +1069,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
1276
1069
|
:default: - the Vpc default strategy if not specified
|
|
1277
1070
|
'''
|
|
1278
1071
|
result = self._values.get("vpc_subnets")
|
|
1279
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_ec2_ceddda9d.SubnetSelection], result)
|
|
1072
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_ec2_ceddda9d.SubnetSelection"], result)
|
|
1280
1073
|
|
|
1281
1074
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1282
1075
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -1429,11 +1222,11 @@ class IComponentProps(typing_extensions.Protocol):
|
|
|
1429
1222
|
|
|
1430
1223
|
@builtins.property
|
|
1431
1224
|
@jsii.member(jsii_name="componentDocument")
|
|
1432
|
-
def component_document(self) -> IComponentDocument:
|
|
1225
|
+
def component_document(self) -> "IComponentDocument":
|
|
1433
1226
|
...
|
|
1434
1227
|
|
|
1435
1228
|
@component_document.setter
|
|
1436
|
-
def component_document(self, value: IComponentDocument) -> None:
|
|
1229
|
+
def component_document(self, value: "IComponentDocument") -> None:
|
|
1437
1230
|
...
|
|
1438
1231
|
|
|
1439
1232
|
@builtins.property
|
|
@@ -1503,11 +1296,11 @@ class _IComponentPropsProxy:
|
|
|
1503
1296
|
|
|
1504
1297
|
@builtins.property
|
|
1505
1298
|
@jsii.member(jsii_name="componentDocument")
|
|
1506
|
-
def component_document(self) -> IComponentDocument:
|
|
1507
|
-
return typing.cast(IComponentDocument, jsii.get(self, "componentDocument"))
|
|
1299
|
+
def component_document(self) -> "IComponentDocument":
|
|
1300
|
+
return typing.cast("IComponentDocument", jsii.get(self, "componentDocument"))
|
|
1508
1301
|
|
|
1509
1302
|
@component_document.setter
|
|
1510
|
-
def component_document(self, value: IComponentDocument) -> None:
|
|
1303
|
+
def component_document(self, value: "IComponentDocument") -> None:
|
|
1511
1304
|
if __debug__:
|
|
1512
1305
|
type_hints = typing.get_type_hints(_typecheckingstub__b0ad2caab3355f4838637405d4f26c75ee1cce783903c32551e643abe82659e8)
|
|
1513
1306
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
@@ -1894,11 +1687,11 @@ class IStepCommands(typing_extensions.Protocol):
|
|
|
1894
1687
|
|
|
1895
1688
|
@builtins.property
|
|
1896
1689
|
@jsii.member(jsii_name="inputs")
|
|
1897
|
-
def inputs(self) -> typing.Optional[IActionCommands]:
|
|
1690
|
+
def inputs(self) -> typing.Optional["IActionCommands"]:
|
|
1898
1691
|
...
|
|
1899
1692
|
|
|
1900
1693
|
@inputs.setter
|
|
1901
|
-
def inputs(self, value: typing.Optional[IActionCommands]) -> None:
|
|
1694
|
+
def inputs(self, value: typing.Optional["IActionCommands"]) -> None:
|
|
1902
1695
|
...
|
|
1903
1696
|
|
|
1904
1697
|
|
|
@@ -1931,11 +1724,11 @@ class _IStepCommandsProxy:
|
|
|
1931
1724
|
|
|
1932
1725
|
@builtins.property
|
|
1933
1726
|
@jsii.member(jsii_name="inputs")
|
|
1934
|
-
def inputs(self) -> typing.Optional[IActionCommands]:
|
|
1935
|
-
return typing.cast(typing.Optional[IActionCommands], jsii.get(self, "inputs"))
|
|
1727
|
+
def inputs(self) -> typing.Optional["IActionCommands"]:
|
|
1728
|
+
return typing.cast(typing.Optional["IActionCommands"], jsii.get(self, "inputs"))
|
|
1936
1729
|
|
|
1937
1730
|
@inputs.setter
|
|
1938
|
-
def inputs(self, value: typing.Optional[IActionCommands]) -> None:
|
|
1731
|
+
def inputs(self, value: typing.Optional["IActionCommands"]) -> None:
|
|
1939
1732
|
if __debug__:
|
|
1940
1733
|
type_hints = typing.get_type_hints(_typecheckingstub__31f544d77b7639a100d3ef21a2dccb6780ad4865ad30dc0927169fa6f58ba844)
|
|
1941
1734
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
@@ -1952,13 +1745,13 @@ class ImagePipeline(
|
|
|
1952
1745
|
):
|
|
1953
1746
|
def __init__(
|
|
1954
1747
|
self,
|
|
1955
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
1748
|
+
scope: "_constructs_77d1e7e8.Construct",
|
|
1956
1749
|
id: builtins.str,
|
|
1957
1750
|
*,
|
|
1958
|
-
components: typing.Sequence[IComponentProps],
|
|
1751
|
+
components: typing.Sequence["IComponentProps"],
|
|
1959
1752
|
parent_image: builtins.str,
|
|
1960
|
-
vpc: _aws_cdk_aws_ec2_ceddda9d.Vpc,
|
|
1961
|
-
additional_policies: typing.Optional[typing.Sequence[_aws_cdk_aws_iam_ceddda9d.ManagedPolicy]] = None,
|
|
1753
|
+
vpc: "_aws_cdk_aws_ec2_ceddda9d.Vpc",
|
|
1754
|
+
additional_policies: typing.Optional[typing.Sequence["_aws_cdk_aws_iam_ceddda9d.ManagedPolicy"]] = None,
|
|
1962
1755
|
debug_image_pipeline: typing.Optional[builtins.bool] = None,
|
|
1963
1756
|
distribution_account_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1964
1757
|
distribution_kms_key_alias: typing.Optional[builtins.str] = None,
|
|
@@ -2060,13 +1853,13 @@ class ImagePipeline(
|
|
|
2060
1853
|
@jsii.member(jsii_name="imageRecipeComponents")
|
|
2061
1854
|
def image_recipe_components(
|
|
2062
1855
|
self,
|
|
2063
|
-
) -> typing.List[_aws_cdk_aws_imagebuilder_ceddda9d.CfnImageRecipe.ComponentConfigurationProperty]:
|
|
2064
|
-
return typing.cast(typing.List[_aws_cdk_aws_imagebuilder_ceddda9d.CfnImageRecipe.ComponentConfigurationProperty], jsii.get(self, "imageRecipeComponents"))
|
|
1856
|
+
) -> typing.List["_aws_cdk_aws_imagebuilder_ceddda9d.CfnImageRecipe.ComponentConfigurationProperty"]:
|
|
1857
|
+
return typing.cast(typing.List["_aws_cdk_aws_imagebuilder_ceddda9d.CfnImageRecipe.ComponentConfigurationProperty"], jsii.get(self, "imageRecipeComponents"))
|
|
2065
1858
|
|
|
2066
1859
|
@image_recipe_components.setter
|
|
2067
1860
|
def image_recipe_components(
|
|
2068
1861
|
self,
|
|
2069
|
-
value: typing.List[_aws_cdk_aws_imagebuilder_ceddda9d.CfnImageRecipe.ComponentConfigurationProperty],
|
|
1862
|
+
value: typing.List["_aws_cdk_aws_imagebuilder_ceddda9d.CfnImageRecipe.ComponentConfigurationProperty"],
|
|
2070
1863
|
) -> None:
|
|
2071
1864
|
if __debug__:
|
|
2072
1865
|
type_hints = typing.get_type_hints(_typecheckingstub__eeb1c8226fc2b10c398b3b6c92875d7937e349500e49aef10cfda8c99a39abca)
|
|
@@ -2105,10 +1898,10 @@ class ImagePipelineProps:
|
|
|
2105
1898
|
def __init__(
|
|
2106
1899
|
self,
|
|
2107
1900
|
*,
|
|
2108
|
-
components: typing.Sequence[IComponentProps],
|
|
1901
|
+
components: typing.Sequence["IComponentProps"],
|
|
2109
1902
|
parent_image: builtins.str,
|
|
2110
|
-
vpc: _aws_cdk_aws_ec2_ceddda9d.Vpc,
|
|
2111
|
-
additional_policies: typing.Optional[typing.Sequence[_aws_cdk_aws_iam_ceddda9d.ManagedPolicy]] = None,
|
|
1903
|
+
vpc: "_aws_cdk_aws_ec2_ceddda9d.Vpc",
|
|
1904
|
+
additional_policies: typing.Optional[typing.Sequence["_aws_cdk_aws_iam_ceddda9d.ManagedPolicy"]] = None,
|
|
2112
1905
|
debug_image_pipeline: typing.Optional[builtins.bool] = None,
|
|
2113
1906
|
distribution_account_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2114
1907
|
distribution_kms_key_alias: typing.Optional[builtins.str] = None,
|
|
@@ -2216,11 +2009,11 @@ class ImagePipelineProps:
|
|
|
2216
2009
|
self._values["vuln_scans_repo_tags"] = vuln_scans_repo_tags
|
|
2217
2010
|
|
|
2218
2011
|
@builtins.property
|
|
2219
|
-
def components(self) -> typing.List[IComponentProps]:
|
|
2012
|
+
def components(self) -> typing.List["IComponentProps"]:
|
|
2220
2013
|
'''List of component props.'''
|
|
2221
2014
|
result = self._values.get("components")
|
|
2222
2015
|
assert result is not None, "Required property 'components' is missing"
|
|
2223
|
-
return typing.cast(typing.List[IComponentProps], result)
|
|
2016
|
+
return typing.cast(typing.List["IComponentProps"], result)
|
|
2224
2017
|
|
|
2225
2018
|
@builtins.property
|
|
2226
2019
|
def parent_image(self) -> builtins.str:
|
|
@@ -2233,19 +2026,19 @@ class ImagePipelineProps:
|
|
|
2233
2026
|
return typing.cast(builtins.str, result)
|
|
2234
2027
|
|
|
2235
2028
|
@builtins.property
|
|
2236
|
-
def vpc(self) -> _aws_cdk_aws_ec2_ceddda9d.Vpc:
|
|
2029
|
+
def vpc(self) -> "_aws_cdk_aws_ec2_ceddda9d.Vpc":
|
|
2237
2030
|
'''Vpc to use for the Image Builder Pipeline.'''
|
|
2238
2031
|
result = self._values.get("vpc")
|
|
2239
2032
|
assert result is not None, "Required property 'vpc' is missing"
|
|
2240
|
-
return typing.cast(_aws_cdk_aws_ec2_ceddda9d.Vpc, result)
|
|
2033
|
+
return typing.cast("_aws_cdk_aws_ec2_ceddda9d.Vpc", result)
|
|
2241
2034
|
|
|
2242
2035
|
@builtins.property
|
|
2243
2036
|
def additional_policies(
|
|
2244
2037
|
self,
|
|
2245
|
-
) -> typing.Optional[typing.List[_aws_cdk_aws_iam_ceddda9d.ManagedPolicy]]:
|
|
2038
|
+
) -> typing.Optional[typing.List["_aws_cdk_aws_iam_ceddda9d.ManagedPolicy"]]:
|
|
2246
2039
|
'''Additional policies to add to the instance profile associated with the Instance Configurations.'''
|
|
2247
2040
|
result = self._values.get("additional_policies")
|
|
2248
|
-
return typing.cast(typing.Optional[typing.List[_aws_cdk_aws_iam_ceddda9d.ManagedPolicy]], result)
|
|
2041
|
+
return typing.cast(typing.Optional[typing.List["_aws_cdk_aws_iam_ceddda9d.ManagedPolicy"]], result)
|
|
2249
2042
|
|
|
2250
2043
|
@builtins.property
|
|
2251
2044
|
def debug_image_pipeline(self) -> typing.Optional[builtins.bool]:
|
|
@@ -2395,65 +2188,54 @@ class StartStateMachineFunction(
|
|
|
2395
2188
|
|
|
2396
2189
|
def __init__(
|
|
2397
2190
|
self,
|
|
2398
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
2191
|
+
scope: "_constructs_77d1e7e8.Construct",
|
|
2399
2192
|
id: builtins.str,
|
|
2400
2193
|
*,
|
|
2401
|
-
adot_instrumentation: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2194
|
+
adot_instrumentation: typing.Optional[typing.Union["_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2402
2195
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
2403
2196
|
allow_public_subnet: typing.Optional[builtins.bool] = None,
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
current_version_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.VersionOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2409
|
-
dead_letter_queue: typing.Optional[_aws_cdk_aws_sqs_ceddda9d.IQueue] = None,
|
|
2197
|
+
architecture: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Architecture"] = None,
|
|
2198
|
+
code_signing_config: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig"] = None,
|
|
2199
|
+
current_version_options: typing.Optional[typing.Union["_aws_cdk_aws_lambda_ceddda9d.VersionOptions", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2200
|
+
dead_letter_queue: typing.Optional["_aws_cdk_aws_sqs_ceddda9d.IQueue"] = None,
|
|
2410
2201
|
dead_letter_queue_enabled: typing.Optional[builtins.bool] = None,
|
|
2411
|
-
dead_letter_topic: typing.Optional[_aws_cdk_aws_sns_ceddda9d.ITopic] = None,
|
|
2202
|
+
dead_letter_topic: typing.Optional["_aws_cdk_aws_sns_ceddda9d.ITopic"] = None,
|
|
2412
2203
|
description: typing.Optional[builtins.str] = None,
|
|
2413
2204
|
environment: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2414
|
-
environment_encryption: typing.Optional[_aws_cdk_aws_kms_ceddda9d.IKey] = None,
|
|
2415
|
-
ephemeral_storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
|
|
2416
|
-
events: typing.Optional[typing.Sequence[_aws_cdk_aws_lambda_ceddda9d.IEventSource]] = None,
|
|
2417
|
-
filesystem: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.FileSystem] = None,
|
|
2205
|
+
environment_encryption: typing.Optional["_aws_cdk_aws_kms_ceddda9d.IKey"] = None,
|
|
2206
|
+
ephemeral_storage_size: typing.Optional["_aws_cdk_ceddda9d.Size"] = None,
|
|
2207
|
+
events: typing.Optional[typing.Sequence["_aws_cdk_aws_lambda_ceddda9d.IEventSource"]] = None,
|
|
2208
|
+
filesystem: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.FileSystem"] = None,
|
|
2418
2209
|
function_name: typing.Optional[builtins.str] = None,
|
|
2419
|
-
initial_policy: typing.Optional[typing.Sequence[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]] = None,
|
|
2420
|
-
insights_version: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion] = None,
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
log_group: typing.Optional[_aws_cdk_aws_logs_ceddda9d.ILogGroup] = None,
|
|
2426
|
-
log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
|
|
2427
|
-
log_retention_retry_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2428
|
-
log_retention_role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
2210
|
+
initial_policy: typing.Optional[typing.Sequence["_aws_cdk_aws_iam_ceddda9d.PolicyStatement"]] = None,
|
|
2211
|
+
insights_version: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion"] = None,
|
|
2212
|
+
layers: typing.Optional[typing.Sequence["_aws_cdk_aws_lambda_ceddda9d.ILayerVersion"]] = None,
|
|
2213
|
+
log_retention: typing.Optional["_aws_cdk_aws_logs_ceddda9d.RetentionDays"] = None,
|
|
2214
|
+
log_retention_retry_options: typing.Optional[typing.Union["_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2215
|
+
log_retention_role: typing.Optional["_aws_cdk_aws_iam_ceddda9d.IRole"] = None,
|
|
2429
2216
|
memory_size: typing.Optional[jsii.Number] = None,
|
|
2430
|
-
params_and_secrets: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion] = None,
|
|
2217
|
+
params_and_secrets: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion"] = None,
|
|
2431
2218
|
profiling: typing.Optional[builtins.bool] = None,
|
|
2432
|
-
profiling_group: typing.Optional[_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup] = None,
|
|
2219
|
+
profiling_group: typing.Optional["_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup"] = None,
|
|
2433
2220
|
reserved_concurrent_executions: typing.Optional[jsii.Number] = None,
|
|
2434
|
-
role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
2435
|
-
runtime_management_mode: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode] = None,
|
|
2436
|
-
security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
max_event_age: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
2445
|
-
on_failure: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.IDestination] = None,
|
|
2446
|
-
on_success: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.IDestination] = None,
|
|
2221
|
+
role: typing.Optional["_aws_cdk_aws_iam_ceddda9d.IRole"] = None,
|
|
2222
|
+
runtime_management_mode: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode"] = None,
|
|
2223
|
+
security_groups: typing.Optional[typing.Sequence["_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup"]] = None,
|
|
2224
|
+
timeout: typing.Optional["_aws_cdk_ceddda9d.Duration"] = None,
|
|
2225
|
+
tracing: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Tracing"] = None,
|
|
2226
|
+
vpc: typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"] = None,
|
|
2227
|
+
vpc_subnets: typing.Optional[typing.Union["_aws_cdk_aws_ec2_ceddda9d.SubnetSelection", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2228
|
+
max_event_age: typing.Optional["_aws_cdk_ceddda9d.Duration"] = None,
|
|
2229
|
+
on_failure: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.IDestination"] = None,
|
|
2230
|
+
on_success: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.IDestination"] = None,
|
|
2447
2231
|
retry_attempts: typing.Optional[jsii.Number] = None,
|
|
2448
2232
|
) -> None:
|
|
2449
2233
|
'''
|
|
2450
2234
|
:param scope: -
|
|
2451
2235
|
:param id: -
|
|
2452
2236
|
:param adot_instrumentation: Specify the configuration of AWS Distro for OpenTelemetry (ADOT) instrumentation. Default: - No ADOT instrumentation
|
|
2453
|
-
: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.
|
|
2237
|
+
: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. Default: true
|
|
2454
2238
|
: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
|
|
2455
|
-
:param application_log_level: (deprecated) Sets the application log level for the function. Default: "INFO"
|
|
2456
|
-
:param application_log_level_v2: Sets the application log level for the function. Default: ApplicationLogLevel.INFO
|
|
2457
2239
|
:param architecture: The system architectures compatible with this lambda function. Default: Architecture.X86_64
|
|
2458
2240
|
:param code_signing_config: Code signing config associated with this function. Default: - Not Sign the Code
|
|
2459
2241
|
:param current_version_options: Options for the ``lambda.Version`` resource automatically created by the ``fn.currentVersion`` method. Default: - default options as described in ``VersionOptions``
|
|
@@ -2469,14 +2251,10 @@ class StartStateMachineFunction(
|
|
|
2469
2251
|
: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.
|
|
2470
2252
|
: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.
|
|
2471
2253
|
:param insights_version: Specify the version of CloudWatch Lambda insights to use for monitoring. Default: - No Lambda Insights
|
|
2472
|
-
: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
|
|
2473
2254
|
: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.
|
|
2474
|
-
:param
|
|
2475
|
-
:param
|
|
2476
|
-
:param
|
|
2477
|
-
: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
|
|
2478
|
-
: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.
|
|
2479
|
-
:param log_retention_role: The IAM role for the Lambda function associated with the custom resource that sets the retention policy. 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: - A new role is created.
|
|
2255
|
+
: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``. Default: logs.RetentionDays.INFINITE
|
|
2256
|
+
: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. Default: - Default AWS SDK retry options.
|
|
2257
|
+
:param log_retention_role: The IAM role for the Lambda function associated with the custom resource that sets the retention policy. Default: - A new role is created.
|
|
2480
2258
|
:param memory_size: The amount of memory, in MB, that is allocated to your Lambda function. Lambda uses this value to proportionally allocate the amount of CPU power. For more information, see Resource Model in the AWS Lambda Developer Guide. Default: 128
|
|
2481
2259
|
:param params_and_secrets: Specify the configuration of Parameters and Secrets Extension. Default: - No Parameters and Secrets Extension
|
|
2482
2260
|
:param profiling: Enable profiling. Default: - No profiling.
|
|
@@ -2485,9 +2263,6 @@ class StartStateMachineFunction(
|
|
|
2485
2263
|
: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``.
|
|
2486
2264
|
:param runtime_management_mode: Sets the runtime management configuration for a function's version. Default: Auto
|
|
2487
2265
|
: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.
|
|
2488
|
-
:param snap_start: Enable SnapStart for Lambda Function. SnapStart is currently supported only for Java 11, 17 runtime Default: - No snapstart
|
|
2489
|
-
:param system_log_level: (deprecated) Sets the system log level for the function. Default: "INFO"
|
|
2490
|
-
:param system_log_level_v2: Sets the system log level for the function. Default: SystemLogLevel.INFO
|
|
2491
2266
|
: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)
|
|
2492
2267
|
:param tracing: Enable AWS X-Ray Tracing for Lambda Function. Default: Tracing.Disabled
|
|
2493
2268
|
: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.
|
|
@@ -2505,8 +2280,6 @@ class StartStateMachineFunction(
|
|
|
2505
2280
|
adot_instrumentation=adot_instrumentation,
|
|
2506
2281
|
allow_all_outbound=allow_all_outbound,
|
|
2507
2282
|
allow_public_subnet=allow_public_subnet,
|
|
2508
|
-
application_log_level=application_log_level,
|
|
2509
|
-
application_log_level_v2=application_log_level_v2,
|
|
2510
2283
|
architecture=architecture,
|
|
2511
2284
|
code_signing_config=code_signing_config,
|
|
2512
2285
|
current_version_options=current_version_options,
|
|
@@ -2522,11 +2295,7 @@ class StartStateMachineFunction(
|
|
|
2522
2295
|
function_name=function_name,
|
|
2523
2296
|
initial_policy=initial_policy,
|
|
2524
2297
|
insights_version=insights_version,
|
|
2525
|
-
ipv6_allowed_for_dual_stack=ipv6_allowed_for_dual_stack,
|
|
2526
2298
|
layers=layers,
|
|
2527
|
-
log_format=log_format,
|
|
2528
|
-
logging_format=logging_format,
|
|
2529
|
-
log_group=log_group,
|
|
2530
2299
|
log_retention=log_retention,
|
|
2531
2300
|
log_retention_retry_options=log_retention_retry_options,
|
|
2532
2301
|
log_retention_role=log_retention_role,
|
|
@@ -2538,9 +2307,6 @@ class StartStateMachineFunction(
|
|
|
2538
2307
|
role=role,
|
|
2539
2308
|
runtime_management_mode=runtime_management_mode,
|
|
2540
2309
|
security_groups=security_groups,
|
|
2541
|
-
snap_start=snap_start,
|
|
2542
|
-
system_log_level=system_log_level,
|
|
2543
|
-
system_log_level_v2=system_log_level_v2,
|
|
2544
2310
|
timeout=timeout,
|
|
2545
2311
|
tracing=tracing,
|
|
2546
2312
|
vpc=vpc,
|
|
@@ -2565,8 +2331,6 @@ class StartStateMachineFunction(
|
|
|
2565
2331
|
"adot_instrumentation": "adotInstrumentation",
|
|
2566
2332
|
"allow_all_outbound": "allowAllOutbound",
|
|
2567
2333
|
"allow_public_subnet": "allowPublicSubnet",
|
|
2568
|
-
"application_log_level": "applicationLogLevel",
|
|
2569
|
-
"application_log_level_v2": "applicationLogLevelV2",
|
|
2570
2334
|
"architecture": "architecture",
|
|
2571
2335
|
"code_signing_config": "codeSigningConfig",
|
|
2572
2336
|
"current_version_options": "currentVersionOptions",
|
|
@@ -2582,11 +2346,7 @@ class StartStateMachineFunction(
|
|
|
2582
2346
|
"function_name": "functionName",
|
|
2583
2347
|
"initial_policy": "initialPolicy",
|
|
2584
2348
|
"insights_version": "insightsVersion",
|
|
2585
|
-
"ipv6_allowed_for_dual_stack": "ipv6AllowedForDualStack",
|
|
2586
2349
|
"layers": "layers",
|
|
2587
|
-
"log_format": "logFormat",
|
|
2588
|
-
"logging_format": "loggingFormat",
|
|
2589
|
-
"log_group": "logGroup",
|
|
2590
2350
|
"log_retention": "logRetention",
|
|
2591
2351
|
"log_retention_retry_options": "logRetentionRetryOptions",
|
|
2592
2352
|
"log_retention_role": "logRetentionRole",
|
|
@@ -2598,9 +2358,6 @@ class StartStateMachineFunction(
|
|
|
2598
2358
|
"role": "role",
|
|
2599
2359
|
"runtime_management_mode": "runtimeManagementMode",
|
|
2600
2360
|
"security_groups": "securityGroups",
|
|
2601
|
-
"snap_start": "snapStart",
|
|
2602
|
-
"system_log_level": "systemLogLevel",
|
|
2603
|
-
"system_log_level_v2": "systemLogLevelV2",
|
|
2604
2361
|
"timeout": "timeout",
|
|
2605
2362
|
"tracing": "tracing",
|
|
2606
2363
|
"vpc": "vpc",
|
|
@@ -2611,53 +2368,44 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2611
2368
|
def __init__(
|
|
2612
2369
|
self,
|
|
2613
2370
|
*,
|
|
2614
|
-
max_event_age: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
2615
|
-
on_failure: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.IDestination] = None,
|
|
2616
|
-
on_success: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.IDestination] = None,
|
|
2371
|
+
max_event_age: typing.Optional["_aws_cdk_ceddda9d.Duration"] = None,
|
|
2372
|
+
on_failure: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.IDestination"] = None,
|
|
2373
|
+
on_success: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.IDestination"] = None,
|
|
2617
2374
|
retry_attempts: typing.Optional[jsii.Number] = None,
|
|
2618
|
-
adot_instrumentation: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2375
|
+
adot_instrumentation: typing.Optional[typing.Union["_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2619
2376
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
2620
2377
|
allow_public_subnet: typing.Optional[builtins.bool] = None,
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
current_version_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.VersionOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2626
|
-
dead_letter_queue: typing.Optional[_aws_cdk_aws_sqs_ceddda9d.IQueue] = None,
|
|
2378
|
+
architecture: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Architecture"] = None,
|
|
2379
|
+
code_signing_config: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig"] = None,
|
|
2380
|
+
current_version_options: typing.Optional[typing.Union["_aws_cdk_aws_lambda_ceddda9d.VersionOptions", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2381
|
+
dead_letter_queue: typing.Optional["_aws_cdk_aws_sqs_ceddda9d.IQueue"] = None,
|
|
2627
2382
|
dead_letter_queue_enabled: typing.Optional[builtins.bool] = None,
|
|
2628
|
-
dead_letter_topic: typing.Optional[_aws_cdk_aws_sns_ceddda9d.ITopic] = None,
|
|
2383
|
+
dead_letter_topic: typing.Optional["_aws_cdk_aws_sns_ceddda9d.ITopic"] = None,
|
|
2629
2384
|
description: typing.Optional[builtins.str] = None,
|
|
2630
2385
|
environment: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2631
|
-
environment_encryption: typing.Optional[_aws_cdk_aws_kms_ceddda9d.IKey] = None,
|
|
2632
|
-
ephemeral_storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
|
|
2633
|
-
events: typing.Optional[typing.Sequence[_aws_cdk_aws_lambda_ceddda9d.IEventSource]] = None,
|
|
2634
|
-
filesystem: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.FileSystem] = None,
|
|
2386
|
+
environment_encryption: typing.Optional["_aws_cdk_aws_kms_ceddda9d.IKey"] = None,
|
|
2387
|
+
ephemeral_storage_size: typing.Optional["_aws_cdk_ceddda9d.Size"] = None,
|
|
2388
|
+
events: typing.Optional[typing.Sequence["_aws_cdk_aws_lambda_ceddda9d.IEventSource"]] = None,
|
|
2389
|
+
filesystem: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.FileSystem"] = None,
|
|
2635
2390
|
function_name: typing.Optional[builtins.str] = None,
|
|
2636
|
-
initial_policy: typing.Optional[typing.Sequence[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]] = None,
|
|
2637
|
-
insights_version: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion] = None,
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
log_group: typing.Optional[_aws_cdk_aws_logs_ceddda9d.ILogGroup] = None,
|
|
2643
|
-
log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
|
|
2644
|
-
log_retention_retry_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2645
|
-
log_retention_role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
2391
|
+
initial_policy: typing.Optional[typing.Sequence["_aws_cdk_aws_iam_ceddda9d.PolicyStatement"]] = None,
|
|
2392
|
+
insights_version: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion"] = None,
|
|
2393
|
+
layers: typing.Optional[typing.Sequence["_aws_cdk_aws_lambda_ceddda9d.ILayerVersion"]] = None,
|
|
2394
|
+
log_retention: typing.Optional["_aws_cdk_aws_logs_ceddda9d.RetentionDays"] = None,
|
|
2395
|
+
log_retention_retry_options: typing.Optional[typing.Union["_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2396
|
+
log_retention_role: typing.Optional["_aws_cdk_aws_iam_ceddda9d.IRole"] = None,
|
|
2646
2397
|
memory_size: typing.Optional[jsii.Number] = None,
|
|
2647
|
-
params_and_secrets: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion] = None,
|
|
2398
|
+
params_and_secrets: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion"] = None,
|
|
2648
2399
|
profiling: typing.Optional[builtins.bool] = None,
|
|
2649
|
-
profiling_group: typing.Optional[_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup] = None,
|
|
2400
|
+
profiling_group: typing.Optional["_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup"] = None,
|
|
2650
2401
|
reserved_concurrent_executions: typing.Optional[jsii.Number] = None,
|
|
2651
|
-
role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
2652
|
-
runtime_management_mode: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode] = None,
|
|
2653
|
-
security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
tracing: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing] = None,
|
|
2659
|
-
vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
|
2660
|
-
vpc_subnets: typing.Optional[typing.Union[_aws_cdk_aws_ec2_ceddda9d.SubnetSelection, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2402
|
+
role: typing.Optional["_aws_cdk_aws_iam_ceddda9d.IRole"] = None,
|
|
2403
|
+
runtime_management_mode: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode"] = None,
|
|
2404
|
+
security_groups: typing.Optional[typing.Sequence["_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup"]] = None,
|
|
2405
|
+
timeout: typing.Optional["_aws_cdk_ceddda9d.Duration"] = None,
|
|
2406
|
+
tracing: typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Tracing"] = None,
|
|
2407
|
+
vpc: typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"] = None,
|
|
2408
|
+
vpc_subnets: typing.Optional[typing.Union["_aws_cdk_aws_ec2_ceddda9d.SubnetSelection", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2661
2409
|
) -> None:
|
|
2662
2410
|
'''Props for StartStateMachineFunction.
|
|
2663
2411
|
|
|
@@ -2666,10 +2414,8 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2666
2414
|
:param on_success: The destination for successful invocations. Default: - no destination
|
|
2667
2415
|
:param retry_attempts: The maximum number of times to retry when the function returns an error. Minimum: 0 Maximum: 2 Default: 2
|
|
2668
2416
|
:param adot_instrumentation: Specify the configuration of AWS Distro for OpenTelemetry (ADOT) instrumentation. Default: - No ADOT instrumentation
|
|
2669
|
-
: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.
|
|
2417
|
+
: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. Default: true
|
|
2670
2418
|
: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
|
|
2671
|
-
:param application_log_level: (deprecated) Sets the application log level for the function. Default: "INFO"
|
|
2672
|
-
:param application_log_level_v2: Sets the application log level for the function. Default: ApplicationLogLevel.INFO
|
|
2673
2419
|
:param architecture: The system architectures compatible with this lambda function. Default: Architecture.X86_64
|
|
2674
2420
|
:param code_signing_config: Code signing config associated with this function. Default: - Not Sign the Code
|
|
2675
2421
|
:param current_version_options: Options for the ``lambda.Version`` resource automatically created by the ``fn.currentVersion`` method. Default: - default options as described in ``VersionOptions``
|
|
@@ -2685,14 +2431,10 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2685
2431
|
: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.
|
|
2686
2432
|
: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.
|
|
2687
2433
|
:param insights_version: Specify the version of CloudWatch Lambda insights to use for monitoring. Default: - No Lambda Insights
|
|
2688
|
-
: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
|
|
2689
2434
|
: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.
|
|
2690
|
-
:param
|
|
2691
|
-
:param
|
|
2692
|
-
:param
|
|
2693
|
-
: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
|
|
2694
|
-
: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.
|
|
2695
|
-
:param log_retention_role: The IAM role for the Lambda function associated with the custom resource that sets the retention policy. 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: - A new role is created.
|
|
2435
|
+
: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``. Default: logs.RetentionDays.INFINITE
|
|
2436
|
+
: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. Default: - Default AWS SDK retry options.
|
|
2437
|
+
:param log_retention_role: The IAM role for the Lambda function associated with the custom resource that sets the retention policy. Default: - A new role is created.
|
|
2696
2438
|
:param memory_size: The amount of memory, in MB, that is allocated to your Lambda function. Lambda uses this value to proportionally allocate the amount of CPU power. For more information, see Resource Model in the AWS Lambda Developer Guide. Default: 128
|
|
2697
2439
|
:param params_and_secrets: Specify the configuration of Parameters and Secrets Extension. Default: - No Parameters and Secrets Extension
|
|
2698
2440
|
:param profiling: Enable profiling. Default: - No profiling.
|
|
@@ -2701,9 +2443,6 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2701
2443
|
: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``.
|
|
2702
2444
|
:param runtime_management_mode: Sets the runtime management configuration for a function's version. Default: Auto
|
|
2703
2445
|
: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.
|
|
2704
|
-
:param snap_start: Enable SnapStart for Lambda Function. SnapStart is currently supported only for Java 11, 17 runtime Default: - No snapstart
|
|
2705
|
-
:param system_log_level: (deprecated) Sets the system log level for the function. Default: "INFO"
|
|
2706
|
-
:param system_log_level_v2: Sets the system log level for the function. Default: SystemLogLevel.INFO
|
|
2707
2446
|
: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)
|
|
2708
2447
|
:param tracing: Enable AWS X-Ray Tracing for Lambda Function. Default: Tracing.Disabled
|
|
2709
2448
|
: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.
|
|
@@ -2726,8 +2465,6 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2726
2465
|
check_type(argname="argument adot_instrumentation", value=adot_instrumentation, expected_type=type_hints["adot_instrumentation"])
|
|
2727
2466
|
check_type(argname="argument allow_all_outbound", value=allow_all_outbound, expected_type=type_hints["allow_all_outbound"])
|
|
2728
2467
|
check_type(argname="argument allow_public_subnet", value=allow_public_subnet, expected_type=type_hints["allow_public_subnet"])
|
|
2729
|
-
check_type(argname="argument application_log_level", value=application_log_level, expected_type=type_hints["application_log_level"])
|
|
2730
|
-
check_type(argname="argument application_log_level_v2", value=application_log_level_v2, expected_type=type_hints["application_log_level_v2"])
|
|
2731
2468
|
check_type(argname="argument architecture", value=architecture, expected_type=type_hints["architecture"])
|
|
2732
2469
|
check_type(argname="argument code_signing_config", value=code_signing_config, expected_type=type_hints["code_signing_config"])
|
|
2733
2470
|
check_type(argname="argument current_version_options", value=current_version_options, expected_type=type_hints["current_version_options"])
|
|
@@ -2743,11 +2480,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2743
2480
|
check_type(argname="argument function_name", value=function_name, expected_type=type_hints["function_name"])
|
|
2744
2481
|
check_type(argname="argument initial_policy", value=initial_policy, expected_type=type_hints["initial_policy"])
|
|
2745
2482
|
check_type(argname="argument insights_version", value=insights_version, expected_type=type_hints["insights_version"])
|
|
2746
|
-
check_type(argname="argument ipv6_allowed_for_dual_stack", value=ipv6_allowed_for_dual_stack, expected_type=type_hints["ipv6_allowed_for_dual_stack"])
|
|
2747
2483
|
check_type(argname="argument layers", value=layers, expected_type=type_hints["layers"])
|
|
2748
|
-
check_type(argname="argument log_format", value=log_format, expected_type=type_hints["log_format"])
|
|
2749
|
-
check_type(argname="argument logging_format", value=logging_format, expected_type=type_hints["logging_format"])
|
|
2750
|
-
check_type(argname="argument log_group", value=log_group, expected_type=type_hints["log_group"])
|
|
2751
2484
|
check_type(argname="argument log_retention", value=log_retention, expected_type=type_hints["log_retention"])
|
|
2752
2485
|
check_type(argname="argument log_retention_retry_options", value=log_retention_retry_options, expected_type=type_hints["log_retention_retry_options"])
|
|
2753
2486
|
check_type(argname="argument log_retention_role", value=log_retention_role, expected_type=type_hints["log_retention_role"])
|
|
@@ -2759,9 +2492,6 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2759
2492
|
check_type(argname="argument role", value=role, expected_type=type_hints["role"])
|
|
2760
2493
|
check_type(argname="argument runtime_management_mode", value=runtime_management_mode, expected_type=type_hints["runtime_management_mode"])
|
|
2761
2494
|
check_type(argname="argument security_groups", value=security_groups, expected_type=type_hints["security_groups"])
|
|
2762
|
-
check_type(argname="argument snap_start", value=snap_start, expected_type=type_hints["snap_start"])
|
|
2763
|
-
check_type(argname="argument system_log_level", value=system_log_level, expected_type=type_hints["system_log_level"])
|
|
2764
|
-
check_type(argname="argument system_log_level_v2", value=system_log_level_v2, expected_type=type_hints["system_log_level_v2"])
|
|
2765
2495
|
check_type(argname="argument timeout", value=timeout, expected_type=type_hints["timeout"])
|
|
2766
2496
|
check_type(argname="argument tracing", value=tracing, expected_type=type_hints["tracing"])
|
|
2767
2497
|
check_type(argname="argument vpc", value=vpc, expected_type=type_hints["vpc"])
|
|
@@ -2781,10 +2511,6 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2781
2511
|
self._values["allow_all_outbound"] = allow_all_outbound
|
|
2782
2512
|
if allow_public_subnet is not None:
|
|
2783
2513
|
self._values["allow_public_subnet"] = allow_public_subnet
|
|
2784
|
-
if application_log_level is not None:
|
|
2785
|
-
self._values["application_log_level"] = application_log_level
|
|
2786
|
-
if application_log_level_v2 is not None:
|
|
2787
|
-
self._values["application_log_level_v2"] = application_log_level_v2
|
|
2788
2514
|
if architecture is not None:
|
|
2789
2515
|
self._values["architecture"] = architecture
|
|
2790
2516
|
if code_signing_config is not None:
|
|
@@ -2815,16 +2541,8 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2815
2541
|
self._values["initial_policy"] = initial_policy
|
|
2816
2542
|
if insights_version is not None:
|
|
2817
2543
|
self._values["insights_version"] = insights_version
|
|
2818
|
-
if ipv6_allowed_for_dual_stack is not None:
|
|
2819
|
-
self._values["ipv6_allowed_for_dual_stack"] = ipv6_allowed_for_dual_stack
|
|
2820
2544
|
if layers is not None:
|
|
2821
2545
|
self._values["layers"] = layers
|
|
2822
|
-
if log_format is not None:
|
|
2823
|
-
self._values["log_format"] = log_format
|
|
2824
|
-
if logging_format is not None:
|
|
2825
|
-
self._values["logging_format"] = logging_format
|
|
2826
|
-
if log_group is not None:
|
|
2827
|
-
self._values["log_group"] = log_group
|
|
2828
2546
|
if log_retention is not None:
|
|
2829
2547
|
self._values["log_retention"] = log_retention
|
|
2830
2548
|
if log_retention_retry_options is not None:
|
|
@@ -2847,12 +2565,6 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2847
2565
|
self._values["runtime_management_mode"] = runtime_management_mode
|
|
2848
2566
|
if security_groups is not None:
|
|
2849
2567
|
self._values["security_groups"] = security_groups
|
|
2850
|
-
if snap_start is not None:
|
|
2851
|
-
self._values["snap_start"] = snap_start
|
|
2852
|
-
if system_log_level is not None:
|
|
2853
|
-
self._values["system_log_level"] = system_log_level
|
|
2854
|
-
if system_log_level_v2 is not None:
|
|
2855
|
-
self._values["system_log_level_v2"] = system_log_level_v2
|
|
2856
2568
|
if timeout is not None:
|
|
2857
2569
|
self._values["timeout"] = timeout
|
|
2858
2570
|
if tracing is not None:
|
|
@@ -2863,7 +2575,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2863
2575
|
self._values["vpc_subnets"] = vpc_subnets
|
|
2864
2576
|
|
|
2865
2577
|
@builtins.property
|
|
2866
|
-
def max_event_age(self) -> typing.Optional[_aws_cdk_ceddda9d.Duration]:
|
|
2578
|
+
def max_event_age(self) -> typing.Optional["_aws_cdk_ceddda9d.Duration"]:
|
|
2867
2579
|
'''The maximum age of a request that Lambda sends to a function for processing.
|
|
2868
2580
|
|
|
2869
2581
|
Minimum: 60 seconds
|
|
@@ -2872,25 +2584,29 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2872
2584
|
:default: Duration.hours(6)
|
|
2873
2585
|
'''
|
|
2874
2586
|
result = self._values.get("max_event_age")
|
|
2875
|
-
return typing.cast(typing.Optional[_aws_cdk_ceddda9d.Duration], result)
|
|
2587
|
+
return typing.cast(typing.Optional["_aws_cdk_ceddda9d.Duration"], result)
|
|
2876
2588
|
|
|
2877
2589
|
@builtins.property
|
|
2878
|
-
def on_failure(
|
|
2590
|
+
def on_failure(
|
|
2591
|
+
self,
|
|
2592
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.IDestination"]:
|
|
2879
2593
|
'''The destination for failed invocations.
|
|
2880
2594
|
|
|
2881
2595
|
:default: - no destination
|
|
2882
2596
|
'''
|
|
2883
2597
|
result = self._values.get("on_failure")
|
|
2884
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.IDestination], result)
|
|
2598
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.IDestination"], result)
|
|
2885
2599
|
|
|
2886
2600
|
@builtins.property
|
|
2887
|
-
def on_success(
|
|
2601
|
+
def on_success(
|
|
2602
|
+
self,
|
|
2603
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.IDestination"]:
|
|
2888
2604
|
'''The destination for successful invocations.
|
|
2889
2605
|
|
|
2890
2606
|
:default: - no destination
|
|
2891
2607
|
'''
|
|
2892
2608
|
result = self._values.get("on_success")
|
|
2893
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.IDestination], result)
|
|
2609
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.IDestination"], result)
|
|
2894
2610
|
|
|
2895
2611
|
@builtins.property
|
|
2896
2612
|
def retry_attempts(self) -> typing.Optional[jsii.Number]:
|
|
@@ -2907,7 +2623,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2907
2623
|
@builtins.property
|
|
2908
2624
|
def adot_instrumentation(
|
|
2909
2625
|
self,
|
|
2910
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig]:
|
|
2626
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig"]:
|
|
2911
2627
|
'''Specify the configuration of AWS Distro for OpenTelemetry (ADOT) instrumentation.
|
|
2912
2628
|
|
|
2913
2629
|
:default: - No ADOT instrumentation
|
|
@@ -2915,7 +2631,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2915
2631
|
:see: https://aws-otel.github.io/docs/getting-started/lambda
|
|
2916
2632
|
'''
|
|
2917
2633
|
result = self._values.get("adot_instrumentation")
|
|
2918
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig], result)
|
|
2634
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig"], result)
|
|
2919
2635
|
|
|
2920
2636
|
@builtins.property
|
|
2921
2637
|
def allow_all_outbound(self) -> typing.Optional[builtins.bool]:
|
|
@@ -2924,9 +2640,6 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2924
2640
|
If set to false, you must individually add traffic rules to allow the
|
|
2925
2641
|
Lambda to connect to network targets.
|
|
2926
2642
|
|
|
2927
|
-
Do not specify this property if the ``securityGroups`` or ``securityGroup`` property is set.
|
|
2928
|
-
Instead, configure ``allowAllOutbound`` directly on the security group.
|
|
2929
|
-
|
|
2930
2643
|
:default: true
|
|
2931
2644
|
'''
|
|
2932
2645
|
result = self._values.get("allow_all_outbound")
|
|
@@ -2945,65 +2658,41 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2945
2658
|
result = self._values.get("allow_public_subnet")
|
|
2946
2659
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
2947
2660
|
|
|
2948
|
-
@builtins.property
|
|
2949
|
-
def application_log_level(self) -> typing.Optional[builtins.str]:
|
|
2950
|
-
'''(deprecated) Sets the application log level for the function.
|
|
2951
|
-
|
|
2952
|
-
:default: "INFO"
|
|
2953
|
-
|
|
2954
|
-
:deprecated: Use ``applicationLogLevelV2`` as a property instead.
|
|
2955
|
-
|
|
2956
|
-
:stability: deprecated
|
|
2957
|
-
'''
|
|
2958
|
-
result = self._values.get("application_log_level")
|
|
2959
|
-
return typing.cast(typing.Optional[builtins.str], result)
|
|
2960
|
-
|
|
2961
|
-
@builtins.property
|
|
2962
|
-
def application_log_level_v2(
|
|
2963
|
-
self,
|
|
2964
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ApplicationLogLevel]:
|
|
2965
|
-
'''Sets the application log level for the function.
|
|
2966
|
-
|
|
2967
|
-
:default: ApplicationLogLevel.INFO
|
|
2968
|
-
'''
|
|
2969
|
-
result = self._values.get("application_log_level_v2")
|
|
2970
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ApplicationLogLevel], result)
|
|
2971
|
-
|
|
2972
2661
|
@builtins.property
|
|
2973
2662
|
def architecture(
|
|
2974
2663
|
self,
|
|
2975
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture]:
|
|
2664
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Architecture"]:
|
|
2976
2665
|
'''The system architectures compatible with this lambda function.
|
|
2977
2666
|
|
|
2978
2667
|
:default: Architecture.X86_64
|
|
2979
2668
|
'''
|
|
2980
2669
|
result = self._values.get("architecture")
|
|
2981
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture], result)
|
|
2670
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Architecture"], result)
|
|
2982
2671
|
|
|
2983
2672
|
@builtins.property
|
|
2984
2673
|
def code_signing_config(
|
|
2985
2674
|
self,
|
|
2986
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig]:
|
|
2675
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig"]:
|
|
2987
2676
|
'''Code signing config associated with this function.
|
|
2988
2677
|
|
|
2989
2678
|
:default: - Not Sign the Code
|
|
2990
2679
|
'''
|
|
2991
2680
|
result = self._values.get("code_signing_config")
|
|
2992
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig], result)
|
|
2681
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig"], result)
|
|
2993
2682
|
|
|
2994
2683
|
@builtins.property
|
|
2995
2684
|
def current_version_options(
|
|
2996
2685
|
self,
|
|
2997
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.VersionOptions]:
|
|
2686
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.VersionOptions"]:
|
|
2998
2687
|
'''Options for the ``lambda.Version`` resource automatically created by the ``fn.currentVersion`` method.
|
|
2999
2688
|
|
|
3000
2689
|
:default: - default options as described in ``VersionOptions``
|
|
3001
2690
|
'''
|
|
3002
2691
|
result = self._values.get("current_version_options")
|
|
3003
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.VersionOptions], result)
|
|
2692
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.VersionOptions"], result)
|
|
3004
2693
|
|
|
3005
2694
|
@builtins.property
|
|
3006
|
-
def dead_letter_queue(self) -> typing.Optional[_aws_cdk_aws_sqs_ceddda9d.IQueue]:
|
|
2695
|
+
def dead_letter_queue(self) -> typing.Optional["_aws_cdk_aws_sqs_ceddda9d.IQueue"]:
|
|
3007
2696
|
'''The SQS queue to use if DLQ is enabled.
|
|
3008
2697
|
|
|
3009
2698
|
If SNS topic is desired, specify ``deadLetterTopic`` property instead.
|
|
@@ -3011,7 +2700,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3011
2700
|
:default: - SQS queue with 14 day retention period if ``deadLetterQueueEnabled`` is ``true``
|
|
3012
2701
|
'''
|
|
3013
2702
|
result = self._values.get("dead_letter_queue")
|
|
3014
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_sqs_ceddda9d.IQueue], result)
|
|
2703
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_sqs_ceddda9d.IQueue"], result)
|
|
3015
2704
|
|
|
3016
2705
|
@builtins.property
|
|
3017
2706
|
def dead_letter_queue_enabled(self) -> typing.Optional[builtins.bool]:
|
|
@@ -3026,7 +2715,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3026
2715
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
3027
2716
|
|
|
3028
2717
|
@builtins.property
|
|
3029
|
-
def dead_letter_topic(self) -> typing.Optional[_aws_cdk_aws_sns_ceddda9d.ITopic]:
|
|
2718
|
+
def dead_letter_topic(self) -> typing.Optional["_aws_cdk_aws_sns_ceddda9d.ITopic"]:
|
|
3030
2719
|
'''The SNS topic to use as a DLQ.
|
|
3031
2720
|
|
|
3032
2721
|
Note that if ``deadLetterQueueEnabled`` is set to ``true``, an SQS queue will be created
|
|
@@ -3035,7 +2724,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3035
2724
|
:default: - no SNS topic
|
|
3036
2725
|
'''
|
|
3037
2726
|
result = self._values.get("dead_letter_topic")
|
|
3038
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_sns_ceddda9d.ITopic], result)
|
|
2727
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_sns_ceddda9d.ITopic"], result)
|
|
3039
2728
|
|
|
3040
2729
|
@builtins.property
|
|
3041
2730
|
def description(self) -> typing.Optional[builtins.str]:
|
|
@@ -3062,27 +2751,29 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3062
2751
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
3063
2752
|
|
|
3064
2753
|
@builtins.property
|
|
3065
|
-
def environment_encryption(
|
|
2754
|
+
def environment_encryption(
|
|
2755
|
+
self,
|
|
2756
|
+
) -> typing.Optional["_aws_cdk_aws_kms_ceddda9d.IKey"]:
|
|
3066
2757
|
'''The AWS KMS key that's used to encrypt your function's environment variables.
|
|
3067
2758
|
|
|
3068
2759
|
:default: - AWS Lambda creates and uses an AWS managed customer master key (CMK).
|
|
3069
2760
|
'''
|
|
3070
2761
|
result = self._values.get("environment_encryption")
|
|
3071
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_kms_ceddda9d.IKey], result)
|
|
2762
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_kms_ceddda9d.IKey"], result)
|
|
3072
2763
|
|
|
3073
2764
|
@builtins.property
|
|
3074
|
-
def ephemeral_storage_size(self) -> typing.Optional[_aws_cdk_ceddda9d.Size]:
|
|
2765
|
+
def ephemeral_storage_size(self) -> typing.Optional["_aws_cdk_ceddda9d.Size"]:
|
|
3075
2766
|
'''The size of the function’s /tmp directory in MiB.
|
|
3076
2767
|
|
|
3077
2768
|
:default: 512 MiB
|
|
3078
2769
|
'''
|
|
3079
2770
|
result = self._values.get("ephemeral_storage_size")
|
|
3080
|
-
return typing.cast(typing.Optional[_aws_cdk_ceddda9d.Size], result)
|
|
2771
|
+
return typing.cast(typing.Optional["_aws_cdk_ceddda9d.Size"], result)
|
|
3081
2772
|
|
|
3082
2773
|
@builtins.property
|
|
3083
2774
|
def events(
|
|
3084
2775
|
self,
|
|
3085
|
-
) -> typing.Optional[typing.List[_aws_cdk_aws_lambda_ceddda9d.IEventSource]]:
|
|
2776
|
+
) -> typing.Optional[typing.List["_aws_cdk_aws_lambda_ceddda9d.IEventSource"]]:
|
|
3086
2777
|
'''Event sources for this function.
|
|
3087
2778
|
|
|
3088
2779
|
You can also add event sources using ``addEventSource``.
|
|
@@ -3090,16 +2781,16 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3090
2781
|
:default: - No event sources.
|
|
3091
2782
|
'''
|
|
3092
2783
|
result = self._values.get("events")
|
|
3093
|
-
return typing.cast(typing.Optional[typing.List[_aws_cdk_aws_lambda_ceddda9d.IEventSource]], result)
|
|
2784
|
+
return typing.cast(typing.Optional[typing.List["_aws_cdk_aws_lambda_ceddda9d.IEventSource"]], result)
|
|
3094
2785
|
|
|
3095
2786
|
@builtins.property
|
|
3096
|
-
def filesystem(self) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.FileSystem]:
|
|
2787
|
+
def filesystem(self) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.FileSystem"]:
|
|
3097
2788
|
'''The filesystem configuration for the lambda function.
|
|
3098
2789
|
|
|
3099
2790
|
:default: - will not mount any filesystem
|
|
3100
2791
|
'''
|
|
3101
2792
|
result = self._values.get("filesystem")
|
|
3102
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.FileSystem], result)
|
|
2793
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.FileSystem"], result)
|
|
3103
2794
|
|
|
3104
2795
|
@builtins.property
|
|
3105
2796
|
def function_name(self) -> typing.Optional[builtins.str]:
|
|
@@ -3116,7 +2807,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3116
2807
|
@builtins.property
|
|
3117
2808
|
def initial_policy(
|
|
3118
2809
|
self,
|
|
3119
|
-
) -> typing.Optional[typing.List[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]]:
|
|
2810
|
+
) -> typing.Optional[typing.List["_aws_cdk_aws_iam_ceddda9d.PolicyStatement"]]:
|
|
3120
2811
|
'''Initial policy statements to add to the created Lambda Role.
|
|
3121
2812
|
|
|
3122
2813
|
You can call ``addToRolePolicy`` to the created lambda to add statements post creation.
|
|
@@ -3124,12 +2815,12 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3124
2815
|
:default: - No policy statements are added to the created Lambda role.
|
|
3125
2816
|
'''
|
|
3126
2817
|
result = self._values.get("initial_policy")
|
|
3127
|
-
return typing.cast(typing.Optional[typing.List[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]], result)
|
|
2818
|
+
return typing.cast(typing.Optional[typing.List["_aws_cdk_aws_iam_ceddda9d.PolicyStatement"]], result)
|
|
3128
2819
|
|
|
3129
2820
|
@builtins.property
|
|
3130
2821
|
def insights_version(
|
|
3131
2822
|
self,
|
|
3132
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion]:
|
|
2823
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion"]:
|
|
3133
2824
|
'''Specify the version of CloudWatch Lambda insights to use for monitoring.
|
|
3134
2825
|
|
|
3135
2826
|
:default: - No Lambda Insights
|
|
@@ -3137,23 +2828,12 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3137
2828
|
:see: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Lambda-Insights-Getting-Started-docker.html
|
|
3138
2829
|
'''
|
|
3139
2830
|
result = self._values.get("insights_version")
|
|
3140
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion], result)
|
|
3141
|
-
|
|
3142
|
-
@builtins.property
|
|
3143
|
-
def ipv6_allowed_for_dual_stack(self) -> typing.Optional[builtins.bool]:
|
|
3144
|
-
'''Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
|
|
3145
|
-
|
|
3146
|
-
Only used if 'vpc' is supplied.
|
|
3147
|
-
|
|
3148
|
-
:default: false
|
|
3149
|
-
'''
|
|
3150
|
-
result = self._values.get("ipv6_allowed_for_dual_stack")
|
|
3151
|
-
return typing.cast(typing.Optional[builtins.bool], result)
|
|
2831
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion"], result)
|
|
3152
2832
|
|
|
3153
2833
|
@builtins.property
|
|
3154
2834
|
def layers(
|
|
3155
2835
|
self,
|
|
3156
|
-
) -> typing.Optional[typing.List[_aws_cdk_aws_lambda_ceddda9d.ILayerVersion]]:
|
|
2836
|
+
) -> typing.Optional[typing.List["_aws_cdk_aws_lambda_ceddda9d.ILayerVersion"]]:
|
|
3157
2837
|
'''A list of layers to add to the function's execution environment.
|
|
3158
2838
|
|
|
3159
2839
|
You can configure your Lambda function to pull in
|
|
@@ -3163,104 +2843,44 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3163
2843
|
:default: - No layers.
|
|
3164
2844
|
'''
|
|
3165
2845
|
result = self._values.get("layers")
|
|
3166
|
-
return typing.cast(typing.Optional[typing.List[_aws_cdk_aws_lambda_ceddda9d.ILayerVersion]], result)
|
|
3167
|
-
|
|
3168
|
-
@builtins.property
|
|
3169
|
-
def log_format(self) -> typing.Optional[builtins.str]:
|
|
3170
|
-
'''(deprecated) Sets the logFormat for the function.
|
|
3171
|
-
|
|
3172
|
-
:default: "Text"
|
|
3173
|
-
|
|
3174
|
-
:deprecated: Use ``loggingFormat`` as a property instead.
|
|
3175
|
-
|
|
3176
|
-
:stability: deprecated
|
|
3177
|
-
'''
|
|
3178
|
-
result = self._values.get("log_format")
|
|
3179
|
-
return typing.cast(typing.Optional[builtins.str], result)
|
|
3180
|
-
|
|
3181
|
-
@builtins.property
|
|
3182
|
-
def logging_format(
|
|
3183
|
-
self,
|
|
3184
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LoggingFormat]:
|
|
3185
|
-
'''Sets the loggingFormat for the function.
|
|
3186
|
-
|
|
3187
|
-
:default: LoggingFormat.TEXT
|
|
3188
|
-
'''
|
|
3189
|
-
result = self._values.get("logging_format")
|
|
3190
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LoggingFormat], result)
|
|
3191
|
-
|
|
3192
|
-
@builtins.property
|
|
3193
|
-
def log_group(self) -> typing.Optional[_aws_cdk_aws_logs_ceddda9d.ILogGroup]:
|
|
3194
|
-
'''The log group the function sends logs to.
|
|
3195
|
-
|
|
3196
|
-
By default, Lambda functions send logs to an automatically created default log group named /aws/lambda/.
|
|
3197
|
-
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.
|
|
3198
|
-
|
|
3199
|
-
Use the ``logGroup`` property to create a fully customizable LogGroup ahead of time, and instruct the Lambda function to send logs to it.
|
|
3200
|
-
|
|
3201
|
-
Providing a user-controlled log group was rolled out to commercial regions on 2023-11-16.
|
|
3202
|
-
If you are deploying to another type of region, please check regional availability first.
|
|
3203
|
-
|
|
3204
|
-
:default: ``/aws/lambda/${this.functionName}`` - default log group created by Lambda
|
|
3205
|
-
'''
|
|
3206
|
-
result = self._values.get("log_group")
|
|
3207
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_logs_ceddda9d.ILogGroup], result)
|
|
2846
|
+
return typing.cast(typing.Optional[typing.List["_aws_cdk_aws_lambda_ceddda9d.ILayerVersion"]], result)
|
|
3208
2847
|
|
|
3209
2848
|
@builtins.property
|
|
3210
2849
|
def log_retention(
|
|
3211
2850
|
self,
|
|
3212
|
-
) -> typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays]:
|
|
2851
|
+
) -> typing.Optional["_aws_cdk_aws_logs_ceddda9d.RetentionDays"]:
|
|
3213
2852
|
'''The number of days log events are kept in CloudWatch Logs.
|
|
3214
2853
|
|
|
3215
2854
|
When updating
|
|
3216
2855
|
this property, unsetting it doesn't remove the log retention policy. To
|
|
3217
2856
|
remove the retention policy, set the value to ``INFINITE``.
|
|
3218
2857
|
|
|
3219
|
-
This is a legacy API and we strongly recommend you move away from it if you can.
|
|
3220
|
-
Instead create a fully customizable log group with ``logs.LogGroup`` and use the ``logGroup`` property
|
|
3221
|
-
to instruct the Lambda function to send logs to it.
|
|
3222
|
-
Migrating from ``logRetention`` to ``logGroup`` will cause the name of the log group to change.
|
|
3223
|
-
Users and code and referencing the name verbatim will have to adjust.
|
|
3224
|
-
|
|
3225
|
-
In AWS CDK code, you can access the log group name directly from the LogGroup construct::
|
|
3226
|
-
|
|
3227
|
-
import * as logs from 'aws-cdk-lib/aws-logs';
|
|
3228
|
-
|
|
3229
|
-
declare const myLogGroup: logs.LogGroup;
|
|
3230
|
-
myLogGroup.logGroupName;
|
|
3231
|
-
|
|
3232
2858
|
:default: logs.RetentionDays.INFINITE
|
|
3233
2859
|
'''
|
|
3234
2860
|
result = self._values.get("log_retention")
|
|
3235
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays], result)
|
|
2861
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_logs_ceddda9d.RetentionDays"], result)
|
|
3236
2862
|
|
|
3237
2863
|
@builtins.property
|
|
3238
2864
|
def log_retention_retry_options(
|
|
3239
2865
|
self,
|
|
3240
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions]:
|
|
2866
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions"]:
|
|
3241
2867
|
'''When log retention is specified, a custom resource attempts to create the CloudWatch log group.
|
|
3242
2868
|
|
|
3243
2869
|
These options control the retry policy when interacting with CloudWatch APIs.
|
|
3244
2870
|
|
|
3245
|
-
This is a legacy API and we strongly recommend you migrate to ``logGroup`` if you can.
|
|
3246
|
-
``logGroup`` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it.
|
|
3247
|
-
|
|
3248
2871
|
:default: - Default AWS SDK retry options.
|
|
3249
2872
|
'''
|
|
3250
2873
|
result = self._values.get("log_retention_retry_options")
|
|
3251
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions], result)
|
|
2874
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions"], result)
|
|
3252
2875
|
|
|
3253
2876
|
@builtins.property
|
|
3254
|
-
def log_retention_role(self) -> typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole]:
|
|
2877
|
+
def log_retention_role(self) -> typing.Optional["_aws_cdk_aws_iam_ceddda9d.IRole"]:
|
|
3255
2878
|
'''The IAM role for the Lambda function associated with the custom resource that sets the retention policy.
|
|
3256
2879
|
|
|
3257
|
-
This is a legacy API and we strongly recommend you migrate to ``logGroup`` if you can.
|
|
3258
|
-
``logGroup`` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it.
|
|
3259
|
-
|
|
3260
2880
|
:default: - A new role is created.
|
|
3261
2881
|
'''
|
|
3262
2882
|
result = self._values.get("log_retention_role")
|
|
3263
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole], result)
|
|
2883
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_iam_ceddda9d.IRole"], result)
|
|
3264
2884
|
|
|
3265
2885
|
@builtins.property
|
|
3266
2886
|
def memory_size(self) -> typing.Optional[jsii.Number]:
|
|
@@ -3278,7 +2898,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3278
2898
|
@builtins.property
|
|
3279
2899
|
def params_and_secrets(
|
|
3280
2900
|
self,
|
|
3281
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion]:
|
|
2901
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion"]:
|
|
3282
2902
|
'''Specify the configuration of Parameters and Secrets Extension.
|
|
3283
2903
|
|
|
3284
2904
|
:default: - No Parameters and Secrets Extension
|
|
@@ -3286,7 +2906,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3286
2906
|
:see: https://docs.aws.amazon.com/systems-manager/latest/userguide/ps-integration-lambda-extensions.html
|
|
3287
2907
|
'''
|
|
3288
2908
|
result = self._values.get("params_and_secrets")
|
|
3289
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion], result)
|
|
2909
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion"], result)
|
|
3290
2910
|
|
|
3291
2911
|
@builtins.property
|
|
3292
2912
|
def profiling(self) -> typing.Optional[builtins.bool]:
|
|
@@ -3302,7 +2922,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3302
2922
|
@builtins.property
|
|
3303
2923
|
def profiling_group(
|
|
3304
2924
|
self,
|
|
3305
|
-
) -> typing.Optional[_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup]:
|
|
2925
|
+
) -> typing.Optional["_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup"]:
|
|
3306
2926
|
'''Profiling Group.
|
|
3307
2927
|
|
|
3308
2928
|
:default: - A new profiling group will be created if ``profiling`` is set.
|
|
@@ -3310,7 +2930,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3310
2930
|
:see: https://docs.aws.amazon.com/codeguru/latest/profiler-ug/setting-up-lambda.html
|
|
3311
2931
|
'''
|
|
3312
2932
|
result = self._values.get("profiling_group")
|
|
3313
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup], result)
|
|
2933
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup"], result)
|
|
3314
2934
|
|
|
3315
2935
|
@builtins.property
|
|
3316
2936
|
def reserved_concurrent_executions(self) -> typing.Optional[jsii.Number]:
|
|
@@ -3324,7 +2944,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3324
2944
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
3325
2945
|
|
|
3326
2946
|
@builtins.property
|
|
3327
|
-
def role(self) -> typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole]:
|
|
2947
|
+
def role(self) -> typing.Optional["_aws_cdk_aws_iam_ceddda9d.IRole"]:
|
|
3328
2948
|
'''Lambda execution role.
|
|
3329
2949
|
|
|
3330
2950
|
This is the role that will be assumed by the function upon execution.
|
|
@@ -3343,23 +2963,23 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3343
2963
|
Both supplied and generated roles can always be changed by calling ``addToRolePolicy``.
|
|
3344
2964
|
'''
|
|
3345
2965
|
result = self._values.get("role")
|
|
3346
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole], result)
|
|
2966
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_iam_ceddda9d.IRole"], result)
|
|
3347
2967
|
|
|
3348
2968
|
@builtins.property
|
|
3349
2969
|
def runtime_management_mode(
|
|
3350
2970
|
self,
|
|
3351
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode]:
|
|
2971
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode"]:
|
|
3352
2972
|
'''Sets the runtime management configuration for a function's version.
|
|
3353
2973
|
|
|
3354
2974
|
:default: Auto
|
|
3355
2975
|
'''
|
|
3356
2976
|
result = self._values.get("runtime_management_mode")
|
|
3357
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode], result)
|
|
2977
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode"], result)
|
|
3358
2978
|
|
|
3359
2979
|
@builtins.property
|
|
3360
2980
|
def security_groups(
|
|
3361
2981
|
self,
|
|
3362
|
-
) -> typing.Optional[typing.List[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]]:
|
|
2982
|
+
) -> typing.Optional[typing.List["_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup"]]:
|
|
3363
2983
|
'''The list of security groups to associate with the Lambda's network interfaces.
|
|
3364
2984
|
|
|
3365
2985
|
Only used if 'vpc' is supplied.
|
|
@@ -3371,45 +2991,10 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3371
2991
|
group will be created for this function.
|
|
3372
2992
|
'''
|
|
3373
2993
|
result = self._values.get("security_groups")
|
|
3374
|
-
return typing.cast(typing.Optional[typing.List[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]], result)
|
|
2994
|
+
return typing.cast(typing.Optional[typing.List["_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup"]], result)
|
|
3375
2995
|
|
|
3376
2996
|
@builtins.property
|
|
3377
|
-
def
|
|
3378
|
-
'''Enable SnapStart for Lambda Function.
|
|
3379
|
-
|
|
3380
|
-
SnapStart is currently supported only for Java 11, 17 runtime
|
|
3381
|
-
|
|
3382
|
-
:default: - No snapstart
|
|
3383
|
-
'''
|
|
3384
|
-
result = self._values.get("snap_start")
|
|
3385
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SnapStartConf], result)
|
|
3386
|
-
|
|
3387
|
-
@builtins.property
|
|
3388
|
-
def system_log_level(self) -> typing.Optional[builtins.str]:
|
|
3389
|
-
'''(deprecated) Sets the system log level for the function.
|
|
3390
|
-
|
|
3391
|
-
:default: "INFO"
|
|
3392
|
-
|
|
3393
|
-
:deprecated: Use ``systemLogLevelV2`` as a property instead.
|
|
3394
|
-
|
|
3395
|
-
:stability: deprecated
|
|
3396
|
-
'''
|
|
3397
|
-
result = self._values.get("system_log_level")
|
|
3398
|
-
return typing.cast(typing.Optional[builtins.str], result)
|
|
3399
|
-
|
|
3400
|
-
@builtins.property
|
|
3401
|
-
def system_log_level_v2(
|
|
3402
|
-
self,
|
|
3403
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SystemLogLevel]:
|
|
3404
|
-
'''Sets the system log level for the function.
|
|
3405
|
-
|
|
3406
|
-
:default: SystemLogLevel.INFO
|
|
3407
|
-
'''
|
|
3408
|
-
result = self._values.get("system_log_level_v2")
|
|
3409
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SystemLogLevel], result)
|
|
3410
|
-
|
|
3411
|
-
@builtins.property
|
|
3412
|
-
def timeout(self) -> typing.Optional[_aws_cdk_ceddda9d.Duration]:
|
|
2997
|
+
def timeout(self) -> typing.Optional["_aws_cdk_ceddda9d.Duration"]:
|
|
3413
2998
|
'''The function execution time (in seconds) after which Lambda terminates the function.
|
|
3414
2999
|
|
|
3415
3000
|
Because the execution time affects cost, set this value
|
|
@@ -3418,19 +3003,19 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3418
3003
|
:default: Duration.seconds(3)
|
|
3419
3004
|
'''
|
|
3420
3005
|
result = self._values.get("timeout")
|
|
3421
|
-
return typing.cast(typing.Optional[_aws_cdk_ceddda9d.Duration], result)
|
|
3006
|
+
return typing.cast(typing.Optional["_aws_cdk_ceddda9d.Duration"], result)
|
|
3422
3007
|
|
|
3423
3008
|
@builtins.property
|
|
3424
|
-
def tracing(self) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing]:
|
|
3009
|
+
def tracing(self) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Tracing"]:
|
|
3425
3010
|
'''Enable AWS X-Ray Tracing for Lambda Function.
|
|
3426
3011
|
|
|
3427
3012
|
:default: Tracing.Disabled
|
|
3428
3013
|
'''
|
|
3429
3014
|
result = self._values.get("tracing")
|
|
3430
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing], result)
|
|
3015
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Tracing"], result)
|
|
3431
3016
|
|
|
3432
3017
|
@builtins.property
|
|
3433
|
-
def vpc(self) -> typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc]:
|
|
3018
|
+
def vpc(self) -> typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"]:
|
|
3434
3019
|
'''VPC network to place Lambda network interfaces.
|
|
3435
3020
|
|
|
3436
3021
|
Specify this if the Lambda function needs to access resources in a VPC.
|
|
@@ -3439,10 +3024,12 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3439
3024
|
:default: - Function is not placed within a VPC.
|
|
3440
3025
|
'''
|
|
3441
3026
|
result = self._values.get("vpc")
|
|
3442
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc], result)
|
|
3027
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"], result)
|
|
3443
3028
|
|
|
3444
3029
|
@builtins.property
|
|
3445
|
-
def vpc_subnets(
|
|
3030
|
+
def vpc_subnets(
|
|
3031
|
+
self,
|
|
3032
|
+
) -> typing.Optional["_aws_cdk_aws_ec2_ceddda9d.SubnetSelection"]:
|
|
3446
3033
|
'''Where to place the network interfaces within the VPC.
|
|
3447
3034
|
|
|
3448
3035
|
This requires ``vpc`` to be specified in order for interfaces to actually be
|
|
@@ -3454,7 +3041,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3454
3041
|
:default: - the Vpc default strategy if not specified
|
|
3455
3042
|
'''
|
|
3456
3043
|
result = self._values.get("vpc_subnets")
|
|
3457
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_ec2_ceddda9d.SubnetSelection], result)
|
|
3044
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_ec2_ceddda9d.SubnetSelection"], result)
|
|
3458
3045
|
|
|
3459
3046
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3460
3047
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -3474,7 +3061,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3474
3061
|
name_mapping={"device_name": "deviceName", "ebs": "ebs"},
|
|
3475
3062
|
)
|
|
3476
3063
|
class VolumeProps:
|
|
3477
|
-
def __init__(self, *, device_name: builtins.str, ebs: IEbsParameters) -> None:
|
|
3064
|
+
def __init__(self, *, device_name: builtins.str, ebs: "IEbsParameters") -> None:
|
|
3478
3065
|
'''
|
|
3479
3066
|
:param device_name: Name of the volume.
|
|
3480
3067
|
:param ebs: EBS Block Store Parameters. By default, the 'kmsKeyId' of EBS volume is set to 'amiEncryptionKey.keyId', and 'encrypted' is set to 'true'. If you wish to use a different KMS Key, you may do so. However, please make sure that the necessary permissions and compliance requirements for the KMS Key are already set up.
|
|
@@ -3496,7 +3083,7 @@ class VolumeProps:
|
|
|
3496
3083
|
return typing.cast(builtins.str, result)
|
|
3497
3084
|
|
|
3498
3085
|
@builtins.property
|
|
3499
|
-
def ebs(self) -> IEbsParameters:
|
|
3086
|
+
def ebs(self) -> "IEbsParameters":
|
|
3500
3087
|
'''EBS Block Store Parameters.
|
|
3501
3088
|
|
|
3502
3089
|
By default, the 'kmsKeyId' of EBS volume is set to 'amiEncryptionKey.keyId',
|
|
@@ -3506,7 +3093,7 @@ class VolumeProps:
|
|
|
3506
3093
|
'''
|
|
3507
3094
|
result = self._values.get("ebs")
|
|
3508
3095
|
assert result is not None, "Required property 'ebs' is missing"
|
|
3509
|
-
return typing.cast(IEbsParameters, result)
|
|
3096
|
+
return typing.cast("IEbsParameters", result)
|
|
3510
3097
|
|
|
3511
3098
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3512
3099
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -3546,8 +3133,6 @@ def _typecheckingstub__80a7e839717caae4ae025b044129f52691774b5a0c3597bea18145046
|
|
|
3546
3133
|
adot_instrumentation: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3547
3134
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
3548
3135
|
allow_public_subnet: typing.Optional[builtins.bool] = None,
|
|
3549
|
-
application_log_level: typing.Optional[builtins.str] = None,
|
|
3550
|
-
application_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ApplicationLogLevel] = None,
|
|
3551
3136
|
architecture: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture] = None,
|
|
3552
3137
|
code_signing_config: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig] = None,
|
|
3553
3138
|
current_version_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.VersionOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -3563,11 +3148,7 @@ def _typecheckingstub__80a7e839717caae4ae025b044129f52691774b5a0c3597bea18145046
|
|
|
3563
3148
|
function_name: typing.Optional[builtins.str] = None,
|
|
3564
3149
|
initial_policy: typing.Optional[typing.Sequence[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]] = None,
|
|
3565
3150
|
insights_version: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion] = None,
|
|
3566
|
-
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
|
3567
3151
|
layers: typing.Optional[typing.Sequence[_aws_cdk_aws_lambda_ceddda9d.ILayerVersion]] = None,
|
|
3568
|
-
log_format: typing.Optional[builtins.str] = None,
|
|
3569
|
-
logging_format: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LoggingFormat] = None,
|
|
3570
|
-
log_group: typing.Optional[_aws_cdk_aws_logs_ceddda9d.ILogGroup] = None,
|
|
3571
3152
|
log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
|
|
3572
3153
|
log_retention_retry_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3573
3154
|
log_retention_role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
@@ -3579,9 +3160,6 @@ def _typecheckingstub__80a7e839717caae4ae025b044129f52691774b5a0c3597bea18145046
|
|
|
3579
3160
|
role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
3580
3161
|
runtime_management_mode: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode] = None,
|
|
3581
3162
|
security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
|
|
3582
|
-
snap_start: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SnapStartConf] = None,
|
|
3583
|
-
system_log_level: typing.Optional[builtins.str] = None,
|
|
3584
|
-
system_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SystemLogLevel] = None,
|
|
3585
3163
|
timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
3586
3164
|
tracing: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing] = None,
|
|
3587
3165
|
vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
|
@@ -3603,8 +3181,6 @@ def _typecheckingstub__7ad187f6fa75af251088f0d01089ce5af9c6e78ba8a6e1736dfdb9666
|
|
|
3603
3181
|
adot_instrumentation: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3604
3182
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
3605
3183
|
allow_public_subnet: typing.Optional[builtins.bool] = None,
|
|
3606
|
-
application_log_level: typing.Optional[builtins.str] = None,
|
|
3607
|
-
application_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ApplicationLogLevel] = None,
|
|
3608
3184
|
architecture: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture] = None,
|
|
3609
3185
|
code_signing_config: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig] = None,
|
|
3610
3186
|
current_version_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.VersionOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -3620,11 +3196,7 @@ def _typecheckingstub__7ad187f6fa75af251088f0d01089ce5af9c6e78ba8a6e1736dfdb9666
|
|
|
3620
3196
|
function_name: typing.Optional[builtins.str] = None,
|
|
3621
3197
|
initial_policy: typing.Optional[typing.Sequence[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]] = None,
|
|
3622
3198
|
insights_version: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion] = None,
|
|
3623
|
-
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
|
3624
3199
|
layers: typing.Optional[typing.Sequence[_aws_cdk_aws_lambda_ceddda9d.ILayerVersion]] = None,
|
|
3625
|
-
log_format: typing.Optional[builtins.str] = None,
|
|
3626
|
-
logging_format: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LoggingFormat] = None,
|
|
3627
|
-
log_group: typing.Optional[_aws_cdk_aws_logs_ceddda9d.ILogGroup] = None,
|
|
3628
3200
|
log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
|
|
3629
3201
|
log_retention_retry_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3630
3202
|
log_retention_role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
@@ -3636,9 +3208,6 @@ def _typecheckingstub__7ad187f6fa75af251088f0d01089ce5af9c6e78ba8a6e1736dfdb9666
|
|
|
3636
3208
|
role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
3637
3209
|
runtime_management_mode: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode] = None,
|
|
3638
3210
|
security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
|
|
3639
|
-
snap_start: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SnapStartConf] = None,
|
|
3640
|
-
system_log_level: typing.Optional[builtins.str] = None,
|
|
3641
|
-
system_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SystemLogLevel] = None,
|
|
3642
3211
|
timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
3643
3212
|
tracing: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing] = None,
|
|
3644
3213
|
vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
|
@@ -3878,8 +3447,6 @@ def _typecheckingstub__e2190d2a548e965066a88afc4c9200b01b6ec131b60f821166bf35aed
|
|
|
3878
3447
|
adot_instrumentation: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3879
3448
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
3880
3449
|
allow_public_subnet: typing.Optional[builtins.bool] = None,
|
|
3881
|
-
application_log_level: typing.Optional[builtins.str] = None,
|
|
3882
|
-
application_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ApplicationLogLevel] = None,
|
|
3883
3450
|
architecture: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture] = None,
|
|
3884
3451
|
code_signing_config: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig] = None,
|
|
3885
3452
|
current_version_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.VersionOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -3895,11 +3462,7 @@ def _typecheckingstub__e2190d2a548e965066a88afc4c9200b01b6ec131b60f821166bf35aed
|
|
|
3895
3462
|
function_name: typing.Optional[builtins.str] = None,
|
|
3896
3463
|
initial_policy: typing.Optional[typing.Sequence[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]] = None,
|
|
3897
3464
|
insights_version: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion] = None,
|
|
3898
|
-
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
|
3899
3465
|
layers: typing.Optional[typing.Sequence[_aws_cdk_aws_lambda_ceddda9d.ILayerVersion]] = None,
|
|
3900
|
-
log_format: typing.Optional[builtins.str] = None,
|
|
3901
|
-
logging_format: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LoggingFormat] = None,
|
|
3902
|
-
log_group: typing.Optional[_aws_cdk_aws_logs_ceddda9d.ILogGroup] = None,
|
|
3903
3466
|
log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
|
|
3904
3467
|
log_retention_retry_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3905
3468
|
log_retention_role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
@@ -3911,9 +3474,6 @@ def _typecheckingstub__e2190d2a548e965066a88afc4c9200b01b6ec131b60f821166bf35aed
|
|
|
3911
3474
|
role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
3912
3475
|
runtime_management_mode: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode] = None,
|
|
3913
3476
|
security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
|
|
3914
|
-
snap_start: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SnapStartConf] = None,
|
|
3915
|
-
system_log_level: typing.Optional[builtins.str] = None,
|
|
3916
|
-
system_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SystemLogLevel] = None,
|
|
3917
3477
|
timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
3918
3478
|
tracing: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing] = None,
|
|
3919
3479
|
vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
|
@@ -3935,8 +3495,6 @@ def _typecheckingstub__eb8aced8ffa672fc77ae37739036b372b4660892fca88a7d548de7d98
|
|
|
3935
3495
|
adot_instrumentation: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3936
3496
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
3937
3497
|
allow_public_subnet: typing.Optional[builtins.bool] = None,
|
|
3938
|
-
application_log_level: typing.Optional[builtins.str] = None,
|
|
3939
|
-
application_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ApplicationLogLevel] = None,
|
|
3940
3498
|
architecture: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture] = None,
|
|
3941
3499
|
code_signing_config: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig] = None,
|
|
3942
3500
|
current_version_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.VersionOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -3952,11 +3510,7 @@ def _typecheckingstub__eb8aced8ffa672fc77ae37739036b372b4660892fca88a7d548de7d98
|
|
|
3952
3510
|
function_name: typing.Optional[builtins.str] = None,
|
|
3953
3511
|
initial_policy: typing.Optional[typing.Sequence[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]] = None,
|
|
3954
3512
|
insights_version: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion] = None,
|
|
3955
|
-
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
|
3956
3513
|
layers: typing.Optional[typing.Sequence[_aws_cdk_aws_lambda_ceddda9d.ILayerVersion]] = None,
|
|
3957
|
-
log_format: typing.Optional[builtins.str] = None,
|
|
3958
|
-
logging_format: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LoggingFormat] = None,
|
|
3959
|
-
log_group: typing.Optional[_aws_cdk_aws_logs_ceddda9d.ILogGroup] = None,
|
|
3960
3514
|
log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
|
|
3961
3515
|
log_retention_retry_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3962
3516
|
log_retention_role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
@@ -3968,9 +3522,6 @@ def _typecheckingstub__eb8aced8ffa672fc77ae37739036b372b4660892fca88a7d548de7d98
|
|
|
3968
3522
|
role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
3969
3523
|
runtime_management_mode: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode] = None,
|
|
3970
3524
|
security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
|
|
3971
|
-
snap_start: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SnapStartConf] = None,
|
|
3972
|
-
system_log_level: typing.Optional[builtins.str] = None,
|
|
3973
|
-
system_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SystemLogLevel] = None,
|
|
3974
3525
|
timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
3975
3526
|
tracing: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing] = None,
|
|
3976
3527
|
vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
|
@@ -3986,3 +3537,6 @@ def _typecheckingstub__9d1da9ea32dfd5f2b80899e3b65cfd331e8667db730686426f0ff1a17
|
|
|
3986
3537
|
) -> None:
|
|
3987
3538
|
"""Type checking stubs"""
|
|
3988
3539
|
pass
|
|
3540
|
+
|
|
3541
|
+
for cls in [IActionCommands, IComponentDocument, IComponentProps, IEbsParameters, IInputParameter, IPhases, IStepCommands]:
|
|
3542
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|