def METHOD_NAME(self):
    region_name = get_aws_region_name()
    config = Config(region_name=region_name)
    ec2_client = boto3.client('ec2', config=config)
    response = METHOD_NAME(self.cluster_name)
    network_interfaces = self.__get_network_interfaces(response, ec2_client)
    tasks = []
    for task in response:
        public_ip = dig(network_interfaces.get(task['taskArn']), 'Association.PublicIp')
        tags = task['tags']
        name = find(lambda tag: tag.get('key') == 'name', tags)
        if name is not None:
            tasks.append(dict(
                ip=public_ip,
                name=name.get('value'),
                status=task['lastStatus'],
                task_arn=task['taskArn'],
                type=task['launchType'],
            ))
    running_instance_names = set(map(lambda x: x['name'], tasks))
    stopped_instance_names = [
        name for name in list(self.instance_metadata.keys())
        if name not in running_instance_names
    ]
    stopped_instances = \
        list(
            map(
                lambda name: {'name': name, 'status': 'STOPPED'},
                stopped_instance_names
            )
        )
    return tasks + stopped_instances