# ContainerConfigProperty

The configuration used to run the application image container.

- Source: Generated at build time
- Type last changed: v2.127.0 · 10 Feb 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const containerConfigProperty: sagemaker.CfnAppImageConfig.ContainerConfigProperty = {
  containerArguments: ['containerArguments'],
  containerEntrypoint: ['containerEntrypoint'],
  containerEnvironmentVariables: [{
    key: 'key',
    value: 'value',
  }],
};
```

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_sagemaker as sagemaker

container_config_property = sagemaker.CfnAppImageConfig.ContainerConfigProperty(
    container_arguments=["containerArguments"],
    container_entrypoint=["containerEntrypoint"],
    container_environment_variables=[sagemaker.CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty(
        key="key",
        value="value"
    )]
)
```

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.sagemaker.*;

ContainerConfigProperty containerConfigProperty = ContainerConfigProperty.builder()
        .containerArguments(List.of("containerArguments"))
        .containerEntrypoint(List.of("containerEntrypoint"))
        .containerEnvironmentVariables(List.of(CustomImageContainerEnvironmentVariableProperty.builder()
                .key("key")
                .value("value")
                .build()))
        .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.Sagemaker;

var containerConfigProperty = new ContainerConfigProperty {
    ContainerArguments = new [] { "containerArguments" },
    ContainerEntrypoint = new [] { "containerEntrypoint" },
    ContainerEnvironmentVariables = new [] { new CustomImageContainerEnvironmentVariableProperty {
        Key = "key",
        Value = "value"
    } }
};
```

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"

containerConfigProperty := &ContainerConfigProperty{
	ContainerArguments: []*string{
		jsii.String("containerArguments"),
	},
	ContainerEntrypoint: []*string{
		jsii.String("containerEntrypoint"),
	},
	ContainerEnvironmentVariables: []interface{}{
		&CustomImageContainerEnvironmentVariableProperty{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `containerArguments`: string[] — The arguments for the container when you're running the application.

- `containerEntrypoint`: string[] — The entrypoint used to run the application in the container.

- `containerEnvironmentVariables`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty.html)[] — The environment variables to set in the container.
