aws_s3_bucket_public_access_block

Nivis Nix constructor for the aws_s3_bucket_public_access_block 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,
  block_public_acls ? null,
  block_public_policy ? null,
  id ? null,
  ignore_public_acls ? null,
  region ? null,
  restrict_public_buckets ? null,
  skip_destroy ? null,
  overrides ? {}
}
Required arguments
  • bucket
Optional arguments
  • block_public_acls (defaults to null)
  • block_public_policy (defaults to null)
  • id (defaults to null)
  • ignore_public_acls (defaults to null)
  • region (defaults to null)
  • restrict_public_buckets (defaults to null)
  • skip_destroy (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
aws_s3_bucket_public_access_block {
  name = "s3_bucket_public_access_block";
  bucket = …;  # required
}

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