/
CfnModelCard_SourceAlgorithmProperty.go
38 lines (35 loc) · 1.83 KB
/
CfnModelCard_SourceAlgorithmProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package awssagemaker
// Specifies an algorithm that was used to create the model package.
//
// 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 "github.com/aws/aws-cdk-go/awscdk"
//
// sourceAlgorithmProperty := &SourceAlgorithmProperty{
// AlgorithmName: jsii.String("algorithmName"),
//
// // the properties below are optional
// ModelDataUrl: jsii.String("modelDataUrl"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-sourcealgorithm.html
//
type CfnModelCard_SourceAlgorithmProperty struct {
// The name of an algorithm that was used to create the model package.
//
// The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in AWS Marketplace that you are subscribed to.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-sourcealgorithm.html#cfn-sagemaker-modelcard-sourcealgorithm-algorithmname
//
AlgorithmName *string `field:"required" json:"algorithmName" yaml:"algorithmName"`
// 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).
//
// > The model artifacts must be in an S3 bucket that is in the same AWS region as the algorithm.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-sourcealgorithm.html#cfn-sagemaker-modelcard-sourcealgorithm-modeldataurl
//
ModelDataUrl *string `field:"optional" json:"modelDataUrl" yaml:"modelDataUrl"`
}