withDataVolume
Method
interface LogtoResource { // ... omitted for brevity withDataVolume(name?: string): LogtoResource;}Signature
method
withDataVolume builderConfigures the Logto resource with a data volume, allowing persistent storage.
withDataVolume(name?: string): LogtoResourceParameters
namestringoptionalThe optional name of the data volume. If not provided, a default name is generated.Returns
LogtoResource Applies to
This method applies to the following types: