CloudWatchLoggerParameters
Class: CloudWatchLoggerParameters
Defined in: aws/src/services/cloudwatchlogger.service.ts:11
Send webda log to CloudWatch
Extends
ServiceParameters
Implements
Constructors
Constructor
new CloudWatchLoggerParameters():
CloudWatchLoggerParameters
Returns
CloudWatchLoggerParameters
Inherited from
ServiceParameters.constructor
Properties
CloudFormation?
optionalCloudFormation?:any
Defined in: aws/src/services/cloudwatchlogger.service.ts:60
CloudFormation customization
CloudFormationSkip?
optionalCloudFormationSkip?:boolean
Defined in: aws/src/services/cloudwatchlogger.service.ts:64
Skip CloudFormation on deploy
credentials?
optionalcredentials?:object
Defined in: aws/src/services/cloudwatchlogger.service.ts:21
Static credentials, default to the AWS environment variables
Can be encrypted with webda config encrypt
accessKeyId
accessKeyId:
string|SecretString
secretAccessKey
secretAccessKey:
string|SecretString
sessionToken?
optionalsessionToken?:string|SecretString
Implementation of
AWSServiceParameters.credentials
endpoint?
optionalendpoint?:string
Defined in: aws/src/services/cloudwatchlogger.service.ts:15
Custom endpoint (localstack, minio, ...)
Implementation of
kmsKeyId?
optionalkmsKeyId?:string
Defined in: aws/src/services/cloudwatchlogger.service.ts:43
KMS key to use when creating the log group
logGroupName
logGroupName:
string
Defined in: aws/src/services/cloudwatchlogger.service.ts:35
logGroupName to send logStream to
logLevel?
optionallogLevel?:WorkerLogLevel
Defined in: aws/src/services/cloudwatchlogger.service.ts:52
Minimum level of logs to send
Default
"INFO"
logStreamNamePrefix?
optionallogStreamNamePrefix?:string
Defined in: aws/src/services/cloudwatchlogger.service.ts:39
Prefix of the log stream name, a random uuid is appended
region?
optionalregion?:string
Defined in: aws/src/services/cloudwatchlogger.service.ts:30
AWS region
Default
"us-east-1"
Implementation of
singlePush?
optionalsinglePush?:boolean
Defined in: aws/src/services/cloudwatchlogger.service.ts:56
Send each log line as soon as it is produced
tags?
optionaltags?:any
Defined in: aws/src/services/cloudwatchlogger.service.ts:47
Tags to add when creating the log group
type
type:
string
Defined in: core/lib/services/serviceparameters.d.ts:9
Type of the service
Inherited from
ServiceParameters.type
Methods
load()
load(
params?):this
Defined in: aws/src/services/cloudwatchlogger.service.ts:71
Parameters
params?
any = {}
raw parameters
Returns
this
this
Overrides
ServiceParameters.load
update()
update(
params,delta):this
Defined in: core/lib/application/parameters.d.ts:21
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
ServiceParameters.update
with()
with(
callback):this
Defined in: core/lib/application/parameters.d.ts:27
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
ServiceParameters.with