View a markdown version of this page

AWS::Glue::UserDefinedFunction - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::Glue::UserDefinedFunction

Represents the equivalent of a Hive user-defined function (UDF) definition.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::Glue::UserDefinedFunction", "Properties" : { "ClassName" : String, "DatabaseName" : String, "FunctionName" : String, "FunctionType" : String, "OwnerName" : String, "OwnerType" : String, "ResourceUris" : [ ResourceUri, ... ] } }

YAML

Type: AWS::Glue::UserDefinedFunction Properties: ClassName: String DatabaseName: String FunctionName: String FunctionType: String OwnerName: String OwnerType: String ResourceUris: - ResourceUri

Properties

ClassName

The Java class that contains the function code.

Required: No

Type: String

Pattern: ^[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*$

Minimum: 1

Maximum: 255

Update requires: No interruption

DatabaseName

The name of the catalog database that contains the function.

Required: Yes

Type: String

Pattern: ^[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*$

Minimum: 1

Maximum: 255

Update requires: Replacement

FunctionName

The name of the function.

Required: Yes

Type: String

Pattern: ^[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*$

Minimum: 1

Maximum: 255

Update requires: Replacement

FunctionType

The type of the function.

Required: No

Type: String

Allowed values: REGULAR_FUNCTION | AGGREGATE_FUNCTION | STORED_PROCEDURE

Update requires: Replacement

OwnerName

The owner of the function.

Required: No

Type: String

Pattern: ^[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*$

Minimum: 1

Maximum: 255

Update requires: No interruption

OwnerType

The owner type.

Required: No

Type: String

Allowed values: USER | ROLE | GROUP

Update requires: No interruption

ResourceUris

The resource URIs for the function.

Required: No

Type: Array of ResourceUri

Maximum: 1000

Update requires: No interruption

Return values

Ref

Fn::GetAtt

Arn

Property description not available.