Skip to content
v2.278.0

OutputProperty Struct ​

Represents options that specify how and where in Amazon S3 DataBrew writes the output generated by recipe jobs or profile jobs.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_databrew as databrew } from 'aws-cdk-lib';
const outputProperty: databrew.CfnJob.OutputProperty = {
  location: {
    bucket: 'bucket',

    // the properties below are optional
    bucketOwner: 'bucketOwner',
    key: 'key',
  },

  // the properties below are optional
  compressionFormat: 'compressionFormat',
  format: 'format',
  formatOptions: {
    csv: {
      delimiter: 'delimiter',
    },
  },
  maxOutputFiles: 123,
  overwrite: false,
  partitionColumns: ['partitionColumns'],
};
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_databrew as databrew

output_property = databrew.CfnJob.OutputProperty(
    location=databrew.CfnJob.S3LocationProperty(
        bucket="bucket",

        # the properties below are optional
        bucket_owner="bucketOwner",
        key="key"
    ),

    # the properties below are optional
    compression_format="compressionFormat",
    format="format",
    format_options=databrew.CfnJob.OutputFormatOptionsProperty(
        csv=databrew.CfnJob.CsvOutputOptionsProperty(
            delimiter="delimiter"
        )
    ),
    max_output_files=123,
    overwrite=False,
    partition_columns=["partitionColumns"]
)
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.databrew.*;

OutputProperty outputProperty = OutputProperty.builder()
        .location(S3LocationProperty.builder()
                .bucket("bucket")

                // the properties below are optional
                .bucketOwner("bucketOwner")
                .key("key")
                .build())

        // the properties below are optional
        .compressionFormat("compressionFormat")
        .format("format")
        .formatOptions(OutputFormatOptionsProperty.builder()
                .csv(CsvOutputOptionsProperty.builder()
                        .delimiter("delimiter")
                        .build())
                .build())
        .maxOutputFiles(123)
        .overwrite(false)
        .partitionColumns(List.of("partitionColumns"))
        .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.DataBrew;

var outputProperty = new OutputProperty {
    Location = new S3LocationProperty {
        Bucket = "bucket",

        // the properties below are optional
        BucketOwner = "bucketOwner",
        Key = "key"
    },

    // the properties below are optional
    CompressionFormat = "compressionFormat",
    Format = "format",
    FormatOptions = new OutputFormatOptionsProperty {
        Csv = new CsvOutputOptionsProperty {
            Delimiter = "delimiter"
        }
    },
    MaxOutputFiles = 123,
    Overwrite = false,
    PartitionColumns = new [] { "partitionColumns" }
};
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"

outputProperty := &OutputProperty{
	Location: &S3LocationProperty{
		Bucket: jsii.String("bucket"),

		// the properties below are optional
		BucketOwner: jsii.String("bucketOwner"),
		Key: jsii.String("key"),
	},

	// the properties below are optional
	CompressionFormat: jsii.String("compressionFormat"),
	Format: jsii.String("format"),
	FormatOptions: &OutputFormatOptionsProperty{
		Csv: &CsvOutputOptionsProperty{
			Delimiter: jsii.String("delimiter"),
		},
	},
	MaxOutputFiles: jsii.Number(123),
	Overwrite: jsii.Boolean(false),
	PartitionColumns: []*string{
		jsii.String("partitionColumns"),
	},
}

Properties ​

compressionFormatoptionalstringcompression_formatoptionalstrcompressionFormatoptionalStringCompressionFormatoptionalstringCompressionFormatoptional*string #
The compression algorithm used to compress the output text of the job.
formatoptionalstringformatoptionalstrformatoptionalStringFormatoptionalstringFormatoptional*string #
The data format of the output of the job.
formatOptionsoptionalIResolvable | CfnJob.OutputFormatOptionsPropertyformat_optionsoptionaltyping.Union[IResolvable, OutputFormatOptionsProperty]formatOptionsoptionalIResolvableFormatOptionsoptionalIResolvableFormatOptionsoptionalinterface{} #
Represents options that define how DataBrew formats job output files.
locationIResolvable | CfnJob.S3LocationPropertylocationtyping.Union[IResolvable, S3LocationProperty]locationIResolvableLocationIResolvableLocationinterface{} required #
The location in Amazon S3 where the job writes its output.
maxOutputFilesoptionalnumbermax_output_filesoptionalint | floatmaxOutputFilesoptionalNumberMaxOutputFilesoptionaldoubleMaxOutputFilesoptional*float64 #
The maximum number of files to be generated by the job and written to the output folder.
overwriteoptionalboolean | IResolvableoverwriteoptionaltyping.Union[bool, IResolvable]overwriteoptionalBooleanOverwriteoptionalboolOverwriteoptionalinterface{} #
A value that, if true, means that any data in the location specified for output is overwritten with new output.
partitionColumnsoptionalstring[]partition_columnsoptionaltyping.List[str]partitionColumnsoptionalList<String>PartitionColumnsoptionalstring[]PartitionColumnsoptional*[]*string #
The names of one or more partition columns for the output of the job.