This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::Glue::UserDefinedFunction
Represents the equivalent of a Hive user-defined function
(UDF) definition.
Syntax
To declare this entity in your 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:StringDatabaseName:StringFunctionName:StringFunctionType:StringOwnerName:StringOwnerType:StringResourceUris:- 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:
1Maximum:
255Update 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:
1Maximum:
255Update requires: Replacement
FunctionName-
The name of the function.
Required: Yes
Type: String
Pattern:
^[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*$Minimum:
1Maximum:
255Update requires: Replacement
FunctionType-
The type of the function.
Required: No
Type: String
Allowed values:
REGULAR_FUNCTION | AGGREGATE_FUNCTION | STORED_PROCEDUREUpdate requires: Replacement
OwnerName-
The owner of the function.
Required: No
Type: String
Pattern:
^[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*$Minimum:
1Maximum:
255Update requires: No interruption
OwnerType-
The owner type.
Required: No
Type: String
Allowed values:
USER | ROLE | GROUPUpdate requires: No interruption
ResourceUris-
The resource URIs for the function.
Required: No
Type: Array of ResourceUri
Maximum:
1000Update requires: No interruption
Return values
Ref
Fn::GetAtt
ArnProperty description not available.