Skip to content
v2.278.0

DocumentStandardOutputConfigurationProperty Struct ​

Output settings for processing 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 documentStandardOutputConfigurationProperty: bedrock.CfnDataAutomationProject.DocumentStandardOutputConfigurationProperty = {
  extraction: {
    boundingBox: {
      state: 'state',
    },
    granularity: {
      types: ['types'],
    },
  },
  generativeField: {
    state: 'state',
  },
  outputFormat: {
    additionalFileFormat: {
      state: 'state',
    },
    textFormat: {
      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_output_configuration_property = bedrock.CfnDataAutomationProject.DocumentStandardOutputConfigurationProperty(
    extraction=bedrock.CfnDataAutomationProject.DocumentStandardExtractionProperty(
        bounding_box=bedrock.CfnDataAutomationProject.DocumentBoundingBoxProperty(
            state="state"
        ),
        granularity=bedrock.CfnDataAutomationProject.DocumentExtractionGranularityProperty(
            types=["types"]
        )
    ),
    generative_field=bedrock.CfnDataAutomationProject.DocumentStandardGenerativeFieldProperty(
        state="state"
    ),
    output_format=bedrock.CfnDataAutomationProject.DocumentOutputFormatProperty(
        additional_file_format=bedrock.CfnDataAutomationProject.DocumentOutputAdditionalFileFormatProperty(
            state="state"
        ),
        text_format=bedrock.CfnDataAutomationProject.DocumentOutputTextFormatProperty(
            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.*;

DocumentStandardOutputConfigurationProperty documentStandardOutputConfigurationProperty = DocumentStandardOutputConfigurationProperty.builder()
        .extraction(DocumentStandardExtractionProperty.builder()
                .boundingBox(DocumentBoundingBoxProperty.builder()
                        .state("state")
                        .build())
                .granularity(DocumentExtractionGranularityProperty.builder()
                        .types(List.of("types"))
                        .build())
                .build())
        .generativeField(DocumentStandardGenerativeFieldProperty.builder()
                .state("state")
                .build())
        .outputFormat(DocumentOutputFormatProperty.builder()
                .additionalFileFormat(DocumentOutputAdditionalFileFormatProperty.builder()
                        .state("state")
                        .build())
                .textFormat(DocumentOutputTextFormatProperty.builder()
                        .types(List.of("types"))
                        .build())
                .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 documentStandardOutputConfigurationProperty = new DocumentStandardOutputConfigurationProperty {
    Extraction = new DocumentStandardExtractionProperty {
        BoundingBox = new DocumentBoundingBoxProperty {
            State = "state"
        },
        Granularity = new DocumentExtractionGranularityProperty {
            Types = new [] { "types" }
        }
    },
    GenerativeField = new DocumentStandardGenerativeFieldProperty {
        State = "state"
    },
    OutputFormat = new DocumentOutputFormatProperty {
        AdditionalFileFormat = new DocumentOutputAdditionalFileFormatProperty {
            State = "state"
        },
        TextFormat = new DocumentOutputTextFormatProperty {
            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"

documentStandardOutputConfigurationProperty := &DocumentStandardOutputConfigurationProperty{
	Extraction: &DocumentStandardExtractionProperty{
		BoundingBox: &DocumentBoundingBoxProperty{
			State: jsii.String("state"),
		},
		Granularity: &DocumentExtractionGranularityProperty{
			Types: []*string{
				jsii.String("types"),
			},
		},
	},
	GenerativeField: &DocumentStandardGenerativeFieldProperty{
		State: jsii.String("state"),
	},
	OutputFormat: &DocumentOutputFormatProperty{
		AdditionalFileFormat: &DocumentOutputAdditionalFileFormatProperty{
			State: jsii.String("state"),
		},
		TextFormat: &DocumentOutputTextFormatProperty{
			Types: []*string{
				jsii.String("types"),
			},
		},
	},
}

Properties ​

extractionoptionalIResolvable | CfnDataAutomationProject.DocumentStandardExtractionPropertyextractionoptionaltyping.Union[IResolvable, DocumentStandardExtractionProperty]extractionoptionalIResolvableExtractionoptionalIResolvableExtractionoptionalinterface{} #
Settings for populating data fields that describe the document.
generativeFieldoptionalIResolvable | CfnDataAutomationProject.DocumentStandardGenerativeFieldPropertygenerative_fieldoptionaltyping.Union[IResolvable, DocumentStandardGenerativeFieldProperty]generativeFieldoptionalIResolvableGenerativeFieldoptionalIResolvableGenerativeFieldoptionalinterface{} #
Whether to generate descriptions.
outputFormatoptionalIResolvable | CfnDataAutomationProject.DocumentOutputFormatPropertyoutput_formatoptionaltyping.Union[IResolvable, DocumentOutputFormatProperty]outputFormatoptionalIResolvableOutputFormatoptionalIResolvableOutputFormatoptionalinterface{} #
The output format to generate.