Skip to content
v2.274.0

ContainerConfigProperty Struct ​

The configuration used to run the application image container.

Example ​

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',
  }],
};

Properties ​

containerArgumentsstring[]container_argumentstyping.List[str]containerArgumentsList<String>ContainerArgumentsstring[]ContainerArguments*[]*string#
The arguments for the container when you're running the application.
containerEntrypointstring[]container_entrypointtyping.List[str]containerEntrypointList<String>ContainerEntrypointstring[]ContainerEntrypoint*[]*string#
The entrypoint used to run the application in the container.
containerEnvironmentVariablesIResolvable | IResolvable | CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty[]container_environment_variablestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, CustomImageContainerEnvironmentVariableProperty]]]containerEnvironmentVariablesIResolvableContainerEnvironmentVariablesIResolvableContainerEnvironmentVariablesinterface{}#
The environment variables to set in the container.