aws-cdk-lib.aws_lambda.CfnFunction.ImageConfigProperty

interface ImageConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.Lambda.CfnFunction.ImageConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslambda#CfnFunction_ImageConfigProperty
Javasoftware.amazon.awscdk.services.lambda.CfnFunction.ImageConfigProperty
Pythonaws_cdk.aws_lambda.CfnFunction.ImageConfigProperty
TypeScript aws-cdk-lib » aws_lambda » CfnFunction » ImageConfigProperty

Configuration values that override the container image Dockerfile settings.

For more information, see Container image settings .

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const imageConfigProperty: lambda.CfnFunction.ImageConfigProperty = {
  command: ['command'],
  entryPoint: ['entryPoint'],
  workingDirectory: 'workingDirectory',
};

Properties

NameTypeDescription
command?string[]Specifies parameters that you want to pass in with ENTRYPOINT.
entryPoint?string[]Specifies the entry point to their application, which is typically the location of the runtime executable.
workingDirectory?stringSpecifies the working directory.

command?

Type: string[] (optional)

Specifies parameters that you want to pass in with ENTRYPOINT.

You can specify a maximum of 1,500 parameters in the list.


entryPoint?

Type: string[] (optional)

Specifies the entry point to their application, which is typically the location of the runtime executable.

You can specify a maximum of 1,500 string entries in the list.


workingDirectory?

Type: string (optional)

Specifies the working directory.

The length of the directory string cannot exceed 1,000 characters.