@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.900Z") @Stability(value=Stable) public interface CfnImageProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;
CfnImageProps cfnImageProps = CfnImageProps.builder()
.imageName("imageName")
.imageRoleArn("imageRoleArn")
// the properties below are optional
.imageDescription("imageDescription")
.imageDisplayName("imageDisplayName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnImageProps.Builder
A builder for
CfnImageProps |
static class |
CfnImageProps.Jsii$Proxy
An implementation for
CfnImageProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnImageProps.Builder |
builder() |
default String |
getImageDescription()
The description of the image.
|
default String |
getImageDisplayName()
The display name of the image.
|
String |
getImageName()
The name of the Image.
|
String |
getImageRoleArn()
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.
|
default List<CfnTag> |
getTags()
A list of key-value pairs to apply to this resource.
|
@Stability(value=Stable) @NotNull String getImageName()
Length Constraints : Minimum length of 1. Maximum length of 63.
Pattern : ^[a-zA-Z0-9]([-.]?[a-zA-Z0-9]){0,62}$
@Stability(value=Stable) @NotNull String getImageRoleArn()
Length Constraints : Minimum length of 20. Maximum length of 2048.
Pattern : ^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$
@Stability(value=Stable) @Nullable default String getImageDescription()
Length Constraints : Minimum length of 1. Maximum length of 512.
Pattern : .*
@Stability(value=Stable) @Nullable default String getImageDisplayName()
Length Constraints : Minimum length of 1. Maximum length of 128.
Pattern : ^\S(.*\S)?$
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
Array Members : Minimum number of 0 items. Maximum number of 50 items.
@Stability(value=Stable) static CfnImageProps.Builder builder()
CfnImageProps.Builder of CfnImagePropsCopyright © 2022. All rights reserved.