AwsClientFactory interface
Factory for AWS service clients, which allows for custom construction and configuration. AWS Configuration.
Signature:
export interface AwsClientFactory 
Remarks
This is an advanced option. This provides a way for a faast.js client to instantiate AWS service objects for itself to provide custom options. Note that if you create a service object yourself, it won't have the default options that faast.js would use, which are:
- maxAttempts (faast.js default: 6) - region (faast.js default: "us-west-2") - logger (faast.js default: log.awssdk)
Properties
| Property | Modifiers | Type | Description | 
|---|---|---|---|
| () => CloudWatchLogs | (Optional) | ||
| () => IAM | (Optional) | ||
| () => Lambda | (Optional) | ||
| () => Lambda | (Optional) A special AWS Lambda factory for creating lambda functions that are used for faast.js invocations. These special clients have the following options set by default in faast.js: // Retries are handled by faast.js, not the sdk. maxAttempts: 0, | ||
| () => Pricing | (Optional) | ||
| () => S3 | (Optional) | ||
| () => SNS | (Optional) | ||
| () => SQS | (Optional) | ||
| () => STS | (Optional) |