Skip to content
v2.278.0

TextDocumentStatisticsProperty Struct ​

Provides information about text documents in an index.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_qbusiness as qbusiness } from 'aws-cdk-lib';
const textDocumentStatisticsProperty: qbusiness.CfnIndex.TextDocumentStatisticsProperty = {
  indexedTextBytes: 123,
  indexedTextDocumentCount: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_qbusiness as qbusiness

text_document_statistics_property = qbusiness.CfnIndex.TextDocumentStatisticsProperty(
    indexed_text_bytes=123,
    indexed_text_document_count=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.qbusiness.*;

TextDocumentStatisticsProperty textDocumentStatisticsProperty = TextDocumentStatisticsProperty.builder()
        .indexedTextBytes(123)
        .indexedTextDocumentCount(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.QBusiness;

var textDocumentStatisticsProperty = new TextDocumentStatisticsProperty {
    IndexedTextBytes = 123,
    IndexedTextDocumentCount = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// 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"

textDocumentStatisticsProperty := &TextDocumentStatisticsProperty{
	IndexedTextBytes: jsii.Number(123),
	IndexedTextDocumentCount: jsii.Number(123),
}

Properties ​

indexedTextBytesoptionalnumberindexed_text_bytesoptionalint | floatindexedTextBytesoptionalNumberIndexedTextBytesoptionaldoubleIndexedTextBytesoptional*float64 #
The total size, in bytes, of the indexed documents.
indexedTextDocumentCountoptionalnumberindexed_text_document_countoptionalint | floatindexedTextDocumentCountoptionalNumberIndexedTextDocumentCountoptionaldoubleIndexedTextDocumentCountoptional*float64 #
The number of text documents indexed.