Skip to content

A small module to streamline some of the cleanup operations required when when working with AWS CloudWatch Streams

License

Notifications You must be signed in to change notification settings

ik-serverless/aws-cloudwatch-streams-clean

Repository files navigation

aws-cloudwatch-streams-clean

A small lambda to streamline some of the cleanup operations required when when working with AWS CloudWatch Log Stream, and especially when working with the old streams that costs us money.

AWS Role

{
  "Version": "2012-10-17",
  "Id": "KeepCostingLowRemoveAldCloudWatchStreams",
  "Statement": [
    {
      "Sid": "DescribeAndDelete",
      "Effect": "Allow",
      "Action": [
        "logs:DescribeLogGroups",
        "logs:DescribeLogStreams",
        "logs:DeleteLogStream",
        "logs:DescribeLogStreams"
      ],
      "Resource": [
        "arn:aws:logs:*:*:*"
      ]
    }
  ]
}

About

A small module to streamline some of the cleanup operations required when when working with AWS CloudWatch Streams

Resources

License

Stars

Watchers

Forks

Packages

No packages published