interface DocumentAttributeValueProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Kendra.Mixins.CfnDataSourcePropsMixin.DocumentAttributeValueProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awskendra/mixins#CfnDataSourcePropsMixin_DocumentAttributeValueProperty |
Java | software.amazon.awscdk.mixins.preview.services.kendra.mixins.CfnDataSourcePropsMixin.DocumentAttributeValueProperty |
Python | aws_cdk.mixins_preview.aws_kendra.mixins.CfnDataSourcePropsMixin.DocumentAttributeValueProperty |
TypeScript | @aws-cdk/mixins-preview » aws_kendra » mixins » CfnDataSourcePropsMixin » 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 { mixins as kendra_mixins } from '@aws-cdk/mixins-preview/aws-kendra';
const documentAttributeValueProperty: kendra_mixins.CfnDataSourcePropsMixin.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".

.NET
Go
Java
Python
TypeScript