def __init__()

in app.py [0:0]


  def __init__(self, scope: Construct, id: builtins.str, data_stores:DataStoresConstruct) -> None:
    super().__init__(scope, id)

    # https://docs.aws.amazon.com/lambda/latest/dg/services-cloudwatchevents-expressions.html
    self.efs_linux_task = ds.CfnTask(self,'EFS-Task',
      source_location_arn= data_stores.efs_linux.datasync_location.ref,
      destination_location_arn= data_stores.shared_log_bucket.datasync_location.ref,
      schedule= ds.CfnTask.TaskScheduleProperty(schedule_expression="rate(1 hour)"))

    self.fsx_win_task = ds.CfnTask(self,'FSX-Task',
      source_location_arn= data_stores.fsx_windows.datasync_location.ref,
      destination_location_arn= data_stores.shared_log_bucket.datasync_location.ref,
      schedule= ds.CfnTask.TaskScheduleProperty(schedule_expression="rate(1 hour)"))