ResourceSpec
¶
Used by
-
AsyncSageMakerClient Operationscreate_app -
SageMakerClient Operationscreate_app
Source code in docs_src/capo_sagemaker/types/resource_spec.py
instance_type
instance-attribute
¶
instance_type: NotRequired[AppInstanceType]
The instance type that the image version runs on.
JupyterServer apps only support the system value.
For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.
lifecycle_config_arn
instance-attribute
¶
lifecycle_config_arn: NotRequired[StudioLifecycleConfigArn]
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
sage_maker_image_arn
instance-attribute
¶
sage_maker_image_arn: NotRequired[ImageArn]
The ARN of the SageMaker AI image that the image version belongs to.
sage_maker_image_version_alias
instance-attribute
¶
sage_maker_image_version_alias: NotRequired[ImageVersionAlias]
The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.
sage_maker_image_version_arn
instance-attribute
¶
sage_maker_image_version_arn: NotRequired[ImageVersionArn]
The ARN of the image version created on the instance. To clear the value set for SageMakerImageVersionArn, pass None as the value.
training_plan_arn
instance-attribute
¶
training_plan_arn: NotRequired[StudioResourceSpecTrainingPlanArn]
The ARN of the SageMaker AI Training Plan to use for this app. When you specify a training plan, the app launches on reserved GPU capacity. This field is supported for JupyterLab and CodeEditor app types.
For more information about how to reserve GPU capacity with SageMaker AI Training Plans, see Using training plans in Studio applications.