1.0.1 • Published 8 months ago
serverless-plugin-log-key-id v1.0.1
serverless-plugin-log-key-id
This plugin adds an KmsKeyId
to AWS::Logs::LogGroup
for each of your Lambda functions.
Configuration
Configuration happens both 'globally' (via custom.logsKmsArn) and also at the function level (via function.yourFunction.logsKmsArn). The property takes a string argument which is an ARN of the KMS key.
Examples
The most basic:
custom:
logsKmsArn: 'some-arn'
Custom function settings:
functions:
myFunction:
logsKmsArn: 'some-arn'