We recommend new projects start with resources from the AWS provider.
aws-native.sagemaker.ImageVersion
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::SageMaker::ImageVersion
Create ImageVersion Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ImageVersion(name: string, args: ImageVersionArgs, opts?: CustomResourceOptions);
@overload
def ImageVersion(resource_name: str,
args: ImageVersionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ImageVersion(resource_name: str,
opts: Optional[ResourceOptions] = None,
base_image: Optional[str] = None,
image_name: Optional[str] = None,
alias: Optional[str] = None,
aliases: Optional[Sequence[str]] = None,
horovod: Optional[bool] = None,
job_type: Optional[ImageVersionJobType] = None,
ml_framework: Optional[str] = None,
processor: Optional[ImageVersionProcessor] = None,
programming_lang: Optional[str] = None,
release_notes: Optional[str] = None,
vendor_guidance: Optional[ImageVersionVendorGuidance] = None,
version: Optional[int] = None)
func NewImageVersion(ctx *Context, name string, args ImageVersionArgs, opts ...ResourceOption) (*ImageVersion, error)
public ImageVersion(string name, ImageVersionArgs args, CustomResourceOptions? opts = null)
public ImageVersion(String name, ImageVersionArgs args)
public ImageVersion(String name, ImageVersionArgs args, CustomResourceOptions options)
type: aws-native:sagemaker:ImageVersion
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ImageVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ImageVersionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ImageVersionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ImageVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ImageVersionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ImageVersion Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ImageVersion resource accepts the following input properties:
- Base
Image string - The container image that the SageMaker image version is based on.
- Image
Name string The 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}$
- Alias string
- Aliases List<string>
- Horovod bool
- Job
Type Pulumi.Aws Native. Sage Maker. Image Version Job Type - Ml
Framework string - Processor
Pulumi.
Aws Native. Sage Maker. Image Version Processor - Programming
Lang string - Release
Notes string - Vendor
Guidance Pulumi.Aws Native. Sage Maker. Image Version Vendor Guidance - Version int
- The version of the image.
- Base
Image string - The container image that the SageMaker image version is based on.
- Image
Name string The 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}$
- Alias string
- Aliases []string
- Horovod bool
- Job
Type ImageVersion Job Type - Ml
Framework string - Processor
Image
Version Processor - Programming
Lang string - Release
Notes string - Vendor
Guidance ImageVersion Vendor Guidance - Version int
- The version of the image.
- base
Image String - The container image that the SageMaker image version is based on.
- image
Name String The 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}$
- alias String
- aliases List<String>
- horovod Boolean
- job
Type ImageVersion Job Type - ml
Framework String - processor
Image
Version Processor - programming
Lang String - release
Notes String - vendor
Guidance ImageVersion Vendor Guidance - version Integer
- The version of the image.
- base
Image string - The container image that the SageMaker image version is based on.
- image
Name string The 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}$
- alias string
- aliases string[]
- horovod boolean
- job
Type ImageVersion Job Type - ml
Framework string - processor
Image
Version Processor - programming
Lang string - release
Notes string - vendor
Guidance ImageVersion Vendor Guidance - version number
- The version of the image.
- base_
image str - The container image that the SageMaker image version is based on.
- image_
name str The 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}$
- alias str
- aliases Sequence[str]
- horovod bool
- job_
type ImageVersion Job Type - ml_
framework str - processor
Image
Version Processor - programming_
lang str - release_
notes str - vendor_
guidance ImageVersion Vendor Guidance - version int
- The version of the image.
- base
Image String - The container image that the SageMaker image version is based on.
- image
Name String The 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}$
- alias String
- aliases List<String>
- horovod Boolean
- job
Type "TRAINING" | "INFERENCE" | "NOTEBOOK_KERNEL" - ml
Framework String - processor "CPU" | "GPU"
- programming
Lang String - release
Notes String - vendor
Guidance "NOT_PROVIDED" | "STABLE" | "TO_BE_ARCHIVED" | "ARCHIVED" - version Number
- The version of the image.
Outputs
All input properties are implicitly available as output properties. Additionally, the ImageVersion resource produces the following output properties:
- Container
Image string - The URI of the container image version referenced by ImageVersion.
- Id string
- The provider-assigned unique ID for this managed resource.
- Image
Arn string - The Amazon Resource Name (ARN) of the parent Image.
- Image
Version stringArn The Amazon Resource Name (ARN) of the image version.
Type : String
Length Constraints : Maximum length of 256.
Pattern :
^arn:aws(-[\w]+)*:sagemaker:.+:[0-9]{12}:image-version/[a-z0-9]([-.]?[a-z0-9])*/[0-9]+$
- Container
Image string - The URI of the container image version referenced by ImageVersion.
- Id string
- The provider-assigned unique ID for this managed resource.
- Image
Arn string - The Amazon Resource Name (ARN) of the parent Image.
- Image
Version stringArn The Amazon Resource Name (ARN) of the image version.
Type : String
Length Constraints : Maximum length of 256.
Pattern :
^arn:aws(-[\w]+)*:sagemaker:.+:[0-9]{12}:image-version/[a-z0-9]([-.]?[a-z0-9])*/[0-9]+$
- container
Image String - The URI of the container image version referenced by ImageVersion.
- id String
- The provider-assigned unique ID for this managed resource.
- image
Arn String - The Amazon Resource Name (ARN) of the parent Image.
- image
Version StringArn The Amazon Resource Name (ARN) of the image version.
Type : String
Length Constraints : Maximum length of 256.
Pattern :
^arn:aws(-[\w]+)*:sagemaker:.+:[0-9]{12}:image-version/[a-z0-9]([-.]?[a-z0-9])*/[0-9]+$
- container
Image string - The URI of the container image version referenced by ImageVersion.
- id string
- The provider-assigned unique ID for this managed resource.
- image
Arn string - The Amazon Resource Name (ARN) of the parent Image.
- image
Version stringArn The Amazon Resource Name (ARN) of the image version.
Type : String
Length Constraints : Maximum length of 256.
Pattern :
^arn:aws(-[\w]+)*:sagemaker:.+:[0-9]{12}:image-version/[a-z0-9]([-.]?[a-z0-9])*/[0-9]+$
- container_
image str - The URI of the container image version referenced by ImageVersion.
- id str
- The provider-assigned unique ID for this managed resource.
- image_
arn str - The Amazon Resource Name (ARN) of the parent Image.
- image_
version_ strarn The Amazon Resource Name (ARN) of the image version.
Type : String
Length Constraints : Maximum length of 256.
Pattern :
^arn:aws(-[\w]+)*:sagemaker:.+:[0-9]{12}:image-version/[a-z0-9]([-.]?[a-z0-9])*/[0-9]+$
- container
Image String - The URI of the container image version referenced by ImageVersion.
- id String
- The provider-assigned unique ID for this managed resource.
- image
Arn String - The Amazon Resource Name (ARN) of the parent Image.
- image
Version StringArn The Amazon Resource Name (ARN) of the image version.
Type : String
Length Constraints : Maximum length of 256.
Pattern :
^arn:aws(-[\w]+)*:sagemaker:.+:[0-9]{12}:image-version/[a-z0-9]([-.]?[a-z0-9])*/[0-9]+$
Supporting Types
ImageVersionJobType, ImageVersionJobTypeArgs
- Training
- TRAINING
- Inference
- INFERENCE
- Notebook
Kernel - NOTEBOOK_KERNEL
- Image
Version Job Type Training - TRAINING
- Image
Version Job Type Inference - INFERENCE
- Image
Version Job Type Notebook Kernel - NOTEBOOK_KERNEL
- Training
- TRAINING
- Inference
- INFERENCE
- Notebook
Kernel - NOTEBOOK_KERNEL
- Training
- TRAINING
- Inference
- INFERENCE
- Notebook
Kernel - NOTEBOOK_KERNEL
- TRAINING
- TRAINING
- INFERENCE
- INFERENCE
- NOTEBOOK_KERNEL
- NOTEBOOK_KERNEL
- "TRAINING"
- TRAINING
- "INFERENCE"
- INFERENCE
- "NOTEBOOK_KERNEL"
- NOTEBOOK_KERNEL
ImageVersionProcessor, ImageVersionProcessorArgs
- Cpu
- CPU
- Gpu
- GPU
- Image
Version Processor Cpu - CPU
- Image
Version Processor Gpu - GPU
- Cpu
- CPU
- Gpu
- GPU
- Cpu
- CPU
- Gpu
- GPU
- CPU
- CPU
- GPU
- GPU
- "CPU"
- CPU
- "GPU"
- GPU
ImageVersionVendorGuidance, ImageVersionVendorGuidanceArgs
- Not
Provided - NOT_PROVIDED
- Stable
- STABLE
- To
Be Archived - TO_BE_ARCHIVED
- Archived
- ARCHIVED
- Image
Version Vendor Guidance Not Provided - NOT_PROVIDED
- Image
Version Vendor Guidance Stable - STABLE
- Image
Version Vendor Guidance To Be Archived - TO_BE_ARCHIVED
- Image
Version Vendor Guidance Archived - ARCHIVED
- Not
Provided - NOT_PROVIDED
- Stable
- STABLE
- To
Be Archived - TO_BE_ARCHIVED
- Archived
- ARCHIVED
- Not
Provided - NOT_PROVIDED
- Stable
- STABLE
- To
Be Archived - TO_BE_ARCHIVED
- Archived
- ARCHIVED
- NOT_PROVIDED
- NOT_PROVIDED
- STABLE
- STABLE
- TO_BE_ARCHIVED
- TO_BE_ARCHIVED
- ARCHIVED
- ARCHIVED
- "NOT_PROVIDED"
- NOT_PROVIDED
- "STABLE"
- STABLE
- "TO_BE_ARCHIVED"
- TO_BE_ARCHIVED
- "ARCHIVED"
- ARCHIVED
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.