aws_datasync_location_s3Nivis Nix constructor for the aws_datasync_location_s3 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,
s3_bucket_arn,
subdirectory,
agent_arns ? null,
id ? null,
region ? null,
s3_storage_class ? null,
tags ? null,
tags_all ? null,
s3_config ? null,
overrides ? {}
}Required arguments
s3_bucket_arnsubdirectory
Optional arguments
agent_arns(defaults tonull)id(defaults tonull)region(defaults tonull)s3_storage_class(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)s3_config(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arnuri
Example
aws_datasync_location_s3 {
name = "datasync_location_s3";
s3_bucket_arn = …; # required
subdirectory = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.