Skip to content
v2.278.0

DocumentExtractionGranularityProperty Struct ​

Granularity settings for documents.

Example ​

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
# 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
// 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();
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" }
};
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 ​

typesoptionalstring[]typesoptionaltyping.List[str]typesoptionalList<String>Typesoptionalstring[]Typesoptional*[]*string #
Granularity settings for documents.