0.19.0 • Published 5 months ago

@ez4/aws-logs v0.19.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

EZ4: AWS Logs

It provides all the components to manage logs on AWS.

Getting started

Install

npm install @ez4/aws-logs -D

Permission

Ensure the user performing deployments has the permissions below:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "LogManagement",
      "Effect": "Allow",
      "Action": [
        "logs:CreateLogGroup",
        "logs:DeleteLogGroup",
        "logs:PutRetentionPolicy",
        "logs:DeleteRetentionPolicy",
        "logs:TagResource",
        "logs:UntagResource"
      ],
      "Resource": ["arn:aws:logs:{region}:{account-id}:log-group:{prefix}-*"]
    }
  ]
}

License

MIT License