ResourceSpec

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.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The instance type that the image version runs on.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Functions

Link copied to clipboard
inline fun copy(block: ResourceSpec.Builder.() -> Unit = {}): ResourceSpec
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String