Skip to content
v2.274.0

KernelGatewayImageConfigProperty Struct ​

The configuration for the file system and kernels in a SageMaker AI image running as a KernelGateway app.

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 kernelGatewayImageConfigProperty: sagemaker.CfnAppImageConfig.KernelGatewayImageConfigProperty = {
  kernelSpecs: [{
    name: 'name',

    // the properties below are optional
    displayName: 'displayName',
  }],

  // the properties below are optional
  fileSystemConfig: {
    defaultGid: 123,
    defaultUid: 123,
    mountPath: 'mountPath',
  },
};

Properties ​

fileSystemConfigoptionalIResolvable | CfnAppImageConfig.FileSystemConfigPropertyfile_system_configoptionaltyping.Union[IResolvable, FileSystemConfigProperty]fileSystemConfigoptionalIResolvableFileSystemConfigoptionalIResolvableFileSystemConfigoptionalinterface{}#
The Amazon Elastic File System storage configuration for a SageMaker AI image.
kernelSpecsIResolvable | IResolvable | CfnAppImageConfig.KernelSpecProperty[]kernel_specstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, KernelSpecProperty]]]kernelSpecsIResolvableKernelSpecsIResolvableKernelSpecsinterface{}required#
The specification of the Jupyter kernels in the image.