SeaweedFSContainerResource
Handle
interface SeaweedFSContainerResource extends IComputeResource, IExpressionValue, IManifestExpressionProvider, IResource, IResourceWithArgs, IResourceWithConnectionString, IResourceWithEndpoints, IResourceWithEnvironment, IResourceWithProbes, IResourceWithWaitSupport, IValueProvider, IValueWithReferences { withAccessKey(accessKey: ParameterResource): SeaweedFSContainerResource; withDataBindMount( source: string, isReadOnly?: boolean): SeaweedFSContainerResource; withDataVolume( name?: string, isReadOnly?: boolean): SeaweedFSContainerResource; withFiler(filerPort?: number): SeaweedFSContainerResource; withHostPort(port: number): SeaweedFSContainerResource; withS3(s3Port?: number): SeaweedFSContainerResource; withS3ConfigFile(configFilePath: string): SeaweedFSContainerResource; withSecretKey(secretKey: ParameterResource): SeaweedFSContainerResource;}8 members
Methods
Configures the Access Key that the SeaweedFS S3 resource uses.
withAccessKey(accessKey: ParameterResource): SeaweedFSContainerResourceParameters
accessKeyParameterResourceReturns
SeaweedFSContainerResourceAdds a bind mount for the SeaweedFS data folder.
withDataBindMount( source: string, isReadOnly?: boolean): SeaweedFSContainerResourceParameters
sourcestringisReadOnlybooleanoptional= FalseReturns
SeaweedFSContainerResourceAdds a named volume for the SeaweedFS data folder.
withDataVolume( name?: string, isReadOnly?: boolean): SeaweedFSContainerResourceParameters
namestringoptionalisReadOnlybooleanoptional= FalseReturns
SeaweedFSContainerResourceEnables the SeaweedFS Native Filer API.
withFiler(filerPort?: number): SeaweedFSContainerResourceParameters
filerPortnumberoptionalReturns
SeaweedFSContainerResourceConfigures the Master API host port that the SeaweedFS resource is exposed on.
withHostPort(port: number): SeaweedFSContainerResourceParameters
portnumberReturns
SeaweedFSContainerResourceEnables the SeaweedFS S3-Compatible API Gateway.
withS3(s3Port?: number): SeaweedFSContainerResourceParameters
s3PortnumberoptionalReturns
SeaweedFSContainerResourceConfigures the SeaweedFS S3 API to use a specific external security configuration file.
withS3ConfigFile(configFilePath: string): SeaweedFSContainerResourceParameters
configFilePathstringReturns
SeaweedFSContainerResourceConfigures the Secret Key that the SeaweedFS S3 resource uses.
withSecretKey(secretKey: ParameterResource): SeaweedFSContainerResourceParameters
secretKeyParameterResourceReturns
SeaweedFSContainerResource