Interface CfnSpace.KernelGatewayAppSettingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSpace.KernelGatewayAppSettingsProperty.Jsii$Proxy
- Enclosing class:
CfnSpace
@Stability(Stable)
public static interface CfnSpace.KernelGatewayAppSettingsProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.sagemaker.*;
KernelGatewayAppSettingsProperty kernelGatewayAppSettingsProperty = KernelGatewayAppSettingsProperty.builder()
.customImages(List.of(CustomImageProperty.builder()
.appImageConfigName("appImageConfigName")
.imageName("imageName")
// the properties below are optional
.imageVersionNumber(123)
.build()))
.defaultResourceSpec(ResourceSpecProperty.builder()
.instanceType("instanceType")
.lifecycleConfigArn("lifecycleConfigArn")
.sageMakerImageArn("sageMakerImageArn")
.sageMakerImageVersionArn("sageMakerImageVersionArn")
.build())
.lifecycleConfigArns(List.of("lifecycleConfigArns"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSpace.KernelGatewayAppSettingsPropertystatic final classAn implementation forCfnSpace.KernelGatewayAppSettingsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA list of custom SageMaker AI images that are configured to run as a KernelGateway app.default ObjectThe default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the KernelGateway app.The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCustomImages
A list of custom SageMaker AI images that are configured to run as a KernelGateway app.The maximum number of custom images are as follows.
- On a domain level: 200
- On a space level: 5
- On a user profile level: 5
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnSpace.CustomImageProperty>- See Also:
-
getDefaultResourceSpec
The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the KernelGateway app.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.
Returns union: either
IResolvableorCfnSpace.ResourceSpecProperty- See Also:
-
getLifecycleConfigArns
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
LifecycleConfigArnsto an empty list.- See Also:
-
builder
-