Interface CfnSpace.IKernelGatewayAppSettingsProperty
The KernelGateway app settings.
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IKernelGatewayAppSettingsProperty
Syntax (vb)
Public Interface IKernelGatewayAppSettingsProperty
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 kernelGatewayAppSettingsProperty = new KernelGatewayAppSettingsProperty {
CustomImages = new [] { new CustomImageProperty {
AppImageConfigName = "appImageConfigName",
ImageName = "imageName",
// the properties below are optional
ImageVersionNumber = 123
} },
DefaultResourceSpec = new ResourceSpecProperty {
InstanceType = "instanceType",
LifecycleConfigArn = "lifecycleConfigArn",
SageMakerImageArn = "sageMakerImageArn",
SageMakerImageVersionArn = "sageMakerImageVersionArn"
},
LifecycleConfigArns = new [] { "lifecycleConfigArns" }
};
Synopsis
Properties
Custom |
A list of custom SageMaker AI images that are configured to run as a KernelGateway app. |
Default |
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the KernelGateway app. |
Lifecycle |
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain. |
Properties
CustomImages
A list of custom SageMaker AI images that are configured to run as a KernelGateway app.
virtual object CustomImages { get; }
Property Value
System.
Remarks
The maximum number of custom images are as follows.
DefaultResourceSpec
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the KernelGateway app.
virtual object DefaultResourceSpec { get; }
Property Value
System.
Remarks
The Amazon SageMaker AI Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the AWS CLI or AWS CloudFormation and the instance type parameter value is not passed.
LifecycleConfigArns
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.
virtual string[] LifecycleConfigArns { get; }
Property Value
System.
Remarks
To remove a Lifecycle Config, you must set LifecycleConfigArns
to an empty list.