DataFormatProps Struct
Properties of a DataFormat instance.
| Source | aws-glue/lib/data-format.ts |
|---|---|
| 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_glue as glue } from 'aws-cdk-lib';
declare const classificationString: glue.ClassificationString;
declare const inputFormat: glue.InputFormat;
declare const outputFormat: glue.OutputFormat;
declare const serializationLibrary: glue.SerializationLibrary;
const dataFormatProps: glue.DataFormatProps = {
inputFormat: inputFormat,
outputFormat: outputFormat,
serializationLibrary: serializationLibrary,
// the properties below are optional
classificationString: classificationString,
};
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_glue as glue
# classification_string: glue.ClassificationString
# input_format: glue.InputFormat
# output_format: glue.OutputFormat
# serialization_library: glue.SerializationLibrary
data_format_props = glue.DataFormatProps(
input_format=input_format,
output_format=output_format,
serialization_library=serialization_library,
# the properties below are optional
classification_string=classification_string
)
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.glue.*;
ClassificationString classificationString;
InputFormat inputFormat;
OutputFormat outputFormat;
SerializationLibrary serializationLibrary;
DataFormatProps dataFormatProps = DataFormatProps.builder()
.inputFormat(inputFormat)
.outputFormat(outputFormat)
.serializationLibrary(serializationLibrary)
// the properties below are optional
.classificationString(classificationString)
.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.Glue;
ClassificationString classificationString;
InputFormat inputFormat;
OutputFormat outputFormat;
SerializationLibrary serializationLibrary;
var dataFormatProps = new DataFormatProps {
InputFormat = inputFormat,
OutputFormat = outputFormat,
SerializationLibrary = serializationLibrary,
// the properties below are optional
ClassificationString = classificationString
};
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"
var classificationString ClassificationString
var inputFormat InputFormat
var outputFormat OutputFormat
var serializationLibrary SerializationLibrary
dataFormatProps := &DataFormatProps{
InputFormat: inputFormat,
OutputFormat: outputFormat,
SerializationLibrary: serializationLibrary,
// the properties below are optional
ClassificationString: classificationString,
}
Properties
classificationStringoptionalClassificationStringclassification_stringoptionalClassificationStringclassificationStringoptionalClassificationStringClassificationStringoptionalClassificationStringClassificationStringoptionalClassificationString #Classification string given to tables with this data format.
Default: No classification is specified.
inputFormatInputFormatinput_formatInputFormatinputFormatInputFormatInputFormatInputFormatInputFormatInputFormat required #`InputFormat` for this data format.
outputFormatOutputFormatoutput_formatOutputFormatoutputFormatOutputFormatOutputFormatOutputFormatOutputFormatOutputFormat required #`OutputFormat` for this data format.
serializationLibrarySerializationLibraryserialization_librarySerializationLibraryserializationLibrarySerializationLibrarySerializationLibrarySerializationLibrarySerializationLibrarySerializationLibrary required #Serialization library for this data format.