S3BinaryParameters
Class: S3BinaryParameters
Defined in: aws/src/services/s3binary.service.ts:22
S3Binary parameters
Extends
CloudBinaryParameters
Implements
Constructors
Constructor
new S3BinaryParameters():
S3BinaryParameters
Returns
S3BinaryParameters
Inherited from
CloudBinaryParameters.constructor
Properties
_maxFileSize
protected_maxFileSize:number
Defined in: core/lib/services/binary.service.d.ts:619
max file size
Inherited from
CloudBinaryParameters._maxFileSize
bucket
bucket:
string
Defined in: aws/src/services/s3binary.service.ts:45
Bucket to store the binaries in
CloudFormation?
optionalCloudFormation?:any
Defined in: aws/src/services/s3binary.service.ts:49
CloudFormation customization
CloudFormationSkip?
optionalCloudFormationSkip?:boolean
Defined in: aws/src/services/s3binary.service.ts:53
Skip CloudFormation on deploy
credentials?
optionalcredentials?:object
Defined in: aws/src/services/s3binary.service.ts:30
Static credentials, default to the AWS environment variables
accessKeyId
accessKeyId:
string
secretAccessKey
secretAccessKey:
string
sessionToken?
optionalsessionToken?:string
Implementation of
AWSServiceParameters.credentials
endpoint?
optionalendpoint?:string
Defined in: aws/src/services/s3binary.service.ts:26
Custom endpoint (localstack, minio, ...)
Implementation of
forcePathStyle?
optionalforcePathStyle?:boolean
Defined in: aws/src/services/s3binary.service.ts:41
Use path style url (required by localstack/minio)
Default
false
models
models:
object
Defined in: core/lib/services/binary.service.d.ts:627
Define the map of models
- indicates all models
key is a Store name the string[] represent all valids attributes to store files in * indicates all attributes
Index Signature
[key: string]: string[]
Inherited from
CloudBinaryParameters.models
prefix?
optionalprefix?:string
Defined in: core/lib/services/cloudbinary.d.ts:7
Inherited from
CloudBinaryParameters.prefix
region?
optionalregion?:string
Defined in: aws/src/services/s3binary.service.ts:35
AWS region
Default
"us-east-1"
Implementation of
type
type:
string
Defined in: core/lib/services/serviceparameters.d.ts:8
Type of the service
Inherited from
CloudBinaryParameters.type
Accessors
maxFileSize
Get Signature
get maxFileSize():
number
Defined in: core/lib/services/binary.service.d.ts:640
Get the max file size in bytes
Returns
number
the result number
Set Signature
set maxFileSize(
value):void
Defined in: core/lib/services/binary.service.d.ts:635
Define the maximum filesize to accept as direct upload
Default
10 MB
Parameters
value
string | number
Returns
void
Inherited from
CloudBinaryParameters.maxFileSize
Methods
load()
load(
params?):this
Defined in: aws/src/services/s3binary.service.ts:60
Parameters
params?
any = {}
raw parameters
Returns
this
this
Overrides
CloudBinaryParameters.load
update()
update(
params,delta):this
Defined in: core/lib/services/serviceparameters.d.ts:25
Update parameters and call watchers if a parameter was changed
Parameters
params
any
the service parameters
delta
any
the delta
Returns
this
this for chaining
Inherited from
CloudBinaryParameters.update
with()
with(
callback):this
Defined in: core/lib/services/serviceparameters.d.ts:31
Watch for changes on the parameters and call watchers when a parameter is changed
Parameters
callback
(params) => void
the callback function
Returns
this
this for chaining
Inherited from
CloudBinaryParameters.with