-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnFlywheel_DocumentClassificationConfigProperty.go
32 lines (29 loc) · 1.38 KB
/
CfnFlywheel_DocumentClassificationConfigProperty.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
package awscomprehend
// Configuration required for a document classification model.
//
// 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"
//
// documentClassificationConfigProperty := &DocumentClassificationConfigProperty{
// Mode: jsii.String("mode"),
//
// // the properties below are optional
// Labels: []*string{
// jsii.String("labels"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-comprehend-flywheel-documentclassificationconfig.html
//
type CfnFlywheel_DocumentClassificationConfigProperty struct {
// Classification mode indicates whether the documents are `MULTI_CLASS` or `MULTI_LABEL` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-comprehend-flywheel-documentclassificationconfig.html#cfn-comprehend-flywheel-documentclassificationconfig-mode
//
Mode *string `field:"required" json:"mode" yaml:"mode"`
// One or more labels to associate with the custom classifier.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-comprehend-flywheel-documentclassificationconfig.html#cfn-comprehend-flywheel-documentclassificationconfig-labels
//
Labels *[]*string `field:"optional" json:"labels" yaml:"labels"`
}