ModelPackageContainerDefinition
public struct ModelPackageContainerDefinition : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The DNS host name for the Docker container.
Declaration
Swift
public let containerHostname: String?
-
The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored. If you are using your own custom algorithm instead of an algorithm provided by Amazon SageMaker, the inference code must meet Amazon SageMaker requirements. Amazon SageMaker supports both registry/repository[:tag] and registry/repository[@digest] image path formats. For more information, see Using Your Own Algorithms with Amazon SageMaker.
Declaration
Swift
public let image: String
-
An MD5 hash of the training algorithm that identifies the Docker image used for training.
Declaration
Swift
public let imageDigest: String?
-
The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).
Declaration
Swift
public let modelDataUrl: String?
-
The AWS Marketplace product ID of the model package.
Declaration
Swift
public let productId: String?
-
Undocumented
Declaration
Swift
public init(containerHostname: String? = nil, image: String, imageDigest: String? = nil, modelDataUrl: String? = nil, productId: String? = nil)
-
Declaration
Swift
public func validate(name: String) throws