interface KernelGatewayAppSettingsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnDomain.KernelGatewayAppSettingsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnDomain_KernelGatewayAppSettingsProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnDomain.KernelGatewayAppSettingsProperty |
Python | aws_cdk.aws_sagemaker.CfnDomain.KernelGatewayAppSettingsProperty |
TypeScript | aws-cdk-lib » aws_sagemaker » CfnDomain » KernelGatewayAppSettingsProperty |
The KernelGateway app settings.
Example
// 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 kernelGatewayAppSettingsProperty: sagemaker.CfnDomain.KernelGatewayAppSettingsProperty = {
customImages: [{
appImageConfigName: 'appImageConfigName',
imageName: 'imageName',
// the properties below are optional
imageVersionNumber: 123,
}],
defaultResourceSpec: {
instanceType: 'instanceType',
lifecycleConfigArn: 'lifecycleConfigArn',
sageMakerImageArn: 'sageMakerImageArn',
sageMakerImageVersionArn: 'sageMakerImageVersionArn',
},
lifecycleConfigArns: ['lifecycleConfigArns'],
};
Properties
Name | Type | Description |
---|---|---|
custom | IResolvable | IResolvable | Custom [] | A list of custom SageMaker images that are configured to run as a KernelGateway app. |
default | IResolvable | Resource | The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app. |
lifecycle | string[] | The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain. |
customImages?
Type:
IResolvable
|
IResolvable
|
Custom
[]
(optional)
A list of custom SageMaker images that are configured to run as a KernelGateway app.
defaultResourceSpec?
Type:
IResolvable
|
Resource
(optional)
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app.
The Amazon SageMaker 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?
Type:
string[]
(optional)
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.
To remove a Lifecycle Config, you must set
LifecycleConfigArns
to an empty list.