We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi
Represents a user-defined function (UDF) definition in the AWS Glue Data Catalog.
Create UserDefinedFunction Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new UserDefinedFunction(name: string, args: UserDefinedFunctionArgs, opts?: CustomResourceOptions);@overload
def UserDefinedFunction(resource_name: str,
args: UserDefinedFunctionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def UserDefinedFunction(resource_name: str,
opts: Optional[ResourceOptions] = None,
database_name: Optional[str] = None,
class_name: Optional[str] = None,
function_name: Optional[str] = None,
function_type: Optional[UserDefinedFunctionFunctionType] = None,
owner_name: Optional[str] = None,
owner_type: Optional[UserDefinedFunctionOwnerType] = None,
resource_uris: Optional[Sequence[UserDefinedFunctionResourceUriArgs]] = None)func NewUserDefinedFunction(ctx *Context, name string, args UserDefinedFunctionArgs, opts ...ResourceOption) (*UserDefinedFunction, error)public UserDefinedFunction(string name, UserDefinedFunctionArgs args, CustomResourceOptions? opts = null)
public UserDefinedFunction(String name, UserDefinedFunctionArgs args)
public UserDefinedFunction(String name, UserDefinedFunctionArgs args, CustomResourceOptions options)
type: aws-native:glue:UserDefinedFunction
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_glue_user_defined_function" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args UserDefinedFunctionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args UserDefinedFunctionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args UserDefinedFunctionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UserDefinedFunctionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args UserDefinedFunctionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
UserDefinedFunction Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The UserDefinedFunction resource accepts the following input properties:
- Database
Name string - The name of the catalog database in which the function is located.
- Class
Name string - The Java class that contains the function code.
- Function
Name string - The name of the function.
- Function
Type Pulumi.Aws Native. Glue. User Defined Function Function Type - The type of the function.
- Owner
Name string - The owner of the function.
- Owner
Type Pulumi.Aws Native. Glue. User Defined Function Owner Type - The owner type.
- Resource
Uris List<Pulumi.Aws Native. Glue. Inputs. User Defined Function Resource Uri> - The resource URIs for the function.
- Database
Name string - The name of the catalog database in which the function is located.
- Class
Name string - The Java class that contains the function code.
- Function
Name string - The name of the function.
- Function
Type UserDefined Function Function Type - The type of the function.
- Owner
Name string - The owner of the function.
- Owner
Type UserDefined Function Owner Type - The owner type.
- Resource
Uris []UserDefined Function Resource Uri Args - The resource URIs for the function.
- database_
name string - The name of the catalog database in which the function is located.
- class_
name string - The Java class that contains the function code.
- function_
name string - The name of the function.
- function_
type "REGULAR_FUNCTION" | "AGGREGATE_FUNCTION" | "STORED_PROCEDURE" - The type of the function.
- owner_
name string - The owner of the function.
- owner_
type "USER" | "ROLE" | "GROUP" - The owner type.
- resource_
uris list(object) - The resource URIs for the function.
- database
Name String - The name of the catalog database in which the function is located.
- class
Name String - The Java class that contains the function code.
- function
Name String - The name of the function.
- function
Type UserDefined Function Function Type - The type of the function.
- owner
Name String - The owner of the function.
- owner
Type UserDefined Function Owner Type - The owner type.
- resource
Uris List<UserDefined Function Resource Uri> - The resource URIs for the function.
- database
Name string - The name of the catalog database in which the function is located.
- class
Name string - The Java class that contains the function code.
- function
Name string - The name of the function.
- function
Type UserDefined Function Function Type - The type of the function.
- owner
Name string - The owner of the function.
- owner
Type UserDefined Function Owner Type - The owner type.
- resource
Uris UserDefined Function Resource Uri[] - The resource URIs for the function.
- database_
name str - The name of the catalog database in which the function is located.
- class_
name str - The Java class that contains the function code.
- function_
name str - The name of the function.
- function_
type UserDefined Function Function Type - The type of the function.
- owner_
name str - The owner of the function.
- owner_
type UserDefined Function Owner Type - The owner type.
- resource_
uris Sequence[UserDefined Function Resource Uri Args] - The resource URIs for the function.
- database
Name String - The name of the catalog database in which the function is located.
- class
Name String - The Java class that contains the function code.
- function
Name String - The name of the function.
- function
Type "REGULAR_FUNCTION" | "AGGREGATE_FUNCTION" | "STORED_PROCEDURE" - The type of the function.
- owner
Name String - The owner of the function.
- owner
Type "USER" | "ROLE" | "GROUP" - The owner type.
- resource
Uris List<Property Map> - The resource URIs for the function.
Outputs
All input properties are implicitly available as output properties. Additionally, the UserDefinedFunction resource produces the following output properties:
Supporting Types
UserDefinedFunctionFunctionType, UserDefinedFunctionFunctionTypeArgs
- Regular
Function REGULAR_FUNCTION- Aggregate
Function AGGREGATE_FUNCTION- Stored
Procedure STORED_PROCEDURE
- User
Defined Function Function Type Regular Function REGULAR_FUNCTION- User
Defined Function Function Type Aggregate Function AGGREGATE_FUNCTION- User
Defined Function Function Type Stored Procedure STORED_PROCEDURE
- "REGULAR_FUNCTION"
REGULAR_FUNCTION- "AGGREGATE_FUNCTION"
AGGREGATE_FUNCTION- "STORED_PROCEDURE"
STORED_PROCEDURE
- Regular
Function REGULAR_FUNCTION- Aggregate
Function AGGREGATE_FUNCTION- Stored
Procedure STORED_PROCEDURE
- Regular
Function REGULAR_FUNCTION- Aggregate
Function AGGREGATE_FUNCTION- Stored
Procedure STORED_PROCEDURE
- REGULAR_FUNCTION
REGULAR_FUNCTION- AGGREGATE_FUNCTION
AGGREGATE_FUNCTION- STORED_PROCEDURE
STORED_PROCEDURE
- "REGULAR_FUNCTION"
REGULAR_FUNCTION- "AGGREGATE_FUNCTION"
AGGREGATE_FUNCTION- "STORED_PROCEDURE"
STORED_PROCEDURE
UserDefinedFunctionOwnerType, UserDefinedFunctionOwnerTypeArgs
- User
USER- Role
ROLE- Group
GROUP
- User
Defined Function Owner Type User USER- User
Defined Function Owner Type Role ROLE- User
Defined Function Owner Type Group GROUP
- "USER"
USER- "ROLE"
ROLE- "GROUP"
GROUP
- User
USER- Role
ROLE- Group
GROUP
- User
USER- Role
ROLE- Group
GROUP
- USER
USER- ROLE
ROLE- GROUP
GROUP
- "USER"
USER- "ROLE"
ROLE- "GROUP"
GROUP
UserDefinedFunctionResourceUri, UserDefinedFunctionResourceUriArgs
The URIs for function resources.- Resource
Type Pulumi.Aws Native. Glue. User Defined Function Resource Uri Resource Type - The type of the resource.
- Uri string
- The URI for accessing the resource.
- Resource
Type UserDefined Function Resource Uri Resource Type - The type of the resource.
- Uri string
- The URI for accessing the resource.
- resource_
type "JAR" | "FILE" | "ARCHIVE" - The type of the resource.
- uri string
- The URI for accessing the resource.
- resource
Type UserDefined Function Resource Uri Resource Type - The type of the resource.
- uri String
- The URI for accessing the resource.
- resource
Type UserDefined Function Resource Uri Resource Type - The type of the resource.
- uri string
- The URI for accessing the resource.
- resource_
type UserDefined Function Resource Uri Resource Type - The type of the resource.
- uri str
- The URI for accessing the resource.
- resource
Type "JAR" | "FILE" | "ARCHIVE" - The type of the resource.
- uri String
- The URI for accessing the resource.
UserDefinedFunctionResourceUriResourceType, UserDefinedFunctionResourceUriResourceTypeArgs
- Jar
JAR- File
FILE- Archive
ARCHIVE
- User
Defined Function Resource Uri Resource Type Jar JAR- User
Defined Function Resource Uri Resource Type File FILE- User
Defined Function Resource Uri Resource Type Archive ARCHIVE
- "JAR"
JAR- "FILE"
FILE- "ARCHIVE"
ARCHIVE
- Jar
JAR- File
FILE- Archive
ARCHIVE
- Jar
JAR- File
FILE- Archive
ARCHIVE
- JAR
JAR- FILE
FILE- ARCHIVE
ARCHIVE
- "JAR"
JAR- "FILE"
FILE- "ARCHIVE"
ARCHIVE
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi