JupyterLabAppImageConfigProperty Struct
The configuration for the file system and kernels in a SageMaker AI image running as a JupyterLab app.
The FileSystemConfig object is not supported.
| Source | |
|---|---|
| Type last changed |
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 jupyterLabAppImageConfigProperty: sagemaker.CfnAppImageConfig.JupyterLabAppImageConfigProperty = {
containerConfig: {
containerArguments: ['containerArguments'],
containerEntrypoint: ['containerEntrypoint'],
containerEnvironmentVariables: [{
key: 'key',
value: 'value',
}],
},
};
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
jupyter_lab_app_image_config_property = sagemaker.CfnAppImageConfig.JupyterLabAppImageConfigProperty(
container_config=sagemaker.CfnAppImageConfig.ContainerConfigProperty(
container_arguments=["containerArguments"],
container_entrypoint=["containerEntrypoint"],
container_environment_variables=[sagemaker.CfnAppImageConfig.CustomImageContainerEnvironmentVariableProperty(
key="key",
value="value"
)]
)
)
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.*;
JupyterLabAppImageConfigProperty jupyterLabAppImageConfigProperty = JupyterLabAppImageConfigProperty.builder()
.containerConfig(ContainerConfigProperty.builder()
.containerArguments(List.of("containerArguments"))
.containerEntrypoint(List.of("containerEntrypoint"))
.containerEnvironmentVariables(List.of(CustomImageContainerEnvironmentVariableProperty.builder()
.key("key")
.value("value")
.build()))
.build())
.build();
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 jupyterLabAppImageConfigProperty = new JupyterLabAppImageConfigProperty {
ContainerConfig = new ContainerConfigProperty {
ContainerArguments = new [] { "containerArguments" },
ContainerEntrypoint = new [] { "containerEntrypoint" },
ContainerEnvironmentVariables = new [] { new CustomImageContainerEnvironmentVariableProperty {
Key = "key",
Value = "value"
} }
}
};
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"
jupyterLabAppImageConfigProperty := &JupyterLabAppImageConfigProperty{
ContainerConfig: &ContainerConfigProperty{
ContainerArguments: []*string{
jsii.String("containerArguments"),
},
ContainerEntrypoint: []*string{
jsii.String("containerEntrypoint"),
},
ContainerEnvironmentVariables: []interface{}{
&CustomImageContainerEnvironmentVariableProperty{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
},
}
Properties
containerConfigoptionalIResolvable | CfnAppImageConfig.container_configoptionaltyping.Union[IResolvable, ContainerConfigProperty]containerConfigoptionalIResolvableContainerConfigoptionalIResolvableContainerConfigoptionalinterface{} #The configuration used to run the application image container.