# FunctionProps

> Type reference for FunctionProps in the Rippling SDK, including its public shape and related types.

Initialization properties for DefinedFunction.

## Type definition

```
export interface FunctionProps {
    apiName: string;
    name: string;
    code?: string;
    description: string | null;
    dependencies?: Record<string, string>;
    deploymentOptions?: Record<string, any>;
    allowedDomains?: string[];
    isAsync?: boolean;
    runnerGroup?: DefinedGroup | null;
    viewerGroup?: DefinedGroup | null;
    editorGroup?: DefinedGroup | null;
    settingDependencies?: readonly (DefinedCustomSetting | string)[];
}
```

## Related types

-   [DefinedGroup](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/DefinedGroup-09c3816e)
-   [DefinedCustomSetting](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/DefinedCustomSetting-bb4e233d)

Source: https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/FunctionProps-8989be3b

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
