CustomCode - AWS Glue

CustomCode

Specifies a transform that uses custom code you provide to perform the data transformation. The output is a collection of DynamicFrames.

Contents

ClassName

The name defined for the custom code node class.

Type: String

Pattern: ([\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF]|[^\S\r\n"'])*

Required: Yes

Code

The custom code that is used to perform the data transformation.

Type: String

Pattern: [\s\S]*

Required: Yes

Inputs

The data inputs identified by their node names.

Type: Array of strings

Array Members: Minimum number of 1 item.

Pattern: [A-Za-z0-9_-]*

Required: Yes

Name

The name of the transform node.

Type: String

Pattern: ([\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF]|[^\r\n])*

Required: Yes

OutputSchemas

Specifies the data schema for the custom code transform.

Type: Array of GlueSchema objects

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: