CfnImageVersionProps

class aws_cdk.aws_sagemaker.CfnImageVersionProps(*, base_image, image_name)

Bases: object

Properties for defining a CfnImageVersion.

Parameters:
  • base_image (str) – The container image that the SageMaker image version is based on. Length Constraints : Minimum length of 1. Maximum length of 255. Pattern : .*

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

Link:

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.
import aws_cdk.aws_sagemaker as sagemaker

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

Attributes

base_image

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

Length Constraints : Minimum length of 1. Maximum length of 255.

Pattern : .*

Link:

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

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

Link:

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