interface DocumentAttributeValueProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Kendra.CfnDataSource.DocumentAttributeValueProperty |
Java | software.amazon.awscdk.services.kendra.CfnDataSource.DocumentAttributeValueProperty |
Python | aws_cdk.aws_kendra.CfnDataSource.DocumentAttributeValueProperty |
TypeScript | @aws-cdk/aws-kendra » CfnDataSource » DocumentAttributeValueProperty |
The value of a document attribute.
You can only provide one value for a document attribute.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as kendra from '@aws-cdk/aws-kendra';
const documentAttributeValueProperty: kendra.CfnDataSource.DocumentAttributeValueProperty = {
dateValue: 'dateValue',
longValue: 123,
stringListValue: ['stringListValue'],
stringValue: 'stringValue',
};
Properties
Name | Type | Description |
---|---|---|
date | string | A date expressed as an ISO 8601 string. |
long | number | A long integer value. |
string | string[] | A list of strings. |
string | string | A string, such as "department". |
dateValue?
Type:
string
(optional)
A date expressed as an ISO 8601 string.
It is important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.
longValue?
Type:
number
(optional)
A long integer value.
stringListValue?
Type:
string[]
(optional)
A list of strings.
The default maximum length or number of strings is 10.
stringValue?
Type:
string
(optional)
A string, such as "department".