CfnImageVersionProps

class aws_cdk.aws_sagemaker.CfnImageVersionProps(*, base_image, image_name, alias=None, aliases=None, horovod=None, job_type=None, ml_framework=None, processor=None, programming_lang=None, release_notes=None, vendor_guidance=None)

Bases: object

Properties for defining a CfnImageVersion.

Parameters:
  • 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 (Optional[str]) – The alias of the image version.

  • aliases (Optional[Sequence[str]]) – List of aliases for the image version.

  • horovod (Union[bool, IResolvable, None]) – Indicates Horovod compatibility.

  • job_type (Optional[str]) – Indicates SageMaker job type compatibility.

  • ml_framework (Optional[str]) – The machine learning framework vended in the image version.

  • processor (Optional[str]) – Indicates CPU or GPU compatibility.

  • programming_lang (Optional[str]) – The supported programming language and its version.

  • release_notes (Optional[str]) – The maintainer description of the image version.

  • vendor_guidance (Optional[str]) – The availability of the image version specified by the maintainer.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker

cfn_image_version_props = sagemaker.CfnImageVersionProps(
    base_image="baseImage",
    image_name="imageName",

    # the properties below are optional
    alias="alias",
    aliases=["aliases"],
    horovod=False,
    job_type="jobType",
    ml_framework="mlFramework",
    processor="processor",
    programming_lang="programmingLang",
    release_notes="releaseNotes",
    vendor_guidance="vendorGuidance"
)

Attributes

alias

The alias of the image version.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html#cfn-sagemaker-imageversion-alias

aliases

List of aliases for the image version.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html#cfn-sagemaker-imageversion-aliases

base_image

The container image that the SageMaker image version is based on.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html#cfn-sagemaker-imageversion-baseimage

horovod

Indicates Horovod compatibility.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html#cfn-sagemaker-imageversion-horovod

image_name

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}$

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html#cfn-sagemaker-imageversion-imagename

job_type

Indicates SageMaker job type compatibility.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html#cfn-sagemaker-imageversion-jobtype

ml_framework

The machine learning framework vended in the image version.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html#cfn-sagemaker-imageversion-mlframework

processor

Indicates CPU or GPU compatibility.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html#cfn-sagemaker-imageversion-processor

programming_lang

The supported programming language and its version.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html#cfn-sagemaker-imageversion-programminglang

release_notes

The maintainer description of the image version.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html#cfn-sagemaker-imageversion-releasenotes

vendor_guidance

The availability of the image version specified by the maintainer.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html#cfn-sagemaker-imageversion-vendorguidance