AWS Fundamentals Logo
AWS Fundamentals
AWS::Glue::UserDefinedFunction

Glue UserDefinedFunction

Represents a user-defined function (UDF) definition in the AWS Glue Data Catalog.

Properties

7 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
DatabaseName
string
RequiredCreate-only
FunctionName
string
RequiredCreate-only
ClassName
string
FunctionType
string
Create-only
OwnerName
string
OwnerType
string
ResourceUris
Array<ResourceUri>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ArnstringThe Amazon Resource Name (ARN) of the user-defined function.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Glue::UserDefinedFunction

Resources:
  MyResource:
    Type: AWS::Glue::UserDefinedFunction
    Properties:
      DatabaseName: "my-databasename"
      FunctionName: "my-functionname"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

glue:CreateUserDefinedFunctionglue:GetUserDefinedFunction

read

glue:GetUserDefinedFunction

update

glue:UpdateUserDefinedFunctionglue:GetUserDefinedFunction

delete

glue:DeleteUserDefinedFunctionglue:GetUserDefinedFunction

list

glue:GetUserDefinedFunctions

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceGlue
Properties8
Required2
TaggingNot supported
Primary IDArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

DatabaseNameFunctionNameFunctionType

External Links