# ImageConfigProperty

Configuration values that override the container image Dockerfile settings.

For more information, see [Container image settings](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms) .

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// 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',
};
```

Python:

```python
# 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_

image_config_property = lambda.CfnFunction.ImageConfigProperty(
    command=["command"],
    entry_point=["entryPoint"],
    working_directory="workingDirectory"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lambda.*;

ImageConfigProperty imageConfigProperty = ImageConfigProperty.builder()
        .command(List.of("command"))
        .entryPoint(List.of("entryPoint"))
        .workingDirectory("workingDirectory")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lambda;

var imageConfigProperty = new ImageConfigProperty {
    Command = new [] { "command" },
    EntryPoint = new [] { "entryPoint" },
    WorkingDirectory = "workingDirectory"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

imageConfigProperty := &ImageConfigProperty{
	Command: []*string{
		jsii.String("command"),
	},
	EntryPoint: []*string{
		jsii.String("entryPoint"),
	},
	WorkingDirectory: jsii.String("workingDirectory"),
}
```

## Properties

- `command`: string[] — Specifies parameters that you want to pass in with ENTRYPOINT.

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

- `entryPoint`: string[] — 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`: string — Specifies the working directory.

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