1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. glue
  6. getUserDefinedFunction

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.76.0
published on Monday, Aug 24, 2026 by Pulumi
aws-native logo aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.76.0
published on Monday, Aug 24, 2026 by Pulumi

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

    Using getUserDefinedFunction

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getUserDefinedFunction(args: GetUserDefinedFunctionArgs, opts?: InvokeOptions): Promise<GetUserDefinedFunctionResult>
    function getUserDefinedFunctionOutput(args: GetUserDefinedFunctionOutputArgs, opts?: InvokeOutputOptions): Output<GetUserDefinedFunctionResult>
    def get_user_defined_function(arn: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetUserDefinedFunctionResult
    def get_user_defined_function_output(arn: pulumi.Input[Optional[str]] = None,
                                  opts: Optional[InvokeOutputOptions] = None) -> Output[GetUserDefinedFunctionResult]
    func LookupUserDefinedFunction(ctx *Context, args *LookupUserDefinedFunctionArgs, opts ...InvokeOption) (*LookupUserDefinedFunctionResult, error)
    func LookupUserDefinedFunctionOutput(ctx *Context, args *LookupUserDefinedFunctionOutputArgs, opts ...InvokeOption) LookupUserDefinedFunctionResultOutput

    > Note: This function is named LookupUserDefinedFunction in the Go SDK.

    public static class GetUserDefinedFunction 
    {
        public static Task<GetUserDefinedFunctionResult> InvokeAsync(GetUserDefinedFunctionArgs args, InvokeOptions? opts = null)
        public static Output<GetUserDefinedFunctionResult> Invoke(GetUserDefinedFunctionInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetUserDefinedFunctionResult> Invoke(GetUserDefinedFunctionInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetUserDefinedFunctionResult> getUserDefinedFunction(GetUserDefinedFunctionArgs args, InvokeOptions options)
    public static Output<GetUserDefinedFunctionResult> getUserDefinedFunction(GetUserDefinedFunctionArgs args, InvokeOptions options)
    public static Output<GetUserDefinedFunctionResult> getUserDefinedFunction(GetUserDefinedFunctionArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:glue:getUserDefinedFunction
      arguments:
        # arguments dictionary
    data "aws-native_glue_get_user_defined_function" "name" {
        # arguments
    }

    The following arguments are supported:

    Arn string
    The Amazon Resource Name (ARN) of the user-defined function.
    Arn string
    The Amazon Resource Name (ARN) of the user-defined function.
    arn string
    The Amazon Resource Name (ARN) of the user-defined function.
    arn String
    The Amazon Resource Name (ARN) of the user-defined function.
    arn string
    The Amazon Resource Name (ARN) of the user-defined function.
    arn str
    The Amazon Resource Name (ARN) of the user-defined function.
    arn String
    The Amazon Resource Name (ARN) of the user-defined function.

    getUserDefinedFunction Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the user-defined function.
    ClassName string
    The Java class that contains the function code.
    OwnerName string
    The owner of the function.
    OwnerType Pulumi.AwsNative.Glue.UserDefinedFunctionOwnerType
    The owner type.
    ResourceUris List<Pulumi.AwsNative.Glue.Outputs.UserDefinedFunctionResourceUri>
    The resource URIs for the function.
    Arn string
    The Amazon Resource Name (ARN) of the user-defined function.
    ClassName string
    The Java class that contains the function code.
    OwnerName string
    The owner of the function.
    OwnerType UserDefinedFunctionOwnerType
    The owner type.
    ResourceUris []UserDefinedFunctionResourceUri
    The resource URIs for the function.
    arn string
    The Amazon Resource Name (ARN) of the user-defined function.
    class_name string
    The Java class that contains the function code.
    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.
    arn String
    The Amazon Resource Name (ARN) of the user-defined function.
    className String
    The Java class that contains the function code.
    ownerName String
    The owner of the function.
    ownerType UserDefinedFunctionOwnerType
    The owner type.
    resourceUris List<UserDefinedFunctionResourceUri>
    The resource URIs for the function.
    arn string
    The Amazon Resource Name (ARN) of the user-defined function.
    className string
    The Java class that contains the function code.
    ownerName string
    The owner of the function.
    ownerType UserDefinedFunctionOwnerType
    The owner type.
    resourceUris UserDefinedFunctionResourceUri[]
    The resource URIs for the function.
    arn str
    The Amazon Resource Name (ARN) of the user-defined function.
    class_name str
    The Java class that contains the function code.
    owner_name str
    The owner of the function.
    owner_type UserDefinedFunctionOwnerType
    The owner type.
    resource_uris Sequence[UserDefinedFunctionResourceUri]
    The resource URIs for the function.
    arn String
    The Amazon Resource Name (ARN) of the user-defined function.
    className String
    The Java class that contains the function code.
    ownerName String
    The owner of the function.
    ownerType "USER" | "ROLE" | "GROUP"
    The owner type.
    resourceUris List<Property Map>
    The resource URIs for the function.

    Supporting Types

    UserDefinedFunctionOwnerType

    UserDefinedFunctionResourceUri

    ResourceType Pulumi.AwsNative.Glue.UserDefinedFunctionResourceUriResourceType
    The type of the resource.
    Uri string
    The URI for accessing the resource.
    ResourceType UserDefinedFunctionResourceUriResourceType
    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.
    resourceType UserDefinedFunctionResourceUriResourceType
    The type of the resource.
    uri String
    The URI for accessing the resource.
    resourceType UserDefinedFunctionResourceUriResourceType
    The type of the resource.
    uri string
    The URI for accessing the resource.
    resource_type UserDefinedFunctionResourceUriResourceType
    The type of the resource.
    uri str
    The URI for accessing the resource.
    resourceType "JAR" | "FILE" | "ARCHIVE"
    The type of the resource.
    uri String
    The URI for accessing the resource.

    UserDefinedFunctionResourceUriResourceType

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.76.0
    published on Monday, Aug 24, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial