aws_s3_bucket_ownership_controlsNivis Nix constructor for the aws_s3_bucket_ownership_controls 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, bucket, id ? null, region ? null, rule ? null, overrides ? {} }Required arguments
bucket
Optional arguments
id(defaults tonull)region(defaults tonull)rule(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
aws_s3_bucket_ownership_controls {
name = "s3_bucket_ownership_controls";
bucket = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.