# TextDocumentStatisticsProperty

Provides information about text documents in an index.

- Source: Generated at build time
- Type last changed: v2.140.0 · 2 May 2024

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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
};
```

Golang:

```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

- `indexedTextBytes`: number — The total size, in bytes, of the indexed documents.

- `indexedTextDocumentCount`: number — The number of text documents indexed.
