<!--
This file was generated by Spark. Do not edit it by hand.
-->
# AshLua.Resource
Extension that exposes a single Ash resource's public actions to Lua scripts.
Used in conjunction with `AshLua.Domain` on the resource's owning domain.
## lua
Resource-level configuration for AshLua.
### Examples
```
lua do
name "todo"
expose? true
end
```
### Options
| Name | Type | Default | Docs |
|------|------|---------|------|
| [`name`](#lua-name){: #lua-name } | `String.t` | | The Lua key (under the domain table) to expose this resource as. Defaults to snake_case of the resource module's last segment. |
| [`expose?`](#lua-expose?){: #lua-expose? } | `boolean` | `true` | Whether to expose this resource and its public actions to Lua. |
<style type="text/css">.spark-required::after { content: "*"; color: red !important; }</style>