AWS Glue
Developer Guide

Common Data Types

The Common Data Types describes miscellaneous common data types in AWS Glue.

Tag Structure

An AWS Tag.


  • key – UTF-8 string, not less than 1 or more than 128 bytes long.

    The tag key.

  • value – UTF-8 string, not more than 256 bytes long.

    The tag value.

DecimalNumber Structure

Contains a numeric value in decimal format.


  • UnscaledValue – Blob.

    The unscaled numeric value.

  • Scale – Number (integer).

    The scale that determines where the decimal point falls in the unscaled value.

ErrorDetail Structure

Contains details about an error.


PropertyPredicate Structure

Defines a property predicate.


  • Key – Value string, not more than 1024 bytes long.

    The key of the property.

  • Value – Value string, not more than 1024 bytes long.

    The value of the property.

  • Comparator – UTF-8 string (valid values: EQUALS | GREATER_THAN | LESS_THAN | GREATER_THAN_EQUALS | LESS_THAN_EQUALS).

    The comparator used to compare this property to others.

ResourceUri Structure

URIs for function resources.


  • ResourceType – UTF-8 string (valid values: JAR | FILE | ARCHIVE).

    The type of the resource.

  • Uri – Uniform resource identifier (uri), not less than 1 or more than 1024 bytes long, matching the URI address multi-line string pattern.

    The URI for accessing the resource.

String Patterns

The API uses the following regular expressions to define what is valid content for various string parameters and members:

  • Single-line string pattern – "[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*"

  • URI address multi-line string pattern – "[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*"

  • A Logstash Grok string pattern – "[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\t]*"

  • Identifier string pattern – "[A-Za-z_][A-Za-z0-9_]*"

  • AWS Glue ARN string pattern – "arn:aws:glue:.*"

  • AWS IAM ARN string pattern – "arn:aws:iam::\d{12}:role/.*"

  • Version string pattern – "^[a-zA-Z0-9-_]+$"

  • Log group string pattern – "[\.\-_/#A-Za-z0-9]+"

  • Log-stream string pattern – "[^:*]*"

  • Custom string pattern #10 – "arn:aws:kms:.*"