{"library":"aws-cdk-aws-logs","type":"library","category":null,"description":"The `aws-cdk-aws-logs` library provides AWS Cloud Development Kit (CDK) v1 constructs for interacting with Amazon CloudWatch Logs. It allows developers to define CloudWatch Log Groups, Log Streams, Metric Filters, Subscription Filters, and manage log retention periods programmatically using Python. This package, part of the AWS CDK v1 ecosystem, has reached End-of-Support and users are strongly advised to migrate to AWS CDK v2.","language":"en","status":"deprecated","version":"1.204.0","tags":["aws","cdk","logs","cloudwatch","iac","infrastructure-as-code","python"],"last_verified":"Wed May 27","install":[{"cmd":"pip install aws-cdk-aws-logs","imports":["from aws_cdk import core\nfrom aws_cdk import aws_logs as logs\n\nclass MyStack(core.Stack):\n    def __init__(self, scope: core.Construct, id: str, **kwargs) -> None:\n        super().__init__(scope, id, **kwargs)\n\n        log_group = logs.LogGroup(self, 'MyLogGroup')\n","from aws_cdk import aws_logs as logs\n\nlogs.RetentionDays.ONE_WEEK"]}],"homepage":"https://aws.amazon.com/cdk/","github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":5,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/aws-cdk-aws-logs/compatibility"}}