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 * as glue_alpha from '@aws-cdk/aws-glue-alpha';
const serializationLibrary = glue_alpha.SerializationLibrary.AVRO;
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_glue_alpha as glue_alpha

serialization_library = glue_alpha.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.alpha.*;

SerializationLibrary serializationLibrary = SerializationLibrary.AVRO;
csharp
// Install: dotnet add package Amazon.CDK.AWS.Glue.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Glue.Alpha;

var serializationLibrary = SerializationLibrary.AVRO;
go
// Install: go get github.com/aws/aws-cdk-go/awscdkgluealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import glue_alpha "github.com/aws/aws-cdk-go/awscdkgluealpha"

serializationLibrary := glue_alpha.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#