jjrawlins-cdk-ami-builder 0.0.11__tar.gz → 0.0.66__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {jjrawlins_cdk_ami_builder-0.0.11/src/jjrawlins_cdk_ami_builder.egg-info → jjrawlins_cdk_ami_builder-0.0.66}/PKG-INFO +4 -5
- {jjrawlins_cdk_ami_builder-0.0.11 → jjrawlins_cdk_ami_builder-0.0.66}/README.md +0 -1
- {jjrawlins_cdk_ami_builder-0.0.11 → jjrawlins_cdk_ami_builder-0.0.66}/setup.py +5 -5
- {jjrawlins_cdk_ami_builder-0.0.11 → jjrawlins_cdk_ami_builder-0.0.66}/src/jjrawlins_cdk_ami_builder/__init__.py +19 -481
- {jjrawlins_cdk_ami_builder-0.0.11 → jjrawlins_cdk_ami_builder-0.0.66}/src/jjrawlins_cdk_ami_builder/_jsii/__init__.py +2 -2
- jjrawlins_cdk_ami_builder-0.0.66/src/jjrawlins_cdk_ami_builder/_jsii/cdk-ami-builder@0.0.66.jsii.tgz +0 -0
- {jjrawlins_cdk_ami_builder-0.0.11 → jjrawlins_cdk_ami_builder-0.0.66/src/jjrawlins_cdk_ami_builder.egg-info}/PKG-INFO +4 -5
- {jjrawlins_cdk_ami_builder-0.0.11 → jjrawlins_cdk_ami_builder-0.0.66}/src/jjrawlins_cdk_ami_builder.egg-info/SOURCES.txt +1 -1
- jjrawlins_cdk_ami_builder-0.0.66/src/jjrawlins_cdk_ami_builder.egg-info/requires.txt +5 -0
- jjrawlins_cdk_ami_builder-0.0.11/src/jjrawlins_cdk_ami_builder/_jsii/cdk-ami-builder@0.0.11.jsii.tgz +0 -0
- jjrawlins_cdk_ami_builder-0.0.11/src/jjrawlins_cdk_ami_builder.egg-info/requires.txt +0 -5
- {jjrawlins_cdk_ami_builder-0.0.11 → jjrawlins_cdk_ami_builder-0.0.66}/LICENSE +0 -0
- {jjrawlins_cdk_ami_builder-0.0.11 → jjrawlins_cdk_ami_builder-0.0.66}/MANIFEST.in +0 -0
- {jjrawlins_cdk_ami_builder-0.0.11 → jjrawlins_cdk_ami_builder-0.0.66}/pyproject.toml +0 -0
- {jjrawlins_cdk_ami_builder-0.0.11 → jjrawlins_cdk_ami_builder-0.0.66}/setup.cfg +0 -0
- {jjrawlins_cdk_ami_builder-0.0.11 → jjrawlins_cdk_ami_builder-0.0.66}/src/jjrawlins_cdk_ami_builder/py.typed +0 -0
- {jjrawlins_cdk_ami_builder-0.0.11 → jjrawlins_cdk_ami_builder-0.0.66}/src/jjrawlins_cdk_ami_builder.egg-info/dependency_links.txt +0 -0
- {jjrawlins_cdk_ami_builder-0.0.11 → jjrawlins_cdk_ami_builder-0.0.66}/src/jjrawlins_cdk_ami_builder.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: jjrawlins-cdk-ami-builder
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.66
|
|
4
4
|
Summary: Creates an EC2 AMI using an Image Builder Pipeline and returns the AMI ID.
|
|
5
5
|
Home-page: https://github.com/JaysonRawlins/cdk-ami-builder.git
|
|
6
6
|
Author: Jayson Rawlins<jayson.rawlins@gmail.com>
|
|
@@ -19,9 +19,9 @@ Classifier: License :: OSI Approved
|
|
|
19
19
|
Requires-Python: ~=3.9
|
|
20
20
|
Description-Content-Type: text/markdown
|
|
21
21
|
License-File: LICENSE
|
|
22
|
-
Requires-Dist: aws-cdk-lib<3.0.0,>=2.
|
|
23
|
-
Requires-Dist: constructs<11.0.0,>=10.
|
|
24
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
|
22
|
+
Requires-Dist: aws-cdk-lib<3.0.0,>=2.85.0
|
|
23
|
+
Requires-Dist: constructs<11.0.0,>=10.0.5
|
|
24
|
+
Requires-Dist: jsii<2.0.0,>=1.117.0
|
|
25
25
|
Requires-Dist: publication>=0.0.3
|
|
26
26
|
Requires-Dist: typeguard<4.3.0,>=2.13.3
|
|
27
27
|
|
|
@@ -115,7 +115,6 @@ const imagePipeline = new ImagePipeline(this, 'ImagePipeline', {
|
|
|
115
115
|
parentImage: image.getImage(this).imageId,
|
|
116
116
|
vpc: vpc,
|
|
117
117
|
imageRecipeVersion: version,
|
|
118
|
-
autoBuild: true, // Otherwise you can't use the below output
|
|
119
118
|
components: [
|
|
120
119
|
{
|
|
121
120
|
name: 'Install-Monitoring',
|
|
@@ -88,7 +88,6 @@ const imagePipeline = new ImagePipeline(this, 'ImagePipeline', {
|
|
|
88
88
|
parentImage: image.getImage(this).imageId,
|
|
89
89
|
vpc: vpc,
|
|
90
90
|
imageRecipeVersion: version,
|
|
91
|
-
autoBuild: true, // Otherwise you can't use the below output
|
|
92
91
|
components: [
|
|
93
92
|
{
|
|
94
93
|
name: 'Install-Monitoring',
|
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "jjrawlins-cdk-ami-builder",
|
|
8
|
-
"version": "0.0.
|
|
8
|
+
"version": "0.0.66",
|
|
9
9
|
"description": "Creates an EC2 AMI using an Image Builder Pipeline and returns the AMI ID.",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"url": "https://github.com/JaysonRawlins/cdk-ami-builder.git",
|
|
@@ -26,7 +26,7 @@ kwargs = json.loads(
|
|
|
26
26
|
],
|
|
27
27
|
"package_data": {
|
|
28
28
|
"jjrawlins_cdk_ami_builder._jsii": [
|
|
29
|
-
"cdk-ami-builder@0.0.
|
|
29
|
+
"cdk-ami-builder@0.0.66.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"jjrawlins_cdk_ami_builder": [
|
|
32
32
|
"py.typed"
|
|
@@ -34,9 +34,9 @@ kwargs = json.loads(
|
|
|
34
34
|
},
|
|
35
35
|
"python_requires": "~=3.9",
|
|
36
36
|
"install_requires": [
|
|
37
|
-
"aws-cdk-lib>=2.
|
|
38
|
-
"constructs>=10.
|
|
39
|
-
"jsii>=1.
|
|
37
|
+
"aws-cdk-lib>=2.85.0, <3.0.0",
|
|
38
|
+
"constructs>=10.0.5, <11.0.0",
|
|
39
|
+
"jsii>=1.117.0, <2.0.0",
|
|
40
40
|
"publication>=0.0.3",
|
|
41
41
|
"typeguard>=2.13.3,<4.3.0"
|
|
42
42
|
],
|
|
@@ -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',
|
|
@@ -221,8 +220,6 @@ class CheckStateMachineStatusFunction(
|
|
|
221
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
|
-
application_log_level: typing.Optional[builtins.str] = None,
|
|
225
|
-
application_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ApplicationLogLevel] = None,
|
|
226
223
|
architecture: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture] = None,
|
|
227
224
|
code_signing_config: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig] = None,
|
|
228
225
|
current_version_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.VersionOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -238,11 +235,7 @@ class CheckStateMachineStatusFunction(
|
|
|
238
235
|
function_name: typing.Optional[builtins.str] = None,
|
|
239
236
|
initial_policy: typing.Optional[typing.Sequence[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]] = None,
|
|
240
237
|
insights_version: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion] = None,
|
|
241
|
-
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
|
242
238
|
layers: typing.Optional[typing.Sequence[_aws_cdk_aws_lambda_ceddda9d.ILayerVersion]] = None,
|
|
243
|
-
log_format: typing.Optional[builtins.str] = None,
|
|
244
|
-
logging_format: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LoggingFormat] = None,
|
|
245
|
-
log_group: typing.Optional[_aws_cdk_aws_logs_ceddda9d.ILogGroup] = None,
|
|
246
239
|
log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
|
|
247
240
|
log_retention_retry_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
248
241
|
log_retention_role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
@@ -254,9 +247,6 @@ class CheckStateMachineStatusFunction(
|
|
|
254
247
|
role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
255
248
|
runtime_management_mode: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode] = None,
|
|
256
249
|
security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
|
|
257
|
-
snap_start: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SnapStartConf] = None,
|
|
258
|
-
system_log_level: typing.Optional[builtins.str] = None,
|
|
259
|
-
system_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SystemLogLevel] = None,
|
|
260
250
|
timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
261
251
|
tracing: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing] = None,
|
|
262
252
|
vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
|
@@ -270,10 +260,8 @@ class CheckStateMachineStatusFunction(
|
|
|
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",
|
|
@@ -440,8 +403,6 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
440
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
|
-
application_log_level: typing.Optional[builtins.str] = None,
|
|
444
|
-
application_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ApplicationLogLevel] = None,
|
|
445
406
|
architecture: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture] = None,
|
|
446
407
|
code_signing_config: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig] = None,
|
|
447
408
|
current_version_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.VersionOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -457,11 +418,7 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
457
418
|
function_name: typing.Optional[builtins.str] = None,
|
|
458
419
|
initial_policy: typing.Optional[typing.Sequence[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]] = None,
|
|
459
420
|
insights_version: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion] = None,
|
|
460
|
-
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
|
461
421
|
layers: typing.Optional[typing.Sequence[_aws_cdk_aws_lambda_ceddda9d.ILayerVersion]] = None,
|
|
462
|
-
log_format: typing.Optional[builtins.str] = None,
|
|
463
|
-
logging_format: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LoggingFormat] = None,
|
|
464
|
-
log_group: typing.Optional[_aws_cdk_aws_logs_ceddda9d.ILogGroup] = None,
|
|
465
422
|
log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
|
|
466
423
|
log_retention_retry_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
467
424
|
log_retention_role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
@@ -473,9 +430,6 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
473
430
|
role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
474
431
|
runtime_management_mode: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode] = None,
|
|
475
432
|
security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
|
|
476
|
-
snap_start: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SnapStartConf] = None,
|
|
477
|
-
system_log_level: typing.Optional[builtins.str] = None,
|
|
478
|
-
system_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SystemLogLevel] = None,
|
|
479
433
|
timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
480
434
|
tracing: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing] = None,
|
|
481
435
|
vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
|
@@ -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:
|
|
@@ -746,9 +664,6 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
746
664
|
If set to false, you must individually add traffic rules to allow the
|
|
747
665
|
Lambda to connect to network targets.
|
|
748
666
|
|
|
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
667
|
:default: true
|
|
753
668
|
'''
|
|
754
669
|
result = self._values.get("allow_all_outbound")
|
|
@@ -767,30 +682,6 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
767
682
|
result = self._values.get("allow_public_subnet")
|
|
768
683
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
769
684
|
|
|
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
685
|
@builtins.property
|
|
795
686
|
def architecture(
|
|
796
687
|
self,
|
|
@@ -961,17 +852,6 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
961
852
|
result = self._values.get("insights_version")
|
|
962
853
|
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion], result)
|
|
963
854
|
|
|
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)
|
|
974
|
-
|
|
975
855
|
@builtins.property
|
|
976
856
|
def layers(
|
|
977
857
|
self,
|
|
@@ -987,47 +867,6 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
987
867
|
result = self._values.get("layers")
|
|
988
868
|
return typing.cast(typing.Optional[typing.List[_aws_cdk_aws_lambda_ceddda9d.ILayerVersion]], result)
|
|
989
869
|
|
|
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)
|
|
1030
|
-
|
|
1031
870
|
@builtins.property
|
|
1032
871
|
def log_retention(
|
|
1033
872
|
self,
|
|
@@ -1038,19 +877,6 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
1038
877
|
this property, unsetting it doesn't remove the log retention policy. To
|
|
1039
878
|
remove the retention policy, set the value to ``INFINITE``.
|
|
1040
879
|
|
|
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
880
|
:default: logs.RetentionDays.INFINITE
|
|
1055
881
|
'''
|
|
1056
882
|
result = self._values.get("log_retention")
|
|
@@ -1064,9 +890,6 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
1064
890
|
|
|
1065
891
|
These options control the retry policy when interacting with CloudWatch APIs.
|
|
1066
892
|
|
|
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
893
|
:default: - Default AWS SDK retry options.
|
|
1071
894
|
'''
|
|
1072
895
|
result = self._values.get("log_retention_retry_options")
|
|
@@ -1076,9 +899,6 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
1076
899
|
def log_retention_role(self) -> typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole]:
|
|
1077
900
|
'''The IAM role for the Lambda function associated with the custom resource that sets the retention policy.
|
|
1078
901
|
|
|
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
902
|
:default: - A new role is created.
|
|
1083
903
|
'''
|
|
1084
904
|
result = self._values.get("log_retention_role")
|
|
@@ -1195,41 +1015,6 @@ class CheckStateMachineStatusFunctionProps(
|
|
|
1195
1015
|
result = self._values.get("security_groups")
|
|
1196
1016
|
return typing.cast(typing.Optional[typing.List[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]], result)
|
|
1197
1017
|
|
|
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)
|
|
1208
|
-
|
|
1209
|
-
@builtins.property
|
|
1210
|
-
def system_log_level(self) -> typing.Optional[builtins.str]:
|
|
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
1018
|
@builtins.property
|
|
1234
1019
|
def timeout(self) -> typing.Optional[_aws_cdk_ceddda9d.Duration]:
|
|
1235
1020
|
'''The function execution time (in seconds) after which Lambda terminates the function.
|
|
@@ -2401,8 +2186,6 @@ class StartStateMachineFunction(
|
|
|
2401
2186
|
adot_instrumentation: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2402
2187
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
2403
2188
|
allow_public_subnet: typing.Optional[builtins.bool] = None,
|
|
2404
|
-
application_log_level: typing.Optional[builtins.str] = None,
|
|
2405
|
-
application_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ApplicationLogLevel] = None,
|
|
2406
2189
|
architecture: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture] = None,
|
|
2407
2190
|
code_signing_config: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig] = None,
|
|
2408
2191
|
current_version_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.VersionOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -2418,11 +2201,7 @@ class StartStateMachineFunction(
|
|
|
2418
2201
|
function_name: typing.Optional[builtins.str] = None,
|
|
2419
2202
|
initial_policy: typing.Optional[typing.Sequence[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]] = None,
|
|
2420
2203
|
insights_version: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion] = None,
|
|
2421
|
-
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
|
2422
2204
|
layers: typing.Optional[typing.Sequence[_aws_cdk_aws_lambda_ceddda9d.ILayerVersion]] = None,
|
|
2423
|
-
log_format: typing.Optional[builtins.str] = None,
|
|
2424
|
-
logging_format: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LoggingFormat] = None,
|
|
2425
|
-
log_group: typing.Optional[_aws_cdk_aws_logs_ceddda9d.ILogGroup] = None,
|
|
2426
2205
|
log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
|
|
2427
2206
|
log_retention_retry_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2428
2207
|
log_retention_role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
@@ -2434,9 +2213,6 @@ class StartStateMachineFunction(
|
|
|
2434
2213
|
role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
2435
2214
|
runtime_management_mode: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode] = None,
|
|
2436
2215
|
security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
|
|
2437
|
-
snap_start: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SnapStartConf] = None,
|
|
2438
|
-
system_log_level: typing.Optional[builtins.str] = None,
|
|
2439
|
-
system_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SystemLogLevel] = None,
|
|
2440
2216
|
timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
2441
2217
|
tracing: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing] = None,
|
|
2442
2218
|
vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
|
@@ -2450,10 +2226,8 @@ class StartStateMachineFunction(
|
|
|
2450
2226
|
:param scope: -
|
|
2451
2227
|
:param id: -
|
|
2452
2228
|
: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.
|
|
2229
|
+
: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
2230
|
: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
2231
|
:param architecture: The system architectures compatible with this lambda function. Default: Architecture.X86_64
|
|
2458
2232
|
:param code_signing_config: Code signing config associated with this function. Default: - Not Sign the Code
|
|
2459
2233
|
: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 +2243,10 @@ class StartStateMachineFunction(
|
|
|
2469
2243
|
: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
2244
|
: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
2245
|
: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
2246
|
: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.
|
|
2247
|
+
: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
|
|
2248
|
+
: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.
|
|
2249
|
+
: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
2250
|
: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
2251
|
:param params_and_secrets: Specify the configuration of Parameters and Secrets Extension. Default: - No Parameters and Secrets Extension
|
|
2482
2252
|
:param profiling: Enable profiling. Default: - No profiling.
|
|
@@ -2485,9 +2255,6 @@ class StartStateMachineFunction(
|
|
|
2485
2255
|
: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
2256
|
:param runtime_management_mode: Sets the runtime management configuration for a function's version. Default: Auto
|
|
2487
2257
|
: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
2258
|
: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
2259
|
:param tracing: Enable AWS X-Ray Tracing for Lambda Function. Default: Tracing.Disabled
|
|
2493
2260
|
: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 +2272,6 @@ class StartStateMachineFunction(
|
|
|
2505
2272
|
adot_instrumentation=adot_instrumentation,
|
|
2506
2273
|
allow_all_outbound=allow_all_outbound,
|
|
2507
2274
|
allow_public_subnet=allow_public_subnet,
|
|
2508
|
-
application_log_level=application_log_level,
|
|
2509
|
-
application_log_level_v2=application_log_level_v2,
|
|
2510
2275
|
architecture=architecture,
|
|
2511
2276
|
code_signing_config=code_signing_config,
|
|
2512
2277
|
current_version_options=current_version_options,
|
|
@@ -2522,11 +2287,7 @@ class StartStateMachineFunction(
|
|
|
2522
2287
|
function_name=function_name,
|
|
2523
2288
|
initial_policy=initial_policy,
|
|
2524
2289
|
insights_version=insights_version,
|
|
2525
|
-
ipv6_allowed_for_dual_stack=ipv6_allowed_for_dual_stack,
|
|
2526
2290
|
layers=layers,
|
|
2527
|
-
log_format=log_format,
|
|
2528
|
-
logging_format=logging_format,
|
|
2529
|
-
log_group=log_group,
|
|
2530
2291
|
log_retention=log_retention,
|
|
2531
2292
|
log_retention_retry_options=log_retention_retry_options,
|
|
2532
2293
|
log_retention_role=log_retention_role,
|
|
@@ -2538,9 +2299,6 @@ class StartStateMachineFunction(
|
|
|
2538
2299
|
role=role,
|
|
2539
2300
|
runtime_management_mode=runtime_management_mode,
|
|
2540
2301
|
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
2302
|
timeout=timeout,
|
|
2545
2303
|
tracing=tracing,
|
|
2546
2304
|
vpc=vpc,
|
|
@@ -2565,8 +2323,6 @@ class StartStateMachineFunction(
|
|
|
2565
2323
|
"adot_instrumentation": "adotInstrumentation",
|
|
2566
2324
|
"allow_all_outbound": "allowAllOutbound",
|
|
2567
2325
|
"allow_public_subnet": "allowPublicSubnet",
|
|
2568
|
-
"application_log_level": "applicationLogLevel",
|
|
2569
|
-
"application_log_level_v2": "applicationLogLevelV2",
|
|
2570
2326
|
"architecture": "architecture",
|
|
2571
2327
|
"code_signing_config": "codeSigningConfig",
|
|
2572
2328
|
"current_version_options": "currentVersionOptions",
|
|
@@ -2582,11 +2338,7 @@ class StartStateMachineFunction(
|
|
|
2582
2338
|
"function_name": "functionName",
|
|
2583
2339
|
"initial_policy": "initialPolicy",
|
|
2584
2340
|
"insights_version": "insightsVersion",
|
|
2585
|
-
"ipv6_allowed_for_dual_stack": "ipv6AllowedForDualStack",
|
|
2586
2341
|
"layers": "layers",
|
|
2587
|
-
"log_format": "logFormat",
|
|
2588
|
-
"logging_format": "loggingFormat",
|
|
2589
|
-
"log_group": "logGroup",
|
|
2590
2342
|
"log_retention": "logRetention",
|
|
2591
2343
|
"log_retention_retry_options": "logRetentionRetryOptions",
|
|
2592
2344
|
"log_retention_role": "logRetentionRole",
|
|
@@ -2598,9 +2350,6 @@ class StartStateMachineFunction(
|
|
|
2598
2350
|
"role": "role",
|
|
2599
2351
|
"runtime_management_mode": "runtimeManagementMode",
|
|
2600
2352
|
"security_groups": "securityGroups",
|
|
2601
|
-
"snap_start": "snapStart",
|
|
2602
|
-
"system_log_level": "systemLogLevel",
|
|
2603
|
-
"system_log_level_v2": "systemLogLevelV2",
|
|
2604
2353
|
"timeout": "timeout",
|
|
2605
2354
|
"tracing": "tracing",
|
|
2606
2355
|
"vpc": "vpc",
|
|
@@ -2618,8 +2367,6 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2618
2367
|
adot_instrumentation: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2619
2368
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
2620
2369
|
allow_public_subnet: typing.Optional[builtins.bool] = None,
|
|
2621
|
-
application_log_level: typing.Optional[builtins.str] = None,
|
|
2622
|
-
application_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ApplicationLogLevel] = None,
|
|
2623
2370
|
architecture: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture] = None,
|
|
2624
2371
|
code_signing_config: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig] = None,
|
|
2625
2372
|
current_version_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.VersionOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -2635,11 +2382,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2635
2382
|
function_name: typing.Optional[builtins.str] = None,
|
|
2636
2383
|
initial_policy: typing.Optional[typing.Sequence[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]] = None,
|
|
2637
2384
|
insights_version: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion] = None,
|
|
2638
|
-
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
|
2639
2385
|
layers: typing.Optional[typing.Sequence[_aws_cdk_aws_lambda_ceddda9d.ILayerVersion]] = None,
|
|
2640
|
-
log_format: typing.Optional[builtins.str] = None,
|
|
2641
|
-
logging_format: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LoggingFormat] = None,
|
|
2642
|
-
log_group: typing.Optional[_aws_cdk_aws_logs_ceddda9d.ILogGroup] = None,
|
|
2643
2386
|
log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
|
|
2644
2387
|
log_retention_retry_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2645
2388
|
log_retention_role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
@@ -2651,9 +2394,6 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2651
2394
|
role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
2652
2395
|
runtime_management_mode: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode] = None,
|
|
2653
2396
|
security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
|
|
2654
|
-
snap_start: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SnapStartConf] = None,
|
|
2655
|
-
system_log_level: typing.Optional[builtins.str] = None,
|
|
2656
|
-
system_log_level_v2: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SystemLogLevel] = None,
|
|
2657
2397
|
timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
2658
2398
|
tracing: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing] = None,
|
|
2659
2399
|
vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
|
@@ -2666,10 +2406,8 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2666
2406
|
:param on_success: The destination for successful invocations. Default: - no destination
|
|
2667
2407
|
:param retry_attempts: The maximum number of times to retry when the function returns an error. Minimum: 0 Maximum: 2 Default: 2
|
|
2668
2408
|
: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.
|
|
2409
|
+
: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
2410
|
: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
2411
|
:param architecture: The system architectures compatible with this lambda function. Default: Architecture.X86_64
|
|
2674
2412
|
:param code_signing_config: Code signing config associated with this function. Default: - Not Sign the Code
|
|
2675
2413
|
: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 +2423,10 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2685
2423
|
: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
2424
|
: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
2425
|
: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
2426
|
: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.
|
|
2427
|
+
: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
|
|
2428
|
+
: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.
|
|
2429
|
+
: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
2430
|
: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
2431
|
:param params_and_secrets: Specify the configuration of Parameters and Secrets Extension. Default: - No Parameters and Secrets Extension
|
|
2698
2432
|
:param profiling: Enable profiling. Default: - No profiling.
|
|
@@ -2701,9 +2435,6 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2701
2435
|
: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
2436
|
:param runtime_management_mode: Sets the runtime management configuration for a function's version. Default: Auto
|
|
2703
2437
|
: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
2438
|
: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
2439
|
:param tracing: Enable AWS X-Ray Tracing for Lambda Function. Default: Tracing.Disabled
|
|
2709
2440
|
: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 +2457,6 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2726
2457
|
check_type(argname="argument adot_instrumentation", value=adot_instrumentation, expected_type=type_hints["adot_instrumentation"])
|
|
2727
2458
|
check_type(argname="argument allow_all_outbound", value=allow_all_outbound, expected_type=type_hints["allow_all_outbound"])
|
|
2728
2459
|
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
2460
|
check_type(argname="argument architecture", value=architecture, expected_type=type_hints["architecture"])
|
|
2732
2461
|
check_type(argname="argument code_signing_config", value=code_signing_config, expected_type=type_hints["code_signing_config"])
|
|
2733
2462
|
check_type(argname="argument current_version_options", value=current_version_options, expected_type=type_hints["current_version_options"])
|
|
@@ -2743,11 +2472,7 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2743
2472
|
check_type(argname="argument function_name", value=function_name, expected_type=type_hints["function_name"])
|
|
2744
2473
|
check_type(argname="argument initial_policy", value=initial_policy, expected_type=type_hints["initial_policy"])
|
|
2745
2474
|
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
2475
|
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
2476
|
check_type(argname="argument log_retention", value=log_retention, expected_type=type_hints["log_retention"])
|
|
2752
2477
|
check_type(argname="argument log_retention_retry_options", value=log_retention_retry_options, expected_type=type_hints["log_retention_retry_options"])
|
|
2753
2478
|
check_type(argname="argument log_retention_role", value=log_retention_role, expected_type=type_hints["log_retention_role"])
|
|
@@ -2759,9 +2484,6 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2759
2484
|
check_type(argname="argument role", value=role, expected_type=type_hints["role"])
|
|
2760
2485
|
check_type(argname="argument runtime_management_mode", value=runtime_management_mode, expected_type=type_hints["runtime_management_mode"])
|
|
2761
2486
|
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
2487
|
check_type(argname="argument timeout", value=timeout, expected_type=type_hints["timeout"])
|
|
2766
2488
|
check_type(argname="argument tracing", value=tracing, expected_type=type_hints["tracing"])
|
|
2767
2489
|
check_type(argname="argument vpc", value=vpc, expected_type=type_hints["vpc"])
|
|
@@ -2781,10 +2503,6 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2781
2503
|
self._values["allow_all_outbound"] = allow_all_outbound
|
|
2782
2504
|
if allow_public_subnet is not None:
|
|
2783
2505
|
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
2506
|
if architecture is not None:
|
|
2789
2507
|
self._values["architecture"] = architecture
|
|
2790
2508
|
if code_signing_config is not None:
|
|
@@ -2815,16 +2533,8 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2815
2533
|
self._values["initial_policy"] = initial_policy
|
|
2816
2534
|
if insights_version is not None:
|
|
2817
2535
|
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
2536
|
if layers is not None:
|
|
2821
2537
|
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
2538
|
if log_retention is not None:
|
|
2829
2539
|
self._values["log_retention"] = log_retention
|
|
2830
2540
|
if log_retention_retry_options is not None:
|
|
@@ -2847,12 +2557,6 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2847
2557
|
self._values["runtime_management_mode"] = runtime_management_mode
|
|
2848
2558
|
if security_groups is not None:
|
|
2849
2559
|
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
2560
|
if timeout is not None:
|
|
2857
2561
|
self._values["timeout"] = timeout
|
|
2858
2562
|
if tracing is not None:
|
|
@@ -2924,9 +2628,6 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2924
2628
|
If set to false, you must individually add traffic rules to allow the
|
|
2925
2629
|
Lambda to connect to network targets.
|
|
2926
2630
|
|
|
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
2631
|
:default: true
|
|
2931
2632
|
'''
|
|
2932
2633
|
result = self._values.get("allow_all_outbound")
|
|
@@ -2945,30 +2646,6 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
2945
2646
|
result = self._values.get("allow_public_subnet")
|
|
2946
2647
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
2947
2648
|
|
|
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
2649
|
@builtins.property
|
|
2973
2650
|
def architecture(
|
|
2974
2651
|
self,
|
|
@@ -3139,17 +2816,6 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3139
2816
|
result = self._values.get("insights_version")
|
|
3140
2817
|
return typing.cast(typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion], result)
|
|
3141
2818
|
|
|
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)
|
|
3152
|
-
|
|
3153
2819
|
@builtins.property
|
|
3154
2820
|
def layers(
|
|
3155
2821
|
self,
|
|
@@ -3165,47 +2831,6 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3165
2831
|
result = self._values.get("layers")
|
|
3166
2832
|
return typing.cast(typing.Optional[typing.List[_aws_cdk_aws_lambda_ceddda9d.ILayerVersion]], result)
|
|
3167
2833
|
|
|
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)
|
|
3208
|
-
|
|
3209
2834
|
@builtins.property
|
|
3210
2835
|
def log_retention(
|
|
3211
2836
|
self,
|
|
@@ -3216,19 +2841,6 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3216
2841
|
this property, unsetting it doesn't remove the log retention policy. To
|
|
3217
2842
|
remove the retention policy, set the value to ``INFINITE``.
|
|
3218
2843
|
|
|
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
2844
|
:default: logs.RetentionDays.INFINITE
|
|
3233
2845
|
'''
|
|
3234
2846
|
result = self._values.get("log_retention")
|
|
@@ -3242,9 +2854,6 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3242
2854
|
|
|
3243
2855
|
These options control the retry policy when interacting with CloudWatch APIs.
|
|
3244
2856
|
|
|
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
2857
|
:default: - Default AWS SDK retry options.
|
|
3249
2858
|
'''
|
|
3250
2859
|
result = self._values.get("log_retention_retry_options")
|
|
@@ -3254,9 +2863,6 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3254
2863
|
def log_retention_role(self) -> typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole]:
|
|
3255
2864
|
'''The IAM role for the Lambda function associated with the custom resource that sets the retention policy.
|
|
3256
2865
|
|
|
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
2866
|
:default: - A new role is created.
|
|
3261
2867
|
'''
|
|
3262
2868
|
result = self._values.get("log_retention_role")
|
|
@@ -3373,41 +2979,6 @@ class StartStateMachineFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOption
|
|
|
3373
2979
|
result = self._values.get("security_groups")
|
|
3374
2980
|
return typing.cast(typing.Optional[typing.List[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]], result)
|
|
3375
2981
|
|
|
3376
|
-
@builtins.property
|
|
3377
|
-
def snap_start(self) -> typing.Optional[_aws_cdk_aws_lambda_ceddda9d.SnapStartConf]:
|
|
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
2982
|
@builtins.property
|
|
3412
2983
|
def timeout(self) -> typing.Optional[_aws_cdk_ceddda9d.Duration]:
|
|
3413
2984
|
'''The function execution time (in seconds) after which Lambda terminates the function.
|
|
@@ -3546,8 +3117,6 @@ def _typecheckingstub__80a7e839717caae4ae025b044129f52691774b5a0c3597bea18145046
|
|
|
3546
3117
|
adot_instrumentation: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3547
3118
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
3548
3119
|
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
3120
|
architecture: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture] = None,
|
|
3552
3121
|
code_signing_config: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig] = None,
|
|
3553
3122
|
current_version_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.VersionOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -3563,11 +3132,7 @@ def _typecheckingstub__80a7e839717caae4ae025b044129f52691774b5a0c3597bea18145046
|
|
|
3563
3132
|
function_name: typing.Optional[builtins.str] = None,
|
|
3564
3133
|
initial_policy: typing.Optional[typing.Sequence[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]] = None,
|
|
3565
3134
|
insights_version: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion] = None,
|
|
3566
|
-
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
|
3567
3135
|
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
3136
|
log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
|
|
3572
3137
|
log_retention_retry_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3573
3138
|
log_retention_role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
@@ -3579,9 +3144,6 @@ def _typecheckingstub__80a7e839717caae4ae025b044129f52691774b5a0c3597bea18145046
|
|
|
3579
3144
|
role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
3580
3145
|
runtime_management_mode: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode] = None,
|
|
3581
3146
|
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
3147
|
timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
3586
3148
|
tracing: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing] = None,
|
|
3587
3149
|
vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
|
@@ -3603,8 +3165,6 @@ def _typecheckingstub__7ad187f6fa75af251088f0d01089ce5af9c6e78ba8a6e1736dfdb9666
|
|
|
3603
3165
|
adot_instrumentation: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3604
3166
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
3605
3167
|
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
3168
|
architecture: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture] = None,
|
|
3609
3169
|
code_signing_config: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig] = None,
|
|
3610
3170
|
current_version_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.VersionOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -3620,11 +3180,7 @@ def _typecheckingstub__7ad187f6fa75af251088f0d01089ce5af9c6e78ba8a6e1736dfdb9666
|
|
|
3620
3180
|
function_name: typing.Optional[builtins.str] = None,
|
|
3621
3181
|
initial_policy: typing.Optional[typing.Sequence[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]] = None,
|
|
3622
3182
|
insights_version: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion] = None,
|
|
3623
|
-
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
|
3624
3183
|
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
3184
|
log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
|
|
3629
3185
|
log_retention_retry_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3630
3186
|
log_retention_role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
@@ -3636,9 +3192,6 @@ def _typecheckingstub__7ad187f6fa75af251088f0d01089ce5af9c6e78ba8a6e1736dfdb9666
|
|
|
3636
3192
|
role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
3637
3193
|
runtime_management_mode: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode] = None,
|
|
3638
3194
|
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
3195
|
timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
3643
3196
|
tracing: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing] = None,
|
|
3644
3197
|
vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
|
@@ -3878,8 +3431,6 @@ def _typecheckingstub__e2190d2a548e965066a88afc4c9200b01b6ec131b60f821166bf35aed
|
|
|
3878
3431
|
adot_instrumentation: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3879
3432
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
3880
3433
|
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
3434
|
architecture: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture] = None,
|
|
3884
3435
|
code_signing_config: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig] = None,
|
|
3885
3436
|
current_version_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.VersionOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -3895,11 +3446,7 @@ def _typecheckingstub__e2190d2a548e965066a88afc4c9200b01b6ec131b60f821166bf35aed
|
|
|
3895
3446
|
function_name: typing.Optional[builtins.str] = None,
|
|
3896
3447
|
initial_policy: typing.Optional[typing.Sequence[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]] = None,
|
|
3897
3448
|
insights_version: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion] = None,
|
|
3898
|
-
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
|
3899
3449
|
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
3450
|
log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
|
|
3904
3451
|
log_retention_retry_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3905
3452
|
log_retention_role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
@@ -3911,9 +3458,6 @@ def _typecheckingstub__e2190d2a548e965066a88afc4c9200b01b6ec131b60f821166bf35aed
|
|
|
3911
3458
|
role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
3912
3459
|
runtime_management_mode: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode] = None,
|
|
3913
3460
|
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
3461
|
timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
3918
3462
|
tracing: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing] = None,
|
|
3919
3463
|
vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
|
@@ -3935,8 +3479,6 @@ def _typecheckingstub__eb8aced8ffa672fc77ae37739036b372b4660892fca88a7d548de7d98
|
|
|
3935
3479
|
adot_instrumentation: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.AdotInstrumentationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3936
3480
|
allow_all_outbound: typing.Optional[builtins.bool] = None,
|
|
3937
3481
|
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
3482
|
architecture: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Architecture] = None,
|
|
3941
3483
|
code_signing_config: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.ICodeSigningConfig] = None,
|
|
3942
3484
|
current_version_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.VersionOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -3952,11 +3494,7 @@ def _typecheckingstub__eb8aced8ffa672fc77ae37739036b372b4660892fca88a7d548de7d98
|
|
|
3952
3494
|
function_name: typing.Optional[builtins.str] = None,
|
|
3953
3495
|
initial_policy: typing.Optional[typing.Sequence[_aws_cdk_aws_iam_ceddda9d.PolicyStatement]] = None,
|
|
3954
3496
|
insights_version: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.LambdaInsightsVersion] = None,
|
|
3955
|
-
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
|
3956
3497
|
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
3498
|
log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
|
|
3961
3499
|
log_retention_retry_options: typing.Optional[typing.Union[_aws_cdk_aws_lambda_ceddda9d.LogRetentionRetryOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3962
3500
|
log_retention_role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
@@ -3968,9 +3506,6 @@ def _typecheckingstub__eb8aced8ffa672fc77ae37739036b372b4660892fca88a7d548de7d98
|
|
|
3968
3506
|
role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.IRole] = None,
|
|
3969
3507
|
runtime_management_mode: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.RuntimeManagementMode] = None,
|
|
3970
3508
|
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
3509
|
timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
3975
3510
|
tracing: typing.Optional[_aws_cdk_aws_lambda_ceddda9d.Tracing] = None,
|
|
3976
3511
|
vpc: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IVpc] = None,
|
|
@@ -3986,3 +3521,6 @@ def _typecheckingstub__9d1da9ea32dfd5f2b80899e3b65cfd331e8667db730686426f0ff1a17
|
|
|
3986
3521
|
) -> None:
|
|
3987
3522
|
"""Type checking stubs"""
|
|
3988
3523
|
pass
|
|
3524
|
+
|
|
3525
|
+
for cls in [IActionCommands, IComponentDocument, IComponentProps, IEbsParameters, IInputParameter, IPhases, IStepCommands]:
|
|
3526
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
jjrawlins_cdk_ami_builder-0.0.66/src/jjrawlins_cdk_ami_builder/_jsii/cdk-ami-builder@0.0.66.jsii.tgz
ADDED
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: jjrawlins-cdk-ami-builder
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.66
|
|
4
4
|
Summary: Creates an EC2 AMI using an Image Builder Pipeline and returns the AMI ID.
|
|
5
5
|
Home-page: https://github.com/JaysonRawlins/cdk-ami-builder.git
|
|
6
6
|
Author: Jayson Rawlins<jayson.rawlins@gmail.com>
|
|
@@ -19,9 +19,9 @@ Classifier: License :: OSI Approved
|
|
|
19
19
|
Requires-Python: ~=3.9
|
|
20
20
|
Description-Content-Type: text/markdown
|
|
21
21
|
License-File: LICENSE
|
|
22
|
-
Requires-Dist: aws-cdk-lib<3.0.0,>=2.
|
|
23
|
-
Requires-Dist: constructs<11.0.0,>=10.
|
|
24
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
|
22
|
+
Requires-Dist: aws-cdk-lib<3.0.0,>=2.85.0
|
|
23
|
+
Requires-Dist: constructs<11.0.0,>=10.0.5
|
|
24
|
+
Requires-Dist: jsii<2.0.0,>=1.117.0
|
|
25
25
|
Requires-Dist: publication>=0.0.3
|
|
26
26
|
Requires-Dist: typeguard<4.3.0,>=2.13.3
|
|
27
27
|
|
|
@@ -115,7 +115,6 @@ const imagePipeline = new ImagePipeline(this, 'ImagePipeline', {
|
|
|
115
115
|
parentImage: image.getImage(this).imageId,
|
|
116
116
|
vpc: vpc,
|
|
117
117
|
imageRecipeVersion: version,
|
|
118
|
-
autoBuild: true, // Otherwise you can't use the below output
|
|
119
118
|
components: [
|
|
120
119
|
{
|
|
121
120
|
name: 'Install-Monitoring',
|
|
@@ -11,4 +11,4 @@ src/jjrawlins_cdk_ami_builder.egg-info/dependency_links.txt
|
|
|
11
11
|
src/jjrawlins_cdk_ami_builder.egg-info/requires.txt
|
|
12
12
|
src/jjrawlins_cdk_ami_builder.egg-info/top_level.txt
|
|
13
13
|
src/jjrawlins_cdk_ami_builder/_jsii/__init__.py
|
|
14
|
-
src/jjrawlins_cdk_ami_builder/_jsii/cdk-ami-builder@0.0.
|
|
14
|
+
src/jjrawlins_cdk_ami_builder/_jsii/cdk-ami-builder@0.0.66.jsii.tgz
|
jjrawlins_cdk_ami_builder-0.0.11/src/jjrawlins_cdk_ami_builder/_jsii/cdk-ami-builder@0.0.11.jsii.tgz
DELETED
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|