DataFormatProps

class aws_cdk.aws_glue.DataFormatProps(*, classification_string=None, input_format, output_format, serialization_library)

Bases: object

(experimental) Properties of a DataFormat instance.

Parameters
  • classification_string (Optional[ClassificationString]) – (experimental) Classification string given to tables with this data format. Default: - No classification is specified.

  • input_format (InputFormat) – (experimental) InputFormat for this data format.

  • output_format (OutputFormat) – (experimental) OutputFormat for this data format.

  • serialization_library (SerializationLibrary) – (experimental) Serialization library for this data format.

Stability

experimental

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_glue as glue

# classification_string is of type ClassificationString
# input_format is of type InputFormat
# output_format is of type OutputFormat
# serialization_library is of type 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
)

Attributes

classification_string

(experimental) Classification string given to tables with this data format.

Default
  • No classification is specified.

Stability

experimental

Return type

Optional[ClassificationString]

input_format

(experimental) InputFormat for this data format.

Stability

experimental

Return type

InputFormat

output_format

(experimental) OutputFormat for this data format.

Stability

experimental

Return type

OutputFormat

serialization_library

(experimental) Serialization library for this data format.

Stability

experimental

Return type

SerializationLibrary