Module Values_0.ResourceSpecSource

Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on. When both SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.

Sourcetype nonrec t = {
  1. sageMakerImageArn : ImageArn.t option;
    (*

    The ARN of the SageMaker AI image that the image version belongs to.

    *)
  2. sageMakerImageVersionArn : ImageVersionArn.t option;
    (*

    The ARN of the image version created on the instance. To clear the value set for SageMakerImageVersionArn, pass None as the value.

    *)
  3. sageMakerImageVersionAlias : ImageVersionAlias.t option;
    (*

    The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.

    *)
  4. instanceType : AppInstanceType.t option;
    (*

    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.

    *)
  5. lifecycleConfigArn : StudioLifecycleConfigArn.t option;
    (*

    The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.

    *)
  6. trainingPlanArn : StudioResourceSpecTrainingPlanArn.t option;
    (*

    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.

    *)
}
Sourceval make : ?sageMakerImageArn:??? -> ?sageMakerImageVersionArn:??? -> ?sageMakerImageVersionAlias:??? -> ?instanceType:??? -> ?lifecycleConfigArn:??? -> ?trainingPlanArn:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of ImageArn.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t