class_docstr: CloudwatchTaskHandler is a python log handler that handles and reads task instance logs.
  
  It extends airflow FileTaskHandler and uploads to and reads from Cloudwatch.
  
  :param base_log_folder: base folder to store logs locally
  :param log_group_arn: ARN of the Cloudwatch log group for remote log storage
      with format ``arn:aws:logs:{region name}:{account id}:log-group:{group name}``
  :param filename_template: template for file name (local storage) or log stream name (remote)
code: def _render_filename(self, ti, try_number):
      # Replace unsupported log group name characters
      return super()._render_filename(ti, try_number).replace(":", "_")
  
imports: from __future__ import annotations
  from datetime import date, datetime, timedelta
  from functools import cached_property
  from typing import TYPE_CHECKING, Any
  import watchtower
  from airflow.configuration import conf
  from airflow.providers.amazon.aws.hooks.logs import AwsLogsHook
  from airflow.providers.amazon.aws.utils import datetime_to_epoch_utc_ms
  from airflow.utils.log.file_task_handler import FileTaskHandler
  from airflow.utils.log.logging_mixin import LoggingMixin
label_desc: Use image node_id 3 for calling the CloudwatchTaskHandler obj's underlying member method code with example usage: obj._render_filename(ti, try_number) and returns: super