Skip to content
v2.273.0

SerializationLibrary Class ​

Serialization library to use when serializing/deserializing (SerDe) table records.

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';
const serializationLibrary = glue.SerializationLibrary.AVRO;
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

serialization_library = glue.SerializationLibrary.AVRO
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.*;

SerializationLibrary serializationLibrary = SerializationLibrary.AVRO;
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;

var serializationLibrary = SerializationLibrary.AVRO;
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"

serializationLibrary := awscdk.Aws_glue.SerializationLibrary_AVRO()

Initializer ​

ts
new SerializationLibrary(className: string)
python
SerializationLibrary(class_name: str)
java
new SerializationLibrary(String className)
csharp
new SerializationLibrary(string className)
go
NewSerializationLibrary(ClassName *string)

Properties ​

classNamestringclass_namestrclassNameStringClassNamestringClassName*stringrequired#
LAZY_SIMPLESerializationLibrarylazy_simpleSerializationLibraryLAZY_SIMPLESerializationLibraryLAZY_SIMPLESerializationLibraryLAZY_SIMPLESerializationLibraryrequiredstatic#