Class CfnSpacePropsMixin.KernelGatewayAppSettingsProperty
The KernelGateway app settings.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnSpacePropsMixin.KernelGatewayAppSettingsProperty : CfnSpacePropsMixin.IKernelGatewayAppSettingsProperty
Syntax (vb)
Public Class CfnSpacePropsMixin.KernelGatewayAppSettingsProperty Implements CfnSpacePropsMixin.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.Mixins.Preview.AWS.SageMaker.Mixins;
var kernelGatewayAppSettingsProperty = new KernelGatewayAppSettingsProperty {
CustomImages = new [] { new CustomImageProperty {
AppImageConfigName = "appImageConfigName",
ImageName = "imageName",
ImageVersionNumber = 123
} },
DefaultResourceSpec = new ResourceSpecProperty {
InstanceType = "instanceType",
LifecycleConfigArn = "lifecycleConfigArn",
SageMakerImageArn = "sageMakerImageArn",
SageMakerImageVersionArn = "sageMakerImageVersionArn"
},
LifecycleConfigArns = new [] { "lifecycleConfigArns" }
};
Synopsis
Constructors
| KernelGatewayAppSettingsProperty() | The KernelGateway app settings. |
Properties
| CustomImages | A list of custom SageMaker AI images that are configured to run as a KernelGateway app. |
| DefaultResourceSpec | The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the KernelGateway app. |
| LifecycleConfigArns | The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain. |
Constructors
KernelGatewayAppSettingsProperty()
The KernelGateway app settings.
public KernelGatewayAppSettingsProperty()
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.Mixins.Preview.AWS.SageMaker.Mixins;
var kernelGatewayAppSettingsProperty = new KernelGatewayAppSettingsProperty {
CustomImages = new [] { new CustomImageProperty {
AppImageConfigName = "appImageConfigName",
ImageName = "imageName",
ImageVersionNumber = 123
} },
DefaultResourceSpec = new ResourceSpecProperty {
InstanceType = "instanceType",
LifecycleConfigArn = "lifecycleConfigArn",
SageMakerImageArn = "sageMakerImageArn",
SageMakerImageVersionArn = "sageMakerImageVersionArn"
},
LifecycleConfigArns = new [] { "lifecycleConfigArns" }
};
Properties
CustomImages
A list of custom SageMaker AI images that are configured to run as a KernelGateway app.
public object? CustomImages { get; set; }
Property Value
Remarks
The maximum number of custom images are as follows.
Type union: either IResolvable or (either IResolvable or CfnSpacePropsMixin.ICustomImageProperty)[]
DefaultResourceSpec
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the KernelGateway app.
public object? DefaultResourceSpec { get; set; }
Property Value
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 CloudFormation and the instance type parameter value is not passed.
Type union: either IResolvable or CfnSpacePropsMixin.IResourceSpecProperty
LifecycleConfigArns
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.
public string[]? LifecycleConfigArns { get; set; }
Property Value
string[]
Remarks
To remove a Lifecycle Config, you must set <code>LifecycleConfigArns</code> to an empty list.