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.awsis_variable (
Optional[bool]) β Whether the runtime enum is meant to change over time, IE NODEJS_LATEST. Default: falsesupports_code_guru_profiling (
Optional[bool]) β Whether this runtime is integrated with and supported for profiling using Amazon CodeGuru Profiler. Default: falsesupports_inline_code (
Optional[bool]) β Whether theZipFile(aka inline code) property can be used with this runtime. Default: falsesupports_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:
the latest docker image βamazon/public.ecr.aws/sam/build-β from https://gallery.ecr.aws
- 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