-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnIndex_ValueImportanceItemProperty.go
28 lines (25 loc) · 1.23 KB
/
CfnIndex_ValueImportanceItemProperty.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
package awskendra
// Specifies a key-value pair of the search boost value for a document when the key is part of the metadata of a document.
//
// 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"
//
// valueImportanceItemProperty := &ValueImportanceItemProperty{
// Key: jsii.String("key"),
// Value: jsii.Number(123),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-valueimportanceitem.html
//
type CfnIndex_ValueImportanceItemProperty struct {
// The document metadata value used for the search boost.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-valueimportanceitem.html#cfn-kendra-index-valueimportanceitem-key
//
Key *string `field:"optional" json:"key" yaml:"key"`
// The boost value for a document when the key is part of the metadata of a document.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-valueimportanceitem.html#cfn-kendra-index-valueimportanceitem-value
//
Value *float64 `field:"optional" json:"value" yaml:"value"`
}