CfnImageMixinProps

class aws_cdk.mixins_preview.aws_sagemaker.mixins.CfnImageMixinProps(*, image_description=None, image_display_name=None, image_name=None, image_role_arn=None, tags=None)

Bases: object

Properties for CfnImagePropsMixin.

Parameters:
  • image_description (Optional[str]) – The description of the image.

  • image_display_name (Optional[str]) – The display name of the image. Length Constraints : Minimum length of 1. Maximum length of 128. Pattern : ^\S(.*\S)?$

  • image_name (Optional[str]) – The name of the Image. Must be unique by region in your account. Length Constraints : Minimum length of 1. Maximum length of 63. Pattern : ^[a-zA-Z0-9]([-.]?[a-zA-Z0-9]){0,62}$

  • image_role_arn (Optional[str]) – The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf. Length Constraints : Minimum length of 20. Maximum length of 2048. Pattern : ^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – A list of key-value pairs to apply to this resource. Array Members : Minimum number of 0 items. Maximum number of 50 items.

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

cfn_image_mixin_props = sagemaker_mixins.CfnImageMixinProps(
    image_description="imageDescription",
    image_display_name="imageDisplayName",
    image_name="imageName",
    image_role_arn="imageRoleArn",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

image_description

The description of the image.

See:

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

image_display_name

The display name of the image.

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

Pattern : ^\S(.*\S)?$

See:

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

image_name

The name of the Image. Must be unique by region in your account.

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-image.html#cfn-sagemaker-image-imagename

image_role_arn

The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.

Length Constraints : Minimum length of 20. Maximum length of 2048.

Pattern : ^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$

See:

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

tags

A list of key-value pairs to apply to this resource.

Array Members : Minimum number of 0 items. Maximum number of 50 items.

See:

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