AWS::SageMaker::ImageVersionCreates a version of the SageMaker image specified by `ImageName` . The version represents the Amazon Container Registry (ECR) container image specified by `BaseImage` . > You can use the `DependsOn` attribute to specify that the creation of a specific resource follows another. You can use it for the following use cases. For more information, see [`DependsOn` attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html) . > > 1. `DependsOn` can be used to establish a parent/child relationship between `ImageVersion` and `Image` where the `ImageVersion` `DependsOn` the `Image` . > > 2. `DependsOn` can be used to establish order among `ImageVersion` s within the same `Image` namespace. For example, if ImageVersionB `DependsOn` ImageVersionA and both share the same parent `Image` , then ImageVersionA is version N and ImageVersionB is N+1.
import { CfnImageVersion } from 'aws-cdk-lib/aws-sagemaker';Or use the module namespace:
import * as sagemaker from 'aws-cdk-lib/aws-sagemaker';
// sagemaker.CfnImageVersionConfiguration passed to the constructor as CfnImageVersionProps.
baseImageRequiredstringThe container image that the SageMaker image version is based on.
imageNameRequiredstringThe name of the parent image. *Length Constraints* : Minimum length of 1. Maximum length of 63. *Pattern* : `^[a-zA-Z0-9]([-.]?[a-zA-Z0-9]){0,62}$`
aliasOptionalstringThe alias of the image version.
aliasesOptionalstring[]List of aliases for the image version.
horovodOptionalboolean | IResolvableIndicates Horovod compatibility.
jobTypeOptionalstringIndicates SageMaker job type compatibility.
mlFrameworkOptionalstringThe machine learning framework vended in the image version.
processorOptionalstringIndicates CPU or GPU compatibility.
programmingLangOptionalstringThe supported programming language and its version.
releaseNotesOptionalstringThe maintainer description of the image version.
vendorGuidanceOptionalstringThe availability of the image version specified by the maintainer.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-sagemakerAWS::SageMaker::ImageVersion