# CfnUserDefinedFunctionProps

Properties for defining a `CfnUserDefinedFunction`.

Extends: CfnUserDefinedFunctionProps
Used as props by: CfnUserDefinedFunction

- Source: Generated code
- Type last changed: v2.264.0 · 10 Aug 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const cfnUserDefinedFunctionProps: glue.CfnUserDefinedFunctionProps = {
  databaseName: 'databaseName',
  functionName: 'functionName',

  // the properties below are optional
  className: 'className',
  functionType: 'functionType',
  ownerName: 'ownerName',
  ownerType: 'ownerType',
  resourceUris: [{
    resourceType: 'resourceType',
    uri: 'uri',
  }],
};
```

## Properties

- `className`: string — The Java class that contains the function code.

- `databaseName`: string (required) — The name of the catalog database in which the function is located.

- `functionName`: string (required) — The name of the function.

- `functionType`: string — The type of the function.

- `ownerName`: string — The owner of the function.

- `ownerType`: string — The owner type.

- `resourceUris`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnUserDefinedFunction.ResourceUriProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_glue.CfnUserDefinedFunction.ResourceUriProperty.html)[] — The resource URIs for the function.
