withDataVolume
Method
interface FlociAwsContainerResource { // ... omitted for brevity withDataVolume( name: string, isReadOnly?: boolean): FlociAwsContainerResource;}Signature
method
withDataVolume builderConfigures a named data volume for persistent Floci state.
withDataVolume( name: string, isReadOnly?: boolean): FlociAwsContainerResourceParameters
namestringThe name of the volume to mount.isReadOnly booleanoptional= FalseWhether the volume should be read-only.Returns
FlociAwsContainerResource Applies to
This method applies to the following types: