### Description

there is limitation to version 2 
https://github.com/apache/airflow/blob/809d95ec06447c9579383d15136190c0963b3c1b/airflow/providers/amazon/provider.yaml#L48


### Use case/motivation

using up to date version of the library

### Related issues

didnt find

### Are you willing to submit a PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)

#
#
#
from __future__ import annotations
import time
from datetime import datetime as dt, timedelta
from unittest import mock
from unittest.mock import call
import boto3
import moto
import pytest
from watchtower import CloudWatchLogHandler
from airflow.models import DAG, DagRun, TaskInstance
from airflow.operators.empty import EmptyOperator
from airflow.providers.amazon.aws.hooks.logs import AwsLogsHook
from airflow.providers.amazon.aws.log.cloudwatch_task_handler import CloudwatchTaskHandler
from airflow.providers.amazon.aws.utils import datetime_to_epoch_utc_ms
from airflow.utils.session import create_session
from airflow.utils.state import State
from airflow.utils.timezone import datetime
from tests.test_utils.config import conf_vars
def get_time_str(time_in_milliseconds):
    dt_time = dt.utcfromtimestamp(time_in_milliseconds / 1000.0)
    return dt_time.strftime("%Y-%m-%d %H:%M:%S,000")
@pytest.fixture(autouse=True, scope="module")
def logmock():
    with moto.mock_logs():
        yield
class TestCloudwatchTaskHandler: