aws_datasync_taskNivis 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_arnsource_location_arn
Optional arguments
cloudwatch_log_group_arn(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)region(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)task_mode(defaults tonull)excludes(defaults tonull)includes(defaults tonull)options(defaults tonull)schedule(defaults tonull)task_report_config(defaults tonull)timeouts(defaults tonull)
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.