---
type: resource-type
title: UserDefinedFunction
description: aws resource type AWS::Glue::UserDefinedFunction
name: UserDefinedFunction
lexicon: aws
resource_type: AWS::Glue::UserDefinedFunction
---
`AWS::Glue::UserDefinedFunction`, a resource type of the aws lexicon.

## Properties

- `DatabaseName` (`string`, required): The name of the catalog database in which the function is located.
- `FunctionName` (`string`, required): The name of the function.
- `Arn` (`string`, optional): The Amazon Resource Name (ARN) of the user-defined function.
- `ClassName` (`string`, optional): The Java class that contains the function code.
- `FunctionType` (`"AGGREGATE_FUNCTION" | "REGULAR_FUNCTION" | "STORED_PROCEDURE"`, optional): The type of the function.
- `OwnerName` (`string`, optional): The owner of the function.
- `OwnerType` (`"GROUP" | "ROLE" | "USER"`, optional): The owner type.
- `ResourceUris` (`UserDefinedFunction_ResourceUri[]`, optional): The resource URIs for the function.

## Attributes

- `Arn`
