LambdaRuntimeProps

class aws_cdk.aws_lambda.LambdaRuntimeProps(*, bundling_docker_image=None, is_variable=None, supports_code_guru_profiling=None, supports_inline_code=None, supports_snap_start=None)

Bases: object

Parameters:
  • bundling_docker_image (Optional[str]) – The Docker image name to be used for bundling in this runtime. Default: - the latest docker image “amazon/public.ecr.aws/sam/build-” from https://gallery.ecr.aws

  • is_variable (Optional[bool]) – Whether the runtime enum is meant to change over time, IE NODEJS_LATEST. Default: false

  • supports_code_guru_profiling (Optional[bool]) – Whether this runtime is integrated with and supported for profiling using Amazon CodeGuru Profiler. Default: false

  • supports_inline_code (Optional[bool]) – Whether the ZipFile (aka inline code) property can be used with this runtime. Default: false

  • supports_snap_start (Optional[bool]) – Whether this runtime supports SnapStart. Default: false

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lambda as lambda_

lambda_runtime_props = lambda.LambdaRuntimeProps(
    bundling_docker_image="bundlingDockerImage",
    is_variable=False,
    supports_code_guru_profiling=False,
    supports_inline_code=False,
    supports_snap_start=False
)

Attributes

bundling_docker_image

The Docker image name to be used for bundling in this runtime.

Default:
is_variable

Whether the runtime enum is meant to change over time, IE NODEJS_LATEST.

Default:

false

supports_code_guru_profiling

Whether this runtime is integrated with and supported for profiling using Amazon CodeGuru Profiler.

Default:

false

supports_inline_code

Whether the ZipFile (aka inline code) property can be used with this runtime.

Default:

false

supports_snap_start

Whether this runtime supports SnapStart.

Default:

false