DocumentStandardExtractionProperty Struct
Settings for generating data from documents.
| Source | |
|---|---|
| Type last changed |
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 documentStandardExtractionProperty: bedrock.CfnDataAutomationProject.DocumentStandardExtractionProperty = {
boundingBox: {
state: 'state',
},
granularity: {
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_standard_extraction_property = bedrock.CfnDataAutomationProject.DocumentStandardExtractionProperty(
bounding_box=bedrock.CfnDataAutomationProject.DocumentBoundingBoxProperty(
state="state"
),
granularity=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.*;
DocumentStandardExtractionProperty documentStandardExtractionProperty = DocumentStandardExtractionProperty.builder()
.boundingBox(DocumentBoundingBoxProperty.builder()
.state("state")
.build())
.granularity(DocumentExtractionGranularityProperty.builder()
.types(List.of("types"))
.build())
.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 documentStandardExtractionProperty = new DocumentStandardExtractionProperty {
BoundingBox = new DocumentBoundingBoxProperty {
State = "state"
},
Granularity = 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"
documentStandardExtractionProperty := &DocumentStandardExtractionProperty{
BoundingBox: &DocumentBoundingBoxProperty{
State: jsii.String("state"),
},
Granularity: &DocumentExtractionGranularityProperty{
Types: []*string{
jsii.String("types"),
},
},
}
Properties
boundingBoxIResolvable | CfnDataAutomationProject.bounding_boxtyping.Union[IResolvable, DocumentBoundingBoxProperty]boundingBoxIResolvableBoundingBoxIResolvableBoundingBoxinterface{} required #Whether to generate bounding boxes.
granularityIResolvable | CfnDataAutomationProject.granularitytyping.Union[IResolvable, DocumentExtractionGranularityProperty]granularityIResolvableGranularityIResolvableGranularityinterface{} required #Which granularities to generate data for.