Class CfnImageProps
Properties for defining a CfnImage
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnImageProps : Object, ICfnImageProps
Syntax (vb)
Public Class CfnImageProps
Inherits Object
Implements ICfnImageProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-image.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;
var cfnImageProps = new CfnImageProps {
ImageName = "imageName",
ImageRoleArn = "imageRoleArn",
// the properties below are optional
ImageDescription = "imageDescription",
ImageDisplayName = "imageDisplayName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
Cfn |
Properties
Image |
The description of the image. |
Image |
The display name of the image. |
Image |
The name of the Image. Must be unique by region in your account. |
Image |
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf. |
Tags | A list of key-value pairs to apply to this resource. |
Constructors
CfnImageProps()
public CfnImageProps()
Properties
ImageDescription
The description of the image.
public string ImageDescription { get; set; }
Property Value
System.
Remarks
ImageDisplayName
The display name of the image.
public string ImageDisplayName { get; set; }
Property Value
System.
Remarks
Length Constraints : Minimum length of 1. Maximum length of 128.
Pattern : ^\S(.*\S)?$
ImageName
The name of the Image. Must be unique by region in your account.
public string ImageName { get; set; }
Property Value
System.
Remarks
Length Constraints : Minimum length of 1. Maximum length of 63.
Pattern : ^a-zA-Z0-9{0,62}$
ImageRoleArn
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.
public string ImageRoleArn { get; set; }
Property Value
System.
Remarks
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
A list of key-value pairs to apply to this resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfn
Remarks
Array Members : Minimum number of 0 items. Maximum number of 50 items.