jjrawlins-cdk-ami-builder 0.0.48__py3-none-any.whl → 0.0.122__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 +271 -255
- jjrawlins_cdk_ami_builder/_jsii/__init__.py +2 -2
- jjrawlins_cdk_ami_builder/_jsii/cdk-ami-builder@0.0.122.jsii.tgz +0 -0
- {jjrawlins_cdk_ami_builder-0.0.48.dist-info → jjrawlins_cdk_ami_builder-0.0.122.dist-info}/METADATA +3 -3
- jjrawlins_cdk_ami_builder-0.0.122.dist-info/RECORD +9 -0
- jjrawlins_cdk_ami_builder/_jsii/cdk-ami-builder@0.0.48.jsii.tgz +0 -0
- jjrawlins_cdk_ami_builder-0.0.48.dist-info/RECORD +0 -9
- {jjrawlins_cdk_ami_builder-0.0.48.dist-info → jjrawlins_cdk_ami_builder-0.0.122.dist-info}/LICENSE +0 -0
- {jjrawlins_cdk_ami_builder-0.0.48.dist-info → jjrawlins_cdk_ami_builder-0.0.122.dist-info}/WHEEL +0 -0
- {jjrawlins_cdk_ami_builder-0.0.48.dist-info → jjrawlins_cdk_ami_builder-0.0.122.dist-info}/top_level.txt +0 -0
|
@@ -214,46 +214,46 @@ class CheckStateMachineStatusFunction(
|
|
|
214
214
|
|
|
215
215
|
def __init__(
|
|
216
216
|
self,
|
|
217
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
217
|
+
scope: "_constructs_77d1e7e8.Construct",
|
|
218
218
|
id: builtins.str,
|
|
219
219
|
*,
|
|
220
|
-
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,
|
|
221
221
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
222
222
|
allow_public_subnet: typing.Optional[builtins.bool] = 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,
|
|
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,
|
|
227
227
|
dead_letter_queue_enabled: typing.Optional[builtins.bool] = None,
|
|
228
|
-
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,
|
|
229
229
|
description: typing.Optional[builtins.str] = None,
|
|
230
230
|
environment: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = 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,
|
|
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,
|
|
235
235
|
function_name: typing.Optional[builtins.str] = 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,
|
|
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,
|
|
242
242
|
memory_size: typing.Optional[jsii.Number] = None,
|
|
243
|
-
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,
|
|
244
244
|
profiling: typing.Optional[builtins.bool] = None,
|
|
245
|
-
profiling_group: typing.Optional[_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup] = None,
|
|
245
|
+
profiling_group: typing.Optional["_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup"] = None,
|
|
246
246
|
reserved_concurrent_executions: typing.Optional[jsii.Number] = 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,
|
|
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,
|
|
257
257
|
retry_attempts: typing.Optional[jsii.Number] = None,
|
|
258
258
|
) -> None:
|
|
259
259
|
'''
|
|
@@ -396,44 +396,44 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
396
396
|
def __init__(
|
|
397
397
|
self,
|
|
398
398
|
*,
|
|
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,
|
|
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,
|
|
402
402
|
retry_attempts: typing.Optional[jsii.Number] = None,
|
|
403
|
-
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,
|
|
404
404
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
405
405
|
allow_public_subnet: typing.Optional[builtins.bool] = 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,
|
|
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,
|
|
410
410
|
dead_letter_queue_enabled: typing.Optional[builtins.bool] = None,
|
|
411
|
-
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,
|
|
412
412
|
description: typing.Optional[builtins.str] = None,
|
|
413
413
|
environment: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = 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,
|
|
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,
|
|
418
418
|
function_name: typing.Optional[builtins.str] = 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,
|
|
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,
|
|
425
425
|
memory_size: typing.Optional[jsii.Number] = None,
|
|
426
|
-
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,
|
|
427
427
|
profiling: typing.Optional[builtins.bool] = None,
|
|
428
|
-
profiling_group: typing.Optional[_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup] = None,
|
|
428
|
+
profiling_group: typing.Optional["_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup"] = None,
|
|
429
429
|
reserved_concurrent_executions: typing.Optional[jsii.Number] = 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,
|
|
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,
|
|
437
437
|
) -> None:
|
|
438
438
|
'''Props for CheckStateMachineStatusFunction.
|
|
439
439
|
|
|
@@ -603,7 +603,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
603
603
|
self._values["vpc_subnets"] = vpc_subnets
|
|
604
604
|
|
|
605
605
|
@builtins.property
|
|
606
|
-
def max_event_age(self) -> typing.Optional[_aws_cdk_ceddda9d.Duration]:
|
|
606
|
+
def max_event_age(self) -> typing.Optional["_aws_cdk_ceddda9d.Duration"]:
|
|
607
607
|
'''The maximum age of a request that Lambda sends to a function for processing.
|
|
608
608
|
|
|
609
609
|
Minimum: 60 seconds
|
|
@@ -612,25 +612,29 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
612
612
|
:default: Duration.hours(6)
|
|
613
613
|
'''
|
|
614
614
|
result = self._values.get("max_event_age")
|
|
615
|
-
return typing.cast(typing.Optional[_aws_cdk_ceddda9d.Duration], result)
|
|
615
|
+
return typing.cast(typing.Optional["_aws_cdk_ceddda9d.Duration"], result)
|
|
616
616
|
|
|
617
617
|
@builtins.property
|
|
618
|
-
def on_failure(
|
|
618
|
+
def on_failure(
|
|
619
|
+
self,
|
|
620
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.IDestination"]:
|
|
619
621
|
'''The destination for failed invocations.
|
|
620
622
|
|
|
621
623
|
:default: - no destination
|
|
622
624
|
'''
|
|
623
625
|
result = self._values.get("on_failure")
|
|
624
|
-
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)
|
|
625
627
|
|
|
626
628
|
@builtins.property
|
|
627
|
-
def on_success(
|
|
629
|
+
def on_success(
|
|
630
|
+
self,
|
|
631
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.IDestination"]:
|
|
628
632
|
'''The destination for successful invocations.
|
|
629
633
|
|
|
630
634
|
:default: - no destination
|
|
631
635
|
'''
|
|
632
636
|
result = self._values.get("on_success")
|
|
633
|
-
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)
|
|
634
638
|
|
|
635
639
|
@builtins.property
|
|
636
640
|
def retry_attempts(self) -> typing.Optional[jsii.Number]:
|
|
@@ -647,7 +651,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
647
651
|
@builtins.property
|
|
648
652
|
def adot_instrumentation(
|
|
649
653
|
self,
|
|
650
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig]:
|
|
654
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig"]:
|
|
651
655
|
'''Specify the configuration of AWS Distro for OpenTelemetry (ADOT) instrumentation.
|
|
652
656
|
|
|
653
657
|
:default: - No ADOT instrumentation
|
|
@@ -655,7 +659,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
655
659
|
:see: https://aws-otel.github.io/docs/getting-started/lambda
|
|
656
660
|
'''
|
|
657
661
|
result = self._values.get("adot_instrumentation")
|
|
658
|
-
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)
|
|
659
663
|
|
|
660
664
|
@builtins.property
|
|
661
665
|
def allow_all_outbound(self) -> typing.Optional[builtins.bool]:
|
|
@@ -685,38 +689,38 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
685
689
|
@builtins.property
|
|
686
690
|
def architecture(
|
|
687
691
|
self,
|
|
688
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture]:
|
|
692
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Architecture"]:
|
|
689
693
|
'''The system architectures compatible with this lambda function.
|
|
690
694
|
|
|
691
695
|
:default: Architecture.X86_64
|
|
692
696
|
'''
|
|
693
697
|
result = self._values.get("architecture")
|
|
694
|
-
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)
|
|
695
699
|
|
|
696
700
|
@builtins.property
|
|
697
701
|
def code_signing_config(
|
|
698
702
|
self,
|
|
699
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig]:
|
|
703
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig"]:
|
|
700
704
|
'''Code signing config associated with this function.
|
|
701
705
|
|
|
702
706
|
:default: - Not Sign the Code
|
|
703
707
|
'''
|
|
704
708
|
result = self._values.get("code_signing_config")
|
|
705
|
-
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)
|
|
706
710
|
|
|
707
711
|
@builtins.property
|
|
708
712
|
def current_version_options(
|
|
709
713
|
self,
|
|
710
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.VersionOptions]:
|
|
714
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.VersionOptions"]:
|
|
711
715
|
'''Options for the ``lambda.Version`` resource automatically created by the ``fn.currentVersion`` method.
|
|
712
716
|
|
|
713
717
|
:default: - default options as described in ``VersionOptions``
|
|
714
718
|
'''
|
|
715
719
|
result = self._values.get("current_version_options")
|
|
716
|
-
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)
|
|
717
721
|
|
|
718
722
|
@builtins.property
|
|
719
|
-
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"]:
|
|
720
724
|
'''The SQS queue to use if DLQ is enabled.
|
|
721
725
|
|
|
722
726
|
If SNS topic is desired, specify ``deadLetterTopic`` property instead.
|
|
@@ -724,7 +728,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
724
728
|
:default: - SQS queue with 14 day retention period if ``deadLetterQueueEnabled`` is ``true``
|
|
725
729
|
'''
|
|
726
730
|
result = self._values.get("dead_letter_queue")
|
|
727
|
-
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)
|
|
728
732
|
|
|
729
733
|
@builtins.property
|
|
730
734
|
def dead_letter_queue_enabled(self) -> typing.Optional[builtins.bool]:
|
|
@@ -739,7 +743,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
739
743
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
740
744
|
|
|
741
745
|
@builtins.property
|
|
742
|
-
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"]:
|
|
743
747
|
'''The SNS topic to use as a DLQ.
|
|
744
748
|
|
|
745
749
|
Note that if ``deadLetterQueueEnabled`` is set to ``true``, an SQS queue will be created
|
|
@@ -748,7 +752,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
748
752
|
:default: - no SNS topic
|
|
749
753
|
'''
|
|
750
754
|
result = self._values.get("dead_letter_topic")
|
|
751
|
-
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)
|
|
752
756
|
|
|
753
757
|
@builtins.property
|
|
754
758
|
def description(self) -> typing.Optional[builtins.str]:
|
|
@@ -775,27 +779,29 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
775
779
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
776
780
|
|
|
777
781
|
@builtins.property
|
|
778
|
-
def environment_encryption(
|
|
782
|
+
def environment_encryption(
|
|
783
|
+
self,
|
|
784
|
+
) -> typing.Optional["_aws_cdk_aws_kms_ceddda9d.IKey"]:
|
|
779
785
|
'''The AWS KMS key that's used to encrypt your function's environment variables.
|
|
780
786
|
|
|
781
787
|
:default: - AWS Lambda creates and uses an AWS managed customer master key (CMK).
|
|
782
788
|
'''
|
|
783
789
|
result = self._values.get("environment_encryption")
|
|
784
|
-
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)
|
|
785
791
|
|
|
786
792
|
@builtins.property
|
|
787
|
-
def ephemeral_storage_size(self) -> typing.Optional[_aws_cdk_ceddda9d.Size]:
|
|
793
|
+
def ephemeral_storage_size(self) -> typing.Optional["_aws_cdk_ceddda9d.Size"]:
|
|
788
794
|
'''The size of the function’s /tmp directory in MiB.
|
|
789
795
|
|
|
790
796
|
:default: 512 MiB
|
|
791
797
|
'''
|
|
792
798
|
result = self._values.get("ephemeral_storage_size")
|
|
793
|
-
return typing.cast(typing.Optional[_aws_cdk_ceddda9d.Size], result)
|
|
799
|
+
return typing.cast(typing.Optional["_aws_cdk_ceddda9d.Size"], result)
|
|
794
800
|
|
|
795
801
|
@builtins.property
|
|
796
802
|
def events(
|
|
797
803
|
self,
|
|
798
|
-
) -> typing.Optional[typing.List[_aws_cdk_aws_lambda_ceddda9d.IEventSource]]:
|
|
804
|
+
) -> typing.Optional[typing.List["_aws_cdk_aws_lambda_ceddda9d.IEventSource"]]:
|
|
799
805
|
'''Event sources for this function.
|
|
800
806
|
|
|
801
807
|
You can also add event sources using ``addEventSource``.
|
|
@@ -803,16 +809,16 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
803
809
|
:default: - No event sources.
|
|
804
810
|
'''
|
|
805
811
|
result = self._values.get("events")
|
|
806
|
-
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)
|
|
807
813
|
|
|
808
814
|
@builtins.property
|
|
809
|
-
def filesystem(self) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.FileSystem]:
|
|
815
|
+
def filesystem(self) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.FileSystem"]:
|
|
810
816
|
'''The filesystem configuration for the lambda function.
|
|
811
817
|
|
|
812
818
|
:default: - will not mount any filesystem
|
|
813
819
|
'''
|
|
814
820
|
result = self._values.get("filesystem")
|
|
815
|
-
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)
|
|
816
822
|
|
|
817
823
|
@builtins.property
|
|
818
824
|
def function_name(self) -> typing.Optional[builtins.str]:
|
|
@@ -829,7 +835,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
829
835
|
@builtins.property
|
|
830
836
|
def initial_policy(
|
|
831
837
|
self,
|
|
832
|
-
) -> typing.Optional[typing.List[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]]:
|
|
838
|
+
) -> typing.Optional[typing.List["_aws_cdk_aws_iam_ceddda9d.PolicyStatement"]]:
|
|
833
839
|
'''Initial policy statements to add to the created Lambda Role.
|
|
834
840
|
|
|
835
841
|
You can call ``addToRolePolicy`` to the created lambda to add statements post creation.
|
|
@@ -837,12 +843,12 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
837
843
|
:default: - No policy statements are added to the created Lambda role.
|
|
838
844
|
'''
|
|
839
845
|
result = self._values.get("initial_policy")
|
|
840
|
-
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)
|
|
841
847
|
|
|
842
848
|
@builtins.property
|
|
843
849
|
def insights_version(
|
|
844
850
|
self,
|
|
845
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion]:
|
|
851
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion"]:
|
|
846
852
|
'''Specify the version of CloudWatch Lambda insights to use for monitoring.
|
|
847
853
|
|
|
848
854
|
:default: - No Lambda Insights
|
|
@@ -850,12 +856,12 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
850
856
|
:see: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Lambda-Insights-Getting-Started-docker.html
|
|
851
857
|
'''
|
|
852
858
|
result = self._values.get("insights_version")
|
|
853
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion], result)
|
|
859
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion"], result)
|
|
854
860
|
|
|
855
861
|
@builtins.property
|
|
856
862
|
def layers(
|
|
857
863
|
self,
|
|
858
|
-
) -> typing.Optional[typing.List[_aws_cdk_aws_lambda_ceddda9d.ILayerVersion]]:
|
|
864
|
+
) -> typing.Optional[typing.List["_aws_cdk_aws_lambda_ceddda9d.ILayerVersion"]]:
|
|
859
865
|
'''A list of layers to add to the function's execution environment.
|
|
860
866
|
|
|
861
867
|
You can configure your Lambda function to pull in
|
|
@@ -865,12 +871,12 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
865
871
|
:default: - No layers.
|
|
866
872
|
'''
|
|
867
873
|
result = self._values.get("layers")
|
|
868
|
-
return typing.cast(typing.Optional[typing.List[_aws_cdk_aws_lambda_ceddda9d.ILayerVersion]], result)
|
|
874
|
+
return typing.cast(typing.Optional[typing.List["_aws_cdk_aws_lambda_ceddda9d.ILayerVersion"]], result)
|
|
869
875
|
|
|
870
876
|
@builtins.property
|
|
871
877
|
def log_retention(
|
|
872
878
|
self,
|
|
873
|
-
) -> typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays]:
|
|
879
|
+
) -> typing.Optional["_aws_cdk_aws_logs_ceddda9d.RetentionDays"]:
|
|
874
880
|
'''The number of days log events are kept in CloudWatch Logs.
|
|
875
881
|
|
|
876
882
|
When updating
|
|
@@ -880,12 +886,12 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
880
886
|
:default: logs.RetentionDays.INFINITE
|
|
881
887
|
'''
|
|
882
888
|
result = self._values.get("log_retention")
|
|
883
|
-
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)
|
|
884
890
|
|
|
885
891
|
@builtins.property
|
|
886
892
|
def log_retention_retry_options(
|
|
887
893
|
self,
|
|
888
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions]:
|
|
894
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions"]:
|
|
889
895
|
'''When log retention is specified, a custom resource attempts to create the CloudWatch log group.
|
|
890
896
|
|
|
891
897
|
These options control the retry policy when interacting with CloudWatch APIs.
|
|
@@ -893,16 +899,16 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
893
899
|
:default: - Default AWS SDK retry options.
|
|
894
900
|
'''
|
|
895
901
|
result = self._values.get("log_retention_retry_options")
|
|
896
|
-
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)
|
|
897
903
|
|
|
898
904
|
@builtins.property
|
|
899
|
-
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"]:
|
|
900
906
|
'''The IAM role for the Lambda function associated with the custom resource that sets the retention policy.
|
|
901
907
|
|
|
902
908
|
:default: - A new role is created.
|
|
903
909
|
'''
|
|
904
910
|
result = self._values.get("log_retention_role")
|
|
905
|
-
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)
|
|
906
912
|
|
|
907
913
|
@builtins.property
|
|
908
914
|
def memory_size(self) -> typing.Optional[jsii.Number]:
|
|
@@ -920,7 +926,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
920
926
|
@builtins.property
|
|
921
927
|
def params_and_secrets(
|
|
922
928
|
self,
|
|
923
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion]:
|
|
929
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion"]:
|
|
924
930
|
'''Specify the configuration of Parameters and Secrets Extension.
|
|
925
931
|
|
|
926
932
|
:default: - No Parameters and Secrets Extension
|
|
@@ -928,7 +934,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
928
934
|
:see: https://docs.aws.amazon.com/systems-manager/latest/userguide/ps-integration-lambda-extensions.html
|
|
929
935
|
'''
|
|
930
936
|
result = self._values.get("params_and_secrets")
|
|
931
|
-
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)
|
|
932
938
|
|
|
933
939
|
@builtins.property
|
|
934
940
|
def profiling(self) -> typing.Optional[builtins.bool]:
|
|
@@ -944,7 +950,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
944
950
|
@builtins.property
|
|
945
951
|
def profiling_group(
|
|
946
952
|
self,
|
|
947
|
-
) -> typing.Optional[_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup]:
|
|
953
|
+
) -> typing.Optional["_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup"]:
|
|
948
954
|
'''Profiling Group.
|
|
949
955
|
|
|
950
956
|
:default: - A new profiling group will be created if ``profiling`` is set.
|
|
@@ -952,7 +958,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
952
958
|
:see: https://docs.aws.amazon.com/codeguru/latest/profiler-ug/setting-up-lambda.html
|
|
953
959
|
'''
|
|
954
960
|
result = self._values.get("profiling_group")
|
|
955
|
-
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)
|
|
956
962
|
|
|
957
963
|
@builtins.property
|
|
958
964
|
def reserved_concurrent_executions(self) -> typing.Optional[jsii.Number]:
|
|
@@ -966,7 +972,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
966
972
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
967
973
|
|
|
968
974
|
@builtins.property
|
|
969
|
-
def role(self) -> typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole]:
|
|
975
|
+
def role(self) -> typing.Optional["_aws_cdk_aws_iam_ceddda9d.IRole"]:
|
|
970
976
|
'''Lambda execution role.
|
|
971
977
|
|
|
972
978
|
This is the role that will be assumed by the function upon execution.
|
|
@@ -985,23 +991,23 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
985
991
|
Both supplied and generated roles can always be changed by calling ``addToRolePolicy``.
|
|
986
992
|
'''
|
|
987
993
|
result = self._values.get("role")
|
|
988
|
-
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)
|
|
989
995
|
|
|
990
996
|
@builtins.property
|
|
991
997
|
def runtime_management_mode(
|
|
992
998
|
self,
|
|
993
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode]:
|
|
999
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode"]:
|
|
994
1000
|
'''Sets the runtime management configuration for a function's version.
|
|
995
1001
|
|
|
996
1002
|
:default: Auto
|
|
997
1003
|
'''
|
|
998
1004
|
result = self._values.get("runtime_management_mode")
|
|
999
|
-
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)
|
|
1000
1006
|
|
|
1001
1007
|
@builtins.property
|
|
1002
1008
|
def security_groups(
|
|
1003
1009
|
self,
|
|
1004
|
-
) -> typing.Optional[typing.List[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]]:
|
|
1010
|
+
) -> typing.Optional[typing.List["_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup"]]:
|
|
1005
1011
|
'''The list of security groups to associate with the Lambda's network interfaces.
|
|
1006
1012
|
|
|
1007
1013
|
Only used if 'vpc' is supplied.
|
|
@@ -1013,10 +1019,10 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
1013
1019
|
group will be created for this function.
|
|
1014
1020
|
'''
|
|
1015
1021
|
result = self._values.get("security_groups")
|
|
1016
|
-
return typing.cast(typing.Optional[typing.List[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]], result)
|
|
1022
|
+
return typing.cast(typing.Optional[typing.List["_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup"]], result)
|
|
1017
1023
|
|
|
1018
1024
|
@builtins.property
|
|
1019
|
-
def timeout(self) -> typing.Optional[_aws_cdk_ceddda9d.Duration]:
|
|
1025
|
+
def timeout(self) -> typing.Optional["_aws_cdk_ceddda9d.Duration"]:
|
|
1020
1026
|
'''The function execution time (in seconds) after which Lambda terminates the function.
|
|
1021
1027
|
|
|
1022
1028
|
Because the execution time affects cost, set this value
|
|
@@ -1025,19 +1031,19 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
1025
1031
|
:default: Duration.seconds(3)
|
|
1026
1032
|
'''
|
|
1027
1033
|
result = self._values.get("timeout")
|
|
1028
|
-
return typing.cast(typing.Optional[_aws_cdk_ceddda9d.Duration], result)
|
|
1034
|
+
return typing.cast(typing.Optional["_aws_cdk_ceddda9d.Duration"], result)
|
|
1029
1035
|
|
|
1030
1036
|
@builtins.property
|
|
1031
|
-
def tracing(self) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing]:
|
|
1037
|
+
def tracing(self) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Tracing"]:
|
|
1032
1038
|
'''Enable AWS X-Ray Tracing for Lambda Function.
|
|
1033
1039
|
|
|
1034
1040
|
:default: Tracing.Disabled
|
|
1035
1041
|
'''
|
|
1036
1042
|
result = self._values.get("tracing")
|
|
1037
|
-
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)
|
|
1038
1044
|
|
|
1039
1045
|
@builtins.property
|
|
1040
|
-
def vpc(self) -> typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc]:
|
|
1046
|
+
def vpc(self) -> typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"]:
|
|
1041
1047
|
'''VPC network to place Lambda network interfaces.
|
|
1042
1048
|
|
|
1043
1049
|
Specify this if the Lambda function needs to access resources in a VPC.
|
|
@@ -1046,10 +1052,12 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
1046
1052
|
:default: - Function is not placed within a VPC.
|
|
1047
1053
|
'''
|
|
1048
1054
|
result = self._values.get("vpc")
|
|
1049
|
-
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)
|
|
1050
1056
|
|
|
1051
1057
|
@builtins.property
|
|
1052
|
-
def vpc_subnets(
|
|
1058
|
+
def vpc_subnets(
|
|
1059
|
+
self,
|
|
1060
|
+
) -> typing.Optional["_aws_cdk_aws_ec2_ceddda9d.SubnetSelection"]:
|
|
1053
1061
|
'''Where to place the network interfaces within the VPC.
|
|
1054
1062
|
|
|
1055
1063
|
This requires ``vpc`` to be specified in order for interfaces to actually be
|
|
@@ -1061,7 +1069,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
1061
1069
|
:default: - the Vpc default strategy if not specified
|
|
1062
1070
|
'''
|
|
1063
1071
|
result = self._values.get("vpc_subnets")
|
|
1064
|
-
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)
|
|
1065
1073
|
|
|
1066
1074
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1067
1075
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -1214,11 +1222,11 @@ class IComponentProps(typing_extensions.Protocol):
|
|
|
1214
1222
|
|
|
1215
1223
|
@builtins.property
|
|
1216
1224
|
@jsii.member(jsii_name="componentDocument")
|
|
1217
|
-
def component_document(self) -> IComponentDocument:
|
|
1225
|
+
def component_document(self) -> "IComponentDocument":
|
|
1218
1226
|
...
|
|
1219
1227
|
|
|
1220
1228
|
@component_document.setter
|
|
1221
|
-
def component_document(self, value: IComponentDocument) -> None:
|
|
1229
|
+
def component_document(self, value: "IComponentDocument") -> None:
|
|
1222
1230
|
...
|
|
1223
1231
|
|
|
1224
1232
|
@builtins.property
|
|
@@ -1288,11 +1296,11 @@ class _IComponentPropsProxy:
|
|
|
1288
1296
|
|
|
1289
1297
|
@builtins.property
|
|
1290
1298
|
@jsii.member(jsii_name="componentDocument")
|
|
1291
|
-
def component_document(self) -> IComponentDocument:
|
|
1292
|
-
return typing.cast(IComponentDocument, jsii.get(self, "componentDocument"))
|
|
1299
|
+
def component_document(self) -> "IComponentDocument":
|
|
1300
|
+
return typing.cast("IComponentDocument", jsii.get(self, "componentDocument"))
|
|
1293
1301
|
|
|
1294
1302
|
@component_document.setter
|
|
1295
|
-
def component_document(self, value: IComponentDocument) -> None:
|
|
1303
|
+
def component_document(self, value: "IComponentDocument") -> None:
|
|
1296
1304
|
if __debug__:
|
|
1297
1305
|
type_hints = typing.get_type_hints(_typecheckingstub__b0ad2caab3355f4838637405d4f26c75ee1cce783903c32551e643abe82659e8)
|
|
1298
1306
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
@@ -1679,11 +1687,11 @@ class IStepCommands(typing_extensions.Protocol):
|
|
|
1679
1687
|
|
|
1680
1688
|
@builtins.property
|
|
1681
1689
|
@jsii.member(jsii_name="inputs")
|
|
1682
|
-
def inputs(self) -> typing.Optional[IActionCommands]:
|
|
1690
|
+
def inputs(self) -> typing.Optional["IActionCommands"]:
|
|
1683
1691
|
...
|
|
1684
1692
|
|
|
1685
1693
|
@inputs.setter
|
|
1686
|
-
def inputs(self, value: typing.Optional[IActionCommands]) -> None:
|
|
1694
|
+
def inputs(self, value: typing.Optional["IActionCommands"]) -> None:
|
|
1687
1695
|
...
|
|
1688
1696
|
|
|
1689
1697
|
|
|
@@ -1716,11 +1724,11 @@ class _IStepCommandsProxy:
|
|
|
1716
1724
|
|
|
1717
1725
|
@builtins.property
|
|
1718
1726
|
@jsii.member(jsii_name="inputs")
|
|
1719
|
-
def inputs(self) -> typing.Optional[IActionCommands]:
|
|
1720
|
-
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"))
|
|
1721
1729
|
|
|
1722
1730
|
@inputs.setter
|
|
1723
|
-
def inputs(self, value: typing.Optional[IActionCommands]) -> None:
|
|
1731
|
+
def inputs(self, value: typing.Optional["IActionCommands"]) -> None:
|
|
1724
1732
|
if __debug__:
|
|
1725
1733
|
type_hints = typing.get_type_hints(_typecheckingstub__31f544d77b7639a100d3ef21a2dccb6780ad4865ad30dc0927169fa6f58ba844)
|
|
1726
1734
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
@@ -1737,13 +1745,13 @@ class ImagePipeline(
|
|
|
1737
1745
|
):
|
|
1738
1746
|
def __init__(
|
|
1739
1747
|
self,
|
|
1740
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
1748
|
+
scope: "_constructs_77d1e7e8.Construct",
|
|
1741
1749
|
id: builtins.str,
|
|
1742
1750
|
*,
|
|
1743
|
-
components: typing.Sequence[IComponentProps],
|
|
1751
|
+
components: typing.Sequence["IComponentProps"],
|
|
1744
1752
|
parent_image: builtins.str,
|
|
1745
|
-
vpc: _aws_cdk_aws_ec2_ceddda9d.Vpc,
|
|
1746
|
-
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,
|
|
1747
1755
|
debug_image_pipeline: typing.Optional[builtins.bool] = None,
|
|
1748
1756
|
distribution_account_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1749
1757
|
distribution_kms_key_alias: typing.Optional[builtins.str] = None,
|
|
@@ -1845,13 +1853,13 @@ class ImagePipeline(
|
|
|
1845
1853
|
@jsii.member(jsii_name="imageRecipeComponents")
|
|
1846
1854
|
def image_recipe_components(
|
|
1847
1855
|
self,
|
|
1848
|
-
) -> typing.List[_aws_cdk_aws_imagebuilder_ceddda9d.CfnImageRecipe.ComponentConfigurationProperty]:
|
|
1849
|
-
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"))
|
|
1850
1858
|
|
|
1851
1859
|
@image_recipe_components.setter
|
|
1852
1860
|
def image_recipe_components(
|
|
1853
1861
|
self,
|
|
1854
|
-
value: typing.List[_aws_cdk_aws_imagebuilder_ceddda9d.CfnImageRecipe.ComponentConfigurationProperty],
|
|
1862
|
+
value: typing.List["_aws_cdk_aws_imagebuilder_ceddda9d.CfnImageRecipe.ComponentConfigurationProperty"],
|
|
1855
1863
|
) -> None:
|
|
1856
1864
|
if __debug__:
|
|
1857
1865
|
type_hints = typing.get_type_hints(_typecheckingstub__eeb1c8226fc2b10c398b3b6c92875d7937e349500e49aef10cfda8c99a39abca)
|
|
@@ -1890,10 +1898,10 @@ class ImagePipelineProps:
|
|
|
1890
1898
|
def __init__(
|
|
1891
1899
|
self,
|
|
1892
1900
|
*,
|
|
1893
|
-
components: typing.Sequence[IComponentProps],
|
|
1901
|
+
components: typing.Sequence["IComponentProps"],
|
|
1894
1902
|
parent_image: builtins.str,
|
|
1895
|
-
vpc: _aws_cdk_aws_ec2_ceddda9d.Vpc,
|
|
1896
|
-
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,
|
|
1897
1905
|
debug_image_pipeline: typing.Optional[builtins.bool] = None,
|
|
1898
1906
|
distribution_account_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1899
1907
|
distribution_kms_key_alias: typing.Optional[builtins.str] = None,
|
|
@@ -2001,11 +2009,11 @@ class ImagePipelineProps:
|
|
|
2001
2009
|
self._values["vuln_scans_repo_tags"] = vuln_scans_repo_tags
|
|
2002
2010
|
|
|
2003
2011
|
@builtins.property
|
|
2004
|
-
def components(self) -> typing.List[IComponentProps]:
|
|
2012
|
+
def components(self) -> typing.List["IComponentProps"]:
|
|
2005
2013
|
'''List of component props.'''
|
|
2006
2014
|
result = self._values.get("components")
|
|
2007
2015
|
assert result is not None, "Required property 'components' is missing"
|
|
2008
|
-
return typing.cast(typing.List[IComponentProps], result)
|
|
2016
|
+
return typing.cast(typing.List["IComponentProps"], result)
|
|
2009
2017
|
|
|
2010
2018
|
@builtins.property
|
|
2011
2019
|
def parent_image(self) -> builtins.str:
|
|
@@ -2018,19 +2026,19 @@ class ImagePipelineProps:
|
|
|
2018
2026
|
return typing.cast(builtins.str, result)
|
|
2019
2027
|
|
|
2020
2028
|
@builtins.property
|
|
2021
|
-
def vpc(self) -> _aws_cdk_aws_ec2_ceddda9d.Vpc:
|
|
2029
|
+
def vpc(self) -> "_aws_cdk_aws_ec2_ceddda9d.Vpc":
|
|
2022
2030
|
'''Vpc to use for the Image Builder Pipeline.'''
|
|
2023
2031
|
result = self._values.get("vpc")
|
|
2024
2032
|
assert result is not None, "Required property 'vpc' is missing"
|
|
2025
|
-
return typing.cast(_aws_cdk_aws_ec2_ceddda9d.Vpc, result)
|
|
2033
|
+
return typing.cast("_aws_cdk_aws_ec2_ceddda9d.Vpc", result)
|
|
2026
2034
|
|
|
2027
2035
|
@builtins.property
|
|
2028
2036
|
def additional_policies(
|
|
2029
2037
|
self,
|
|
2030
|
-
) -> typing.Optional[typing.List[_aws_cdk_aws_iam_ceddda9d.ManagedPolicy]]:
|
|
2038
|
+
) -> typing.Optional[typing.List["_aws_cdk_aws_iam_ceddda9d.ManagedPolicy"]]:
|
|
2031
2039
|
'''Additional policies to add to the instance profile associated with the Instance Configurations.'''
|
|
2032
2040
|
result = self._values.get("additional_policies")
|
|
2033
|
-
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)
|
|
2034
2042
|
|
|
2035
2043
|
@builtins.property
|
|
2036
2044
|
def debug_image_pipeline(self) -> typing.Optional[builtins.bool]:
|
|
@@ -2180,46 +2188,46 @@ class StartStateMachineFunction(
|
|
|
2180
2188
|
|
|
2181
2189
|
def __init__(
|
|
2182
2190
|
self,
|
|
2183
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
2191
|
+
scope: "_constructs_77d1e7e8.Construct",
|
|
2184
2192
|
id: builtins.str,
|
|
2185
2193
|
*,
|
|
2186
|
-
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,
|
|
2187
2195
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
2188
2196
|
allow_public_subnet: typing.Optional[builtins.bool] = None,
|
|
2189
|
-
architecture: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture] = None,
|
|
2190
|
-
code_signing_config: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig] = None,
|
|
2191
|
-
current_version_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.VersionOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2192
|
-
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,
|
|
2193
2201
|
dead_letter_queue_enabled: typing.Optional[builtins.bool] = None,
|
|
2194
|
-
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,
|
|
2195
2203
|
description: typing.Optional[builtins.str] = None,
|
|
2196
2204
|
environment: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2197
|
-
environment_encryption: typing.Optional[_aws_cdk_aws_kms_ceddda9d.IKey] = None,
|
|
2198
|
-
ephemeral_storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
|
|
2199
|
-
events: typing.Optional[typing.Sequence[_aws_cdk_aws_lambda_ceddda9d.IEventSource]] = None,
|
|
2200
|
-
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,
|
|
2201
2209
|
function_name: typing.Optional[builtins.str] = None,
|
|
2202
|
-
initial_policy: typing.Optional[typing.Sequence[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]] = None,
|
|
2203
|
-
insights_version: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion] = None,
|
|
2204
|
-
layers: typing.Optional[typing.Sequence[_aws_cdk_aws_lambda_ceddda9d.ILayerVersion]] = None,
|
|
2205
|
-
log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
|
|
2206
|
-
log_retention_retry_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2207
|
-
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,
|
|
2208
2216
|
memory_size: typing.Optional[jsii.Number] = None,
|
|
2209
|
-
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,
|
|
2210
2218
|
profiling: typing.Optional[builtins.bool] = None,
|
|
2211
|
-
profiling_group: typing.Optional[_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup] = None,
|
|
2219
|
+
profiling_group: typing.Optional["_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup"] = None,
|
|
2212
2220
|
reserved_concurrent_executions: typing.Optional[jsii.Number] = None,
|
|
2213
|
-
role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
2214
|
-
runtime_management_mode: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode] = None,
|
|
2215
|
-
security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
|
|
2216
|
-
timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
2217
|
-
tracing: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing] = None,
|
|
2218
|
-
vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
|
2219
|
-
vpc_subnets: typing.Optional[typing.Union[_aws_cdk_aws_ec2_ceddda9d.SubnetSelection, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2220
|
-
max_event_age: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
2221
|
-
on_failure: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.IDestination] = None,
|
|
2222
|
-
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,
|
|
2223
2231
|
retry_attempts: typing.Optional[jsii.Number] = None,
|
|
2224
2232
|
) -> None:
|
|
2225
2233
|
'''
|
|
@@ -2360,44 +2368,44 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2360
2368
|
def __init__(
|
|
2361
2369
|
self,
|
|
2362
2370
|
*,
|
|
2363
|
-
max_event_age: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
2364
|
-
on_failure: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.IDestination] = None,
|
|
2365
|
-
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,
|
|
2366
2374
|
retry_attempts: typing.Optional[jsii.Number] = None,
|
|
2367
|
-
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,
|
|
2368
2376
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
2369
2377
|
allow_public_subnet: typing.Optional[builtins.bool] = None,
|
|
2370
|
-
architecture: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture] = None,
|
|
2371
|
-
code_signing_config: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig] = None,
|
|
2372
|
-
current_version_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.VersionOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2373
|
-
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,
|
|
2374
2382
|
dead_letter_queue_enabled: typing.Optional[builtins.bool] = None,
|
|
2375
|
-
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,
|
|
2376
2384
|
description: typing.Optional[builtins.str] = None,
|
|
2377
2385
|
environment: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
2378
|
-
environment_encryption: typing.Optional[_aws_cdk_aws_kms_ceddda9d.IKey] = None,
|
|
2379
|
-
ephemeral_storage_size: typing.Optional[_aws_cdk_ceddda9d.Size] = None,
|
|
2380
|
-
events: typing.Optional[typing.Sequence[_aws_cdk_aws_lambda_ceddda9d.IEventSource]] = None,
|
|
2381
|
-
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,
|
|
2382
2390
|
function_name: typing.Optional[builtins.str] = None,
|
|
2383
|
-
initial_policy: typing.Optional[typing.Sequence[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]] = None,
|
|
2384
|
-
insights_version: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion] = None,
|
|
2385
|
-
layers: typing.Optional[typing.Sequence[_aws_cdk_aws_lambda_ceddda9d.ILayerVersion]] = None,
|
|
2386
|
-
log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
|
|
2387
|
-
log_retention_retry_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2388
|
-
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,
|
|
2389
2397
|
memory_size: typing.Optional[jsii.Number] = None,
|
|
2390
|
-
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,
|
|
2391
2399
|
profiling: typing.Optional[builtins.bool] = None,
|
|
2392
|
-
profiling_group: typing.Optional[_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup] = None,
|
|
2400
|
+
profiling_group: typing.Optional["_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup"] = None,
|
|
2393
2401
|
reserved_concurrent_executions: typing.Optional[jsii.Number] = None,
|
|
2394
|
-
role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
2395
|
-
runtime_management_mode: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode] = None,
|
|
2396
|
-
security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
|
|
2397
|
-
timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
2398
|
-
tracing: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing] = None,
|
|
2399
|
-
vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
|
2400
|
-
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,
|
|
2401
2409
|
) -> None:
|
|
2402
2410
|
'''Props for StartStateMachineFunction.
|
|
2403
2411
|
|
|
@@ -2567,7 +2575,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2567
2575
|
self._values["vpc_subnets"] = vpc_subnets
|
|
2568
2576
|
|
|
2569
2577
|
@builtins.property
|
|
2570
|
-
def max_event_age(self) -> typing.Optional[_aws_cdk_ceddda9d.Duration]:
|
|
2578
|
+
def max_event_age(self) -> typing.Optional["_aws_cdk_ceddda9d.Duration"]:
|
|
2571
2579
|
'''The maximum age of a request that Lambda sends to a function for processing.
|
|
2572
2580
|
|
|
2573
2581
|
Minimum: 60 seconds
|
|
@@ -2576,25 +2584,29 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2576
2584
|
:default: Duration.hours(6)
|
|
2577
2585
|
'''
|
|
2578
2586
|
result = self._values.get("max_event_age")
|
|
2579
|
-
return typing.cast(typing.Optional[_aws_cdk_ceddda9d.Duration], result)
|
|
2587
|
+
return typing.cast(typing.Optional["_aws_cdk_ceddda9d.Duration"], result)
|
|
2580
2588
|
|
|
2581
2589
|
@builtins.property
|
|
2582
|
-
def on_failure(
|
|
2590
|
+
def on_failure(
|
|
2591
|
+
self,
|
|
2592
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.IDestination"]:
|
|
2583
2593
|
'''The destination for failed invocations.
|
|
2584
2594
|
|
|
2585
2595
|
:default: - no destination
|
|
2586
2596
|
'''
|
|
2587
2597
|
result = self._values.get("on_failure")
|
|
2588
|
-
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)
|
|
2589
2599
|
|
|
2590
2600
|
@builtins.property
|
|
2591
|
-
def on_success(
|
|
2601
|
+
def on_success(
|
|
2602
|
+
self,
|
|
2603
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.IDestination"]:
|
|
2592
2604
|
'''The destination for successful invocations.
|
|
2593
2605
|
|
|
2594
2606
|
:default: - no destination
|
|
2595
2607
|
'''
|
|
2596
2608
|
result = self._values.get("on_success")
|
|
2597
|
-
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)
|
|
2598
2610
|
|
|
2599
2611
|
@builtins.property
|
|
2600
2612
|
def retry_attempts(self) -> typing.Optional[jsii.Number]:
|
|
@@ -2611,7 +2623,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2611
2623
|
@builtins.property
|
|
2612
2624
|
def adot_instrumentation(
|
|
2613
2625
|
self,
|
|
2614
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig]:
|
|
2626
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig"]:
|
|
2615
2627
|
'''Specify the configuration of AWS Distro for OpenTelemetry (ADOT) instrumentation.
|
|
2616
2628
|
|
|
2617
2629
|
:default: - No ADOT instrumentation
|
|
@@ -2619,7 +2631,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2619
2631
|
:see: https://aws-otel.github.io/docs/getting-started/lambda
|
|
2620
2632
|
'''
|
|
2621
2633
|
result = self._values.get("adot_instrumentation")
|
|
2622
|
-
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)
|
|
2623
2635
|
|
|
2624
2636
|
@builtins.property
|
|
2625
2637
|
def allow_all_outbound(self) -> typing.Optional[builtins.bool]:
|
|
@@ -2649,38 +2661,38 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2649
2661
|
@builtins.property
|
|
2650
2662
|
def architecture(
|
|
2651
2663
|
self,
|
|
2652
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture]:
|
|
2664
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Architecture"]:
|
|
2653
2665
|
'''The system architectures compatible with this lambda function.
|
|
2654
2666
|
|
|
2655
2667
|
:default: Architecture.X86_64
|
|
2656
2668
|
'''
|
|
2657
2669
|
result = self._values.get("architecture")
|
|
2658
|
-
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)
|
|
2659
2671
|
|
|
2660
2672
|
@builtins.property
|
|
2661
2673
|
def code_signing_config(
|
|
2662
2674
|
self,
|
|
2663
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig]:
|
|
2675
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig"]:
|
|
2664
2676
|
'''Code signing config associated with this function.
|
|
2665
2677
|
|
|
2666
2678
|
:default: - Not Sign the Code
|
|
2667
2679
|
'''
|
|
2668
2680
|
result = self._values.get("code_signing_config")
|
|
2669
|
-
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)
|
|
2670
2682
|
|
|
2671
2683
|
@builtins.property
|
|
2672
2684
|
def current_version_options(
|
|
2673
2685
|
self,
|
|
2674
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.VersionOptions]:
|
|
2686
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.VersionOptions"]:
|
|
2675
2687
|
'''Options for the ``lambda.Version`` resource automatically created by the ``fn.currentVersion`` method.
|
|
2676
2688
|
|
|
2677
2689
|
:default: - default options as described in ``VersionOptions``
|
|
2678
2690
|
'''
|
|
2679
2691
|
result = self._values.get("current_version_options")
|
|
2680
|
-
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)
|
|
2681
2693
|
|
|
2682
2694
|
@builtins.property
|
|
2683
|
-
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"]:
|
|
2684
2696
|
'''The SQS queue to use if DLQ is enabled.
|
|
2685
2697
|
|
|
2686
2698
|
If SNS topic is desired, specify ``deadLetterTopic`` property instead.
|
|
@@ -2688,7 +2700,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2688
2700
|
:default: - SQS queue with 14 day retention period if ``deadLetterQueueEnabled`` is ``true``
|
|
2689
2701
|
'''
|
|
2690
2702
|
result = self._values.get("dead_letter_queue")
|
|
2691
|
-
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)
|
|
2692
2704
|
|
|
2693
2705
|
@builtins.property
|
|
2694
2706
|
def dead_letter_queue_enabled(self) -> typing.Optional[builtins.bool]:
|
|
@@ -2703,7 +2715,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2703
2715
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
2704
2716
|
|
|
2705
2717
|
@builtins.property
|
|
2706
|
-
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"]:
|
|
2707
2719
|
'''The SNS topic to use as a DLQ.
|
|
2708
2720
|
|
|
2709
2721
|
Note that if ``deadLetterQueueEnabled`` is set to ``true``, an SQS queue will be created
|
|
@@ -2712,7 +2724,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2712
2724
|
:default: - no SNS topic
|
|
2713
2725
|
'''
|
|
2714
2726
|
result = self._values.get("dead_letter_topic")
|
|
2715
|
-
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)
|
|
2716
2728
|
|
|
2717
2729
|
@builtins.property
|
|
2718
2730
|
def description(self) -> typing.Optional[builtins.str]:
|
|
@@ -2739,27 +2751,29 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2739
2751
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
2740
2752
|
|
|
2741
2753
|
@builtins.property
|
|
2742
|
-
def environment_encryption(
|
|
2754
|
+
def environment_encryption(
|
|
2755
|
+
self,
|
|
2756
|
+
) -> typing.Optional["_aws_cdk_aws_kms_ceddda9d.IKey"]:
|
|
2743
2757
|
'''The AWS KMS key that's used to encrypt your function's environment variables.
|
|
2744
2758
|
|
|
2745
2759
|
:default: - AWS Lambda creates and uses an AWS managed customer master key (CMK).
|
|
2746
2760
|
'''
|
|
2747
2761
|
result = self._values.get("environment_encryption")
|
|
2748
|
-
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)
|
|
2749
2763
|
|
|
2750
2764
|
@builtins.property
|
|
2751
|
-
def ephemeral_storage_size(self) -> typing.Optional[_aws_cdk_ceddda9d.Size]:
|
|
2765
|
+
def ephemeral_storage_size(self) -> typing.Optional["_aws_cdk_ceddda9d.Size"]:
|
|
2752
2766
|
'''The size of the function’s /tmp directory in MiB.
|
|
2753
2767
|
|
|
2754
2768
|
:default: 512 MiB
|
|
2755
2769
|
'''
|
|
2756
2770
|
result = self._values.get("ephemeral_storage_size")
|
|
2757
|
-
return typing.cast(typing.Optional[_aws_cdk_ceddda9d.Size], result)
|
|
2771
|
+
return typing.cast(typing.Optional["_aws_cdk_ceddda9d.Size"], result)
|
|
2758
2772
|
|
|
2759
2773
|
@builtins.property
|
|
2760
2774
|
def events(
|
|
2761
2775
|
self,
|
|
2762
|
-
) -> typing.Optional[typing.List[_aws_cdk_aws_lambda_ceddda9d.IEventSource]]:
|
|
2776
|
+
) -> typing.Optional[typing.List["_aws_cdk_aws_lambda_ceddda9d.IEventSource"]]:
|
|
2763
2777
|
'''Event sources for this function.
|
|
2764
2778
|
|
|
2765
2779
|
You can also add event sources using ``addEventSource``.
|
|
@@ -2767,16 +2781,16 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2767
2781
|
:default: - No event sources.
|
|
2768
2782
|
'''
|
|
2769
2783
|
result = self._values.get("events")
|
|
2770
|
-
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)
|
|
2771
2785
|
|
|
2772
2786
|
@builtins.property
|
|
2773
|
-
def filesystem(self) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.FileSystem]:
|
|
2787
|
+
def filesystem(self) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.FileSystem"]:
|
|
2774
2788
|
'''The filesystem configuration for the lambda function.
|
|
2775
2789
|
|
|
2776
2790
|
:default: - will not mount any filesystem
|
|
2777
2791
|
'''
|
|
2778
2792
|
result = self._values.get("filesystem")
|
|
2779
|
-
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)
|
|
2780
2794
|
|
|
2781
2795
|
@builtins.property
|
|
2782
2796
|
def function_name(self) -> typing.Optional[builtins.str]:
|
|
@@ -2793,7 +2807,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2793
2807
|
@builtins.property
|
|
2794
2808
|
def initial_policy(
|
|
2795
2809
|
self,
|
|
2796
|
-
) -> typing.Optional[typing.List[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]]:
|
|
2810
|
+
) -> typing.Optional[typing.List["_aws_cdk_aws_iam_ceddda9d.PolicyStatement"]]:
|
|
2797
2811
|
'''Initial policy statements to add to the created Lambda Role.
|
|
2798
2812
|
|
|
2799
2813
|
You can call ``addToRolePolicy`` to the created lambda to add statements post creation.
|
|
@@ -2801,12 +2815,12 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2801
2815
|
:default: - No policy statements are added to the created Lambda role.
|
|
2802
2816
|
'''
|
|
2803
2817
|
result = self._values.get("initial_policy")
|
|
2804
|
-
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)
|
|
2805
2819
|
|
|
2806
2820
|
@builtins.property
|
|
2807
2821
|
def insights_version(
|
|
2808
2822
|
self,
|
|
2809
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion]:
|
|
2823
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion"]:
|
|
2810
2824
|
'''Specify the version of CloudWatch Lambda insights to use for monitoring.
|
|
2811
2825
|
|
|
2812
2826
|
:default: - No Lambda Insights
|
|
@@ -2814,12 +2828,12 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2814
2828
|
:see: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Lambda-Insights-Getting-Started-docker.html
|
|
2815
2829
|
'''
|
|
2816
2830
|
result = self._values.get("insights_version")
|
|
2817
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion], result)
|
|
2831
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion"], result)
|
|
2818
2832
|
|
|
2819
2833
|
@builtins.property
|
|
2820
2834
|
def layers(
|
|
2821
2835
|
self,
|
|
2822
|
-
) -> typing.Optional[typing.List[_aws_cdk_aws_lambda_ceddda9d.ILayerVersion]]:
|
|
2836
|
+
) -> typing.Optional[typing.List["_aws_cdk_aws_lambda_ceddda9d.ILayerVersion"]]:
|
|
2823
2837
|
'''A list of layers to add to the function's execution environment.
|
|
2824
2838
|
|
|
2825
2839
|
You can configure your Lambda function to pull in
|
|
@@ -2829,12 +2843,12 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2829
2843
|
:default: - No layers.
|
|
2830
2844
|
'''
|
|
2831
2845
|
result = self._values.get("layers")
|
|
2832
|
-
return typing.cast(typing.Optional[typing.List[_aws_cdk_aws_lambda_ceddda9d.ILayerVersion]], result)
|
|
2846
|
+
return typing.cast(typing.Optional[typing.List["_aws_cdk_aws_lambda_ceddda9d.ILayerVersion"]], result)
|
|
2833
2847
|
|
|
2834
2848
|
@builtins.property
|
|
2835
2849
|
def log_retention(
|
|
2836
2850
|
self,
|
|
2837
|
-
) -> typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays]:
|
|
2851
|
+
) -> typing.Optional["_aws_cdk_aws_logs_ceddda9d.RetentionDays"]:
|
|
2838
2852
|
'''The number of days log events are kept in CloudWatch Logs.
|
|
2839
2853
|
|
|
2840
2854
|
When updating
|
|
@@ -2844,12 +2858,12 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2844
2858
|
:default: logs.RetentionDays.INFINITE
|
|
2845
2859
|
'''
|
|
2846
2860
|
result = self._values.get("log_retention")
|
|
2847
|
-
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)
|
|
2848
2862
|
|
|
2849
2863
|
@builtins.property
|
|
2850
2864
|
def log_retention_retry_options(
|
|
2851
2865
|
self,
|
|
2852
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions]:
|
|
2866
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions"]:
|
|
2853
2867
|
'''When log retention is specified, a custom resource attempts to create the CloudWatch log group.
|
|
2854
2868
|
|
|
2855
2869
|
These options control the retry policy when interacting with CloudWatch APIs.
|
|
@@ -2857,16 +2871,16 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2857
2871
|
:default: - Default AWS SDK retry options.
|
|
2858
2872
|
'''
|
|
2859
2873
|
result = self._values.get("log_retention_retry_options")
|
|
2860
|
-
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)
|
|
2861
2875
|
|
|
2862
2876
|
@builtins.property
|
|
2863
|
-
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"]:
|
|
2864
2878
|
'''The IAM role for the Lambda function associated with the custom resource that sets the retention policy.
|
|
2865
2879
|
|
|
2866
2880
|
:default: - A new role is created.
|
|
2867
2881
|
'''
|
|
2868
2882
|
result = self._values.get("log_retention_role")
|
|
2869
|
-
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)
|
|
2870
2884
|
|
|
2871
2885
|
@builtins.property
|
|
2872
2886
|
def memory_size(self) -> typing.Optional[jsii.Number]:
|
|
@@ -2884,7 +2898,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2884
2898
|
@builtins.property
|
|
2885
2899
|
def params_and_secrets(
|
|
2886
2900
|
self,
|
|
2887
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion]:
|
|
2901
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.ParamsAndSecretsLayerVersion"]:
|
|
2888
2902
|
'''Specify the configuration of Parameters and Secrets Extension.
|
|
2889
2903
|
|
|
2890
2904
|
:default: - No Parameters and Secrets Extension
|
|
@@ -2892,7 +2906,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2892
2906
|
:see: https://docs.aws.amazon.com/systems-manager/latest/userguide/ps-integration-lambda-extensions.html
|
|
2893
2907
|
'''
|
|
2894
2908
|
result = self._values.get("params_and_secrets")
|
|
2895
|
-
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)
|
|
2896
2910
|
|
|
2897
2911
|
@builtins.property
|
|
2898
2912
|
def profiling(self) -> typing.Optional[builtins.bool]:
|
|
@@ -2908,7 +2922,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2908
2922
|
@builtins.property
|
|
2909
2923
|
def profiling_group(
|
|
2910
2924
|
self,
|
|
2911
|
-
) -> typing.Optional[_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup]:
|
|
2925
|
+
) -> typing.Optional["_aws_cdk_aws_codeguruprofiler_ceddda9d.IProfilingGroup"]:
|
|
2912
2926
|
'''Profiling Group.
|
|
2913
2927
|
|
|
2914
2928
|
:default: - A new profiling group will be created if ``profiling`` is set.
|
|
@@ -2916,7 +2930,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2916
2930
|
:see: https://docs.aws.amazon.com/codeguru/latest/profiler-ug/setting-up-lambda.html
|
|
2917
2931
|
'''
|
|
2918
2932
|
result = self._values.get("profiling_group")
|
|
2919
|
-
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)
|
|
2920
2934
|
|
|
2921
2935
|
@builtins.property
|
|
2922
2936
|
def reserved_concurrent_executions(self) -> typing.Optional[jsii.Number]:
|
|
@@ -2930,7 +2944,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2930
2944
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2931
2945
|
|
|
2932
2946
|
@builtins.property
|
|
2933
|
-
def role(self) -> typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole]:
|
|
2947
|
+
def role(self) -> typing.Optional["_aws_cdk_aws_iam_ceddda9d.IRole"]:
|
|
2934
2948
|
'''Lambda execution role.
|
|
2935
2949
|
|
|
2936
2950
|
This is the role that will be assumed by the function upon execution.
|
|
@@ -2949,23 +2963,23 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2949
2963
|
Both supplied and generated roles can always be changed by calling ``addToRolePolicy``.
|
|
2950
2964
|
'''
|
|
2951
2965
|
result = self._values.get("role")
|
|
2952
|
-
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)
|
|
2953
2967
|
|
|
2954
2968
|
@builtins.property
|
|
2955
2969
|
def runtime_management_mode(
|
|
2956
2970
|
self,
|
|
2957
|
-
) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode]:
|
|
2971
|
+
) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode"]:
|
|
2958
2972
|
'''Sets the runtime management configuration for a function's version.
|
|
2959
2973
|
|
|
2960
2974
|
:default: Auto
|
|
2961
2975
|
'''
|
|
2962
2976
|
result = self._values.get("runtime_management_mode")
|
|
2963
|
-
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)
|
|
2964
2978
|
|
|
2965
2979
|
@builtins.property
|
|
2966
2980
|
def security_groups(
|
|
2967
2981
|
self,
|
|
2968
|
-
) -> typing.Optional[typing.List[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]]:
|
|
2982
|
+
) -> typing.Optional[typing.List["_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup"]]:
|
|
2969
2983
|
'''The list of security groups to associate with the Lambda's network interfaces.
|
|
2970
2984
|
|
|
2971
2985
|
Only used if 'vpc' is supplied.
|
|
@@ -2977,10 +2991,10 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2977
2991
|
group will be created for this function.
|
|
2978
2992
|
'''
|
|
2979
2993
|
result = self._values.get("security_groups")
|
|
2980
|
-
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)
|
|
2981
2995
|
|
|
2982
2996
|
@builtins.property
|
|
2983
|
-
def timeout(self) -> typing.Optional[_aws_cdk_ceddda9d.Duration]:
|
|
2997
|
+
def timeout(self) -> typing.Optional["_aws_cdk_ceddda9d.Duration"]:
|
|
2984
2998
|
'''The function execution time (in seconds) after which Lambda terminates the function.
|
|
2985
2999
|
|
|
2986
3000
|
Because the execution time affects cost, set this value
|
|
@@ -2989,19 +3003,19 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2989
3003
|
:default: Duration.seconds(3)
|
|
2990
3004
|
'''
|
|
2991
3005
|
result = self._values.get("timeout")
|
|
2992
|
-
return typing.cast(typing.Optional[_aws_cdk_ceddda9d.Duration], result)
|
|
3006
|
+
return typing.cast(typing.Optional["_aws_cdk_ceddda9d.Duration"], result)
|
|
2993
3007
|
|
|
2994
3008
|
@builtins.property
|
|
2995
|
-
def tracing(self) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing]:
|
|
3009
|
+
def tracing(self) -> typing.Optional["_aws_cdk_aws_lambda_ceddda9d.Tracing"]:
|
|
2996
3010
|
'''Enable AWS X-Ray Tracing for Lambda Function.
|
|
2997
3011
|
|
|
2998
3012
|
:default: Tracing.Disabled
|
|
2999
3013
|
'''
|
|
3000
3014
|
result = self._values.get("tracing")
|
|
3001
|
-
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)
|
|
3002
3016
|
|
|
3003
3017
|
@builtins.property
|
|
3004
|
-
def vpc(self) -> typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc]:
|
|
3018
|
+
def vpc(self) -> typing.Optional["_aws_cdk_aws_ec2_ceddda9d.IVpc"]:
|
|
3005
3019
|
'''VPC network to place Lambda network interfaces.
|
|
3006
3020
|
|
|
3007
3021
|
Specify this if the Lambda function needs to access resources in a VPC.
|
|
@@ -3010,10 +3024,12 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3010
3024
|
:default: - Function is not placed within a VPC.
|
|
3011
3025
|
'''
|
|
3012
3026
|
result = self._values.get("vpc")
|
|
3013
|
-
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)
|
|
3014
3028
|
|
|
3015
3029
|
@builtins.property
|
|
3016
|
-
def vpc_subnets(
|
|
3030
|
+
def vpc_subnets(
|
|
3031
|
+
self,
|
|
3032
|
+
) -> typing.Optional["_aws_cdk_aws_ec2_ceddda9d.SubnetSelection"]:
|
|
3017
3033
|
'''Where to place the network interfaces within the VPC.
|
|
3018
3034
|
|
|
3019
3035
|
This requires ``vpc`` to be specified in order for interfaces to actually be
|
|
@@ -3025,7 +3041,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3025
3041
|
:default: - the Vpc default strategy if not specified
|
|
3026
3042
|
'''
|
|
3027
3043
|
result = self._values.get("vpc_subnets")
|
|
3028
|
-
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)
|
|
3029
3045
|
|
|
3030
3046
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3031
3047
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -3045,7 +3061,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3045
3061
|
name_mapping={"device_name": "deviceName", "ebs": "ebs"},
|
|
3046
3062
|
)
|
|
3047
3063
|
class VolumeProps:
|
|
3048
|
-
def __init__(self, *, device_name: builtins.str, ebs: IEbsParameters) -> None:
|
|
3064
|
+
def __init__(self, *, device_name: builtins.str, ebs: "IEbsParameters") -> None:
|
|
3049
3065
|
'''
|
|
3050
3066
|
:param device_name: Name of the volume.
|
|
3051
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.
|
|
@@ -3067,7 +3083,7 @@ class VolumeProps:
|
|
|
3067
3083
|
return typing.cast(builtins.str, result)
|
|
3068
3084
|
|
|
3069
3085
|
@builtins.property
|
|
3070
|
-
def ebs(self) -> IEbsParameters:
|
|
3086
|
+
def ebs(self) -> "IEbsParameters":
|
|
3071
3087
|
'''EBS Block Store Parameters.
|
|
3072
3088
|
|
|
3073
3089
|
By default, the 'kmsKeyId' of EBS volume is set to 'amiEncryptionKey.keyId',
|
|
@@ -3077,7 +3093,7 @@ class VolumeProps:
|
|
|
3077
3093
|
'''
|
|
3078
3094
|
result = self._values.get("ebs")
|
|
3079
3095
|
assert result is not None, "Required property 'ebs' is missing"
|
|
3080
|
-
return typing.cast(IEbsParameters, result)
|
|
3096
|
+
return typing.cast("IEbsParameters", result)
|
|
3081
3097
|
|
|
3082
3098
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3083
3099
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|