CfnImageProps Struct
Properties for defining a CfnImage.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const cfnImageProps: sagemaker.CfnImageProps = {
imageName: 'imageName',
imageRoleArn: 'imageRoleArn',
// the properties below are optional
imageDescription: 'imageDescription',
imageDisplayName: 'imageDisplayName',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
imageDescriptionoptionalstringimage_descriptionoptionalstrimageDescriptionoptionalStringImageDescriptionoptionalstringImageDescriptionoptional*string#The description of the image.
imageDisplayNameoptionalstringimage_display_nameoptionalstrimageDisplayNameoptionalStringImageDisplayNameoptionalstringImageDisplayNameoptional*string#The display name of the image.
Length Constraints : Minimum length of 1. Maximum length of 128.
Pattern : ^\S(.*\S)?$
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}$
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+=,.@\-_/]+$