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
accessKey ParameterResource Returns
SeaweedFSContainerResource Adds a bind mount for the SeaweedFS data folder.
withDataBindMount( source: string, isReadOnly?: boolean): SeaweedFSContainerResourceParameters
sourcestringisReadOnly booleanoptional= FalseReturns
SeaweedFSContainerResource Adds a named volume for the SeaweedFS data folder.
withDataVolume( name?: string, isReadOnly?: boolean): SeaweedFSContainerResourceParameters
namestringoptionalisReadOnly booleanoptional= FalseReturns
SeaweedFSContainerResource Enables the SeaweedFS Native Filer API.
withFiler(filerPort?: number): SeaweedFSContainerResourceParameters
filerPort numberoptionalReturns
SeaweedFSContainerResource Configures the Master API host port that the SeaweedFS resource is exposed on.
withHostPort(port: number): SeaweedFSContainerResourceParameters
portnumberReturns
SeaweedFSContainerResource Enables the SeaweedFS S3-Compatible API Gateway.
withS3(s3Port?: number): SeaweedFSContainerResourceParameters
s3Port numberoptionalReturns
SeaweedFSContainerResource Configures the SeaweedFS S3 API to use a specific external security configuration file.
withS3ConfigFile(configFilePath: string): SeaweedFSContainerResourceParameters
configFilePath stringReturns
SeaweedFSContainerResource Configures the Secret Key that the SeaweedFS S3 resource uses.
withSecretKey(secretKey: ParameterResource): SeaweedFSContainerResourceParameters
secretKey ParameterResource Returns
SeaweedFSContainerResource