@Stability(value=Stable)
public static interface CfnModelPackage.SourceAlgorithmProperty
extends software.amazon.jsii.JsiiSerializable
The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in AWS Marketplace that you are subscribed to.
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.*;
SourceAlgorithmProperty sourceAlgorithmProperty = SourceAlgorithmProperty.builder()
.algorithmName("algorithmName")
// the properties below are optional
.modelDataUrl("modelDataUrl")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnModelPackage.SourceAlgorithmProperty.Builder
A builder for
CfnModelPackage.SourceAlgorithmProperty |
static class |
CfnModelPackage.SourceAlgorithmProperty.Jsii$Proxy
An implementation for
CfnModelPackage.SourceAlgorithmProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnModelPackage.SourceAlgorithmProperty.Builder |
builder() |
String |
getAlgorithmName()
The name of an algorithm that was used to create the model package.
|
default String |
getModelDataUrl()
The Amazon S3 path where the model artifacts, which result from model training, are stored.
|
@Stability(value=Stable) @NotNull String getAlgorithmName()
The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in AWS Marketplace that you are subscribed to.
@Stability(value=Stable) @Nullable default String getModelDataUrl()
This path must point to a single gzip compressed tar archive ( .tar.gz suffix).
The model artifacts must be in an S3 bucket that is in the same region as the algorithm.
@Stability(value=Stable) static CfnModelPackage.SourceAlgorithmProperty.Builder builder()
Copyright © 2022. All rights reserved.