interface ModelPackageDetailsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnModelCard.ModelPackageDetailsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnModelCard_ModelPackageDetailsProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnModelCard.ModelPackageDetailsProperty |
Python | aws_cdk.aws_sagemaker.CfnModelCard.ModelPackageDetailsProperty |
TypeScript | aws-cdk-lib » aws_sagemaker » CfnModelCard » ModelPackageDetailsProperty |
Metadata information related to model package version.
Example
// 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 modelPackageDetailsProperty: sagemaker.CfnModelCard.ModelPackageDetailsProperty = {
approvalDescription: 'approvalDescription',
createdBy: {
userProfileName: 'userProfileName',
},
domain: 'domain',
inferenceSpecification: {
containers: [{
image: 'image',
// the properties below are optional
modelDataUrl: 'modelDataUrl',
nearestModelName: 'nearestModelName',
}],
},
modelApprovalStatus: 'modelApprovalStatus',
modelPackageArn: 'modelPackageArn',
modelPackageDescription: 'modelPackageDescription',
modelPackageGroupName: 'modelPackageGroupName',
modelPackageName: 'modelPackageName',
modelPackageStatus: 'modelPackageStatus',
modelPackageVersion: 123,
sourceAlgorithms: [{
algorithmName: 'algorithmName',
// the properties below are optional
modelDataUrl: 'modelDataUrl',
}],
task: 'task',
};
Properties
Name | Type | Description |
---|---|---|
approval | string | A description provided for the model approval. |
created | IResolvable | Model | |
domain? | string | The machine learning domain of the model package you specified. |
inference | IResolvable | Inference | |
model | string | Current approval status of model package. |
model | string | The Amazon Resource Name (ARN) of the model package. |
model | string | A brief summary of the model package. |
model | string | If the model is a versioned model, the name of the model group that the versioned model belongs to. |
model | string | Name of the model package. |
model | string | Current status of model package. |
model | number | Version of the model package. |
source | IResolvable | IResolvable | Source [] | |
task? | string | The machine learning task you specified that your model package accomplishes. |
approvalDescription?
Type:
string
(optional)
A description provided for the model approval.
createdBy?
Type:
IResolvable
|
Model
(optional)
domain?
Type:
string
(optional)
The machine learning domain of the model package you specified.
Common machine learning domains include computer vision and natural language processing.
inferenceSpecification?
Type:
IResolvable
|
Inference
(optional)
modelApprovalStatus?
Type:
string
(optional)
Current approval status of model package.
modelPackageArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the model package.
modelPackageDescription?
Type:
string
(optional)
A brief summary of the model package.
modelPackageGroupName?
Type:
string
(optional)
If the model is a versioned model, the name of the model group that the versioned model belongs to.
modelPackageName?
Type:
string
(optional)
Name of the model package.
modelPackageStatus?
Type:
string
(optional)
Current status of model package.
modelPackageVersion?
Type:
number
(optional)
Version of the model package.
sourceAlgorithms?
Type:
IResolvable
|
IResolvable
|
Source
[]
(optional)
task?
Type:
string
(optional)
The machine learning task you specified that your model package accomplishes.
Common machine learning tasks include object detection and image classification.