aws_datasync_task

Nivis Nix constructor for the aws_datasync_task resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  destination_location_arn,
  source_location_arn,
  cloudwatch_log_group_arn ? null,
  id ? null,
  cfg_name ? null,
  region ? null,
  tags ? null,
  tags_all ? null,
  task_mode ? null,
  excludes ? null,
  includes ? null,
  options ? null,
  schedule ? null,
  task_report_config ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • destination_location_arn
  • source_location_arn
Optional arguments
  • cloudwatch_log_group_arn (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • region (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • task_mode (defaults to null)
  • excludes (defaults to null)
  • includes (defaults to null)
  • options (defaults to null)
  • schedule (defaults to null)
  • task_report_config (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
Example
aws_datasync_task {
  name = "datasync_task";
  destination_location_arn = …;  # required
  source_location_arn = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.