Skip to content
v2.278.0

DocumentOutputFormatProperty Struct ​

A document output format.

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 documentOutputFormatProperty: bedrock.CfnDataAutomationProject.DocumentOutputFormatProperty = {
  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_output_format_property = 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.*;

DocumentOutputFormatProperty documentOutputFormatProperty = DocumentOutputFormatProperty.builder()
        .additionalFileFormat(DocumentOutputAdditionalFileFormatProperty.builder()
                .state("state")
                .build())
        .textFormat(DocumentOutputTextFormatProperty.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 documentOutputFormatProperty = 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"

documentOutputFormatProperty := &DocumentOutputFormatProperty{
	AdditionalFileFormat: &DocumentOutputAdditionalFileFormatProperty{
		State: jsii.String("state"),
	},
	TextFormat: &DocumentOutputTextFormatProperty{
		Types: []*string{
			jsii.String("types"),
		},
	},
}

Properties ​

additionalFileFormatIResolvable | CfnDataAutomationProject.DocumentOutputAdditionalFileFormatPropertyadditional_file_formattyping.Union[IResolvable, DocumentOutputAdditionalFileFormatProperty]additionalFileFormatIResolvableAdditionalFileFormatIResolvableAdditionalFileFormatinterface{} required #
Output settings for additional file formats.
textFormatIResolvable | CfnDataAutomationProject.DocumentOutputTextFormatPropertytext_formattyping.Union[IResolvable, DocumentOutputTextFormatProperty]textFormatIResolvableTextFormatIResolvableTextFormatinterface{} required #
An output text format.