Interface ICfnAppImageConfigProps
Properties for defining a CfnAppImageConfig
.
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnAppImageConfigProps
Syntax (vb)
Public Interface ICfnAppImageConfigProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 cfnAppImageConfigProps = new CfnAppImageConfigProps {
AppImageConfigName = "appImageConfigName",
// the properties below are optional
CodeEditorAppImageConfig = new CodeEditorAppImageConfigProperty {
ContainerConfig = new ContainerConfigProperty {
ContainerArguments = new [] { "containerArguments" },
ContainerEntrypoint = new [] { "containerEntrypoint" },
ContainerEnvironmentVariables = new [] { new CustomImageContainerEnvironmentVariableProperty {
Key = "key",
Value = "value"
} }
}
},
JupyterLabAppImageConfig = new JupyterLabAppImageConfigProperty {
ContainerConfig = new ContainerConfigProperty {
ContainerArguments = new [] { "containerArguments" },
ContainerEntrypoint = new [] { "containerEntrypoint" },
ContainerEnvironmentVariables = new [] { new CustomImageContainerEnvironmentVariableProperty {
Key = "key",
Value = "value"
} }
}
},
KernelGatewayImageConfig = new KernelGatewayImageConfigProperty {
KernelSpecs = new [] { new KernelSpecProperty {
Name = "name",
// the properties below are optional
DisplayName = "displayName"
} },
// the properties below are optional
FileSystemConfig = new FileSystemConfigProperty {
DefaultGid = 123,
DefaultUid = 123,
MountPath = "mountPath"
}
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
AppImageConfigName | The name of the AppImageConfig. |
CodeEditorAppImageConfig | The configuration for the file system and the runtime, such as the environment variables and entry point. |
JupyterLabAppImageConfig | The configuration for the file system and the runtime, such as the environment variables and entry point. |
KernelGatewayImageConfig | The configuration for the file system and kernels in the SageMaker image. |
Tags | An array of key-value pairs to apply to this resource. |
Properties
AppImageConfigName
The name of the AppImageConfig.
string AppImageConfigName { get; }
Property Value
System.String
Remarks
CodeEditorAppImageConfig
The configuration for the file system and the runtime, such as the environment variables and entry point.
virtual object CodeEditorAppImageConfig { get; }
Property Value
System.Object
Remarks
JupyterLabAppImageConfig
The configuration for the file system and the runtime, such as the environment variables and entry point.
virtual object JupyterLabAppImageConfig { get; }
Property Value
System.Object
Remarks
KernelGatewayImageConfig
The configuration for the file system and kernels in the SageMaker image.
virtual object KernelGatewayImageConfig { get; }
Property Value
System.Object
Remarks
Tags
An array of key-value pairs to apply to this resource.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]