LambdaRuntimeProps

class aws_cdk.aws_lambda.LambdaRuntimeProps(*, bundling_docker_image=None, supports_code_guru_profiling=None, supports_inline_code=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

  • 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

ExampleMetadata:

fixture=_generated

Example:

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

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

Attributes

bundling_docker_image

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

Default:
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