def METHOD_NAME(self, logger: AirbyteLogger, config: json) -> AirbyteConnectionStatus:
    try:
        if "max_batch_size" in config:
            # Max batch size must be between 1 and 10
            if config["max_batch_size"] > 10 or config["max_batch_size"] < 1:
                raise Exception("max_batch_size must be between 1 and 10")
        if "max_wait_time" in config:
            # Max wait time must be between 1 and 20
            if config["max_wait_time"] > 20 or config["max_wait_time"] < 1:
                raise Exception("max_wait_time must be between 1 and 20")
        # Required propeties
        queue_url = config["queue_url"]
        logger.debug("Amazon SQS Source Config Check - queue_url: " + queue_url)
        queue_region = config["region"]
        logger.debug("Amazon SQS Source Config Check - region: " + queue_region)
        # Senstive Properties
        access_key = config["access_key"]
        logger.debug("Amazon SQS Source Config Check - access_key (ends with): " + access_key[-1])
        secret_key = config["secret_key"]
        logger.debug("Amazon SQS Source Config Check - secret_key (ends with): " + secret_key[-1])
        logger.debug("Amazon SQS Source Config Check - Starting connection test ---")
        session = boto3.Session(aws_access_key_id=access_key, aws_secret_access_key=secret_key, region_name=queue_region)
        sqs = session.resource("sqs")
        queue = sqs.Queue(url=queue_url)
        if hasattr(queue, "attributes"):
            logger.debug("Amazon SQS Source Config Check - Connection test successful ---")
            return AirbyteConnectionStatus(status=Status.SUCCEEDED)
        else:
            return AirbyteConnectionStatus(status=Status.FAILED, message="Amazon SQS Source Config Check - Could not connect to queue")
    except ClientError as e:
        return AirbyteConnectionStatus(status=Status.FAILED, message=f"Amazon SQS Source Config Check - Error in AWS Client: {str(e)}")
    except Exception as e:
        return AirbyteConnectionStatus(
            status=Status.FAILED, message=f"Amazon SQS Source Config Check - An exception occurred: {str(e)}"
        )