aws-cdk-lib.aws_kendra.CfnDataSource.DocumentAttributeValueProperty

interface DocumentAttributeValueProperty

LanguageType name
.NETAmazon.CDK.AWS.Kendra.CfnDataSource.DocumentAttributeValueProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awskendra#CfnDataSource_DocumentAttributeValueProperty
Javasoftware.amazon.awscdk.services.kendra.CfnDataSource.DocumentAttributeValueProperty
Pythonaws_cdk.aws_kendra.CfnDataSource.DocumentAttributeValueProperty
TypeScript aws-cdk-lib » 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 { aws_kendra as kendra } from 'aws-cdk-lib';
const documentAttributeValueProperty: kendra.CfnDataSource.DocumentAttributeValueProperty = {
  dateValue: 'dateValue',
  longValue: 123,
  stringListValue: ['stringListValue'],
  stringValue: 'stringValue',
};

Properties

NameTypeDescription
dateValue?stringA date expressed as an ISO 8601 string.
longValue?numberA long integer value.
stringListValue?string[]A list of strings.
stringValue?stringA 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".