aws_s3_bucket_public_access_blockNivis 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 tonull)block_public_policy(defaults tonull)id(defaults tonull)ignore_public_acls(defaults tonull)region(defaults tonull)restrict_public_buckets(defaults tonull)skip_destroy(defaults tonull)
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.