# DocumentExtractionGranularityProperty

Granularity settings for documents.

- Source: Generated at build time
- Type last changed: v2.183.0 · 12 Mar 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const documentExtractionGranularityProperty: bedrock.CfnDataAutomationProject.DocumentExtractionGranularityProperty = {
  types: ['types'],
};
```

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_bedrock as bedrock

document_extraction_granularity_property = bedrock.CfnDataAutomationProject.DocumentExtractionGranularityProperty(
    types=["types"]
)
```

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.bedrock.*;

DocumentExtractionGranularityProperty documentExtractionGranularityProperty = DocumentExtractionGranularityProperty.builder()
        .types(List.of("types"))
        .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.Bedrock;

var documentExtractionGranularityProperty = new DocumentExtractionGranularityProperty {
    Types = new [] { "types" }
};
```

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"

documentExtractionGranularityProperty := &DocumentExtractionGranularityProperty{
	Types: []*string{
		jsii.String("types"),
	},
}
```

## Properties

- `types`: string[] — Granularity settings for documents.
