interface LambdaRuntimeProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lambda.LambdaRuntimeProps |
![]() | software.amazon.awscdk.services.lambda.LambdaRuntimeProps |
![]() | aws_cdk.aws_lambda.LambdaRuntimeProps |
![]() | @aws-cdk/aws-lambda » LambdaRuntimeProps |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as lambda from '@aws-cdk/aws-lambda';
const lambdaRuntimeProps: lambda.LambdaRuntimeProps = {
bundlingDockerImage: 'bundlingDockerImage',
supportsCodeGuruProfiling: false,
supportsInlineCode: false,
};
Properties
Name | Type | Description |
---|---|---|
bundling | string | The Docker image name to be used for bundling in this runtime. |
supports | boolean | Whether this runtime is integrated with and supported for profiling using Amazon CodeGuru Profiler. |
supports | boolean | Whether the ZipFile (aka inline code) property can be used with this runtime. |
bundlingDockerImage?
Type:
string
(optional, default: the latest docker image "amazon/public.ecr.aws/sam/build-
The Docker image name to be used for bundling in this runtime.
supportsCodeGuruProfiling?
Type:
boolean
(optional, default: false)
Whether this runtime is integrated with and supported for profiling using Amazon CodeGuru Profiler.
supportsInlineCode?
Type:
boolean
(optional, default: false)
Whether the ZipFile
(aka inline code) property can be used with this runtime.