aws_s3_bucket_website_configuration

Nivis Nix constructor for the aws_s3_bucket_website_configuration 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,
  expected_bucket_owner ? null,
  id ? null,
  region ? null,
  routing_rules ? null,
  error_document ? null,
  index_document ? null,
  redirect_all_requests_to ? null,
  routing_rule ? null,
  overrides ? {}
}
Required arguments
  • bucket
Optional arguments
  • expected_bucket_owner (defaults to null)
  • id (defaults to null)
  • region (defaults to null)
  • routing_rules (defaults to null)
  • error_document (defaults to null)
  • index_document (defaults to null)
  • redirect_all_requests_to (defaults to null)
  • routing_rule (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • website_domain
  • website_endpoint
Example
aws_s3_bucket_website_configuration {
  name = "s3_bucket_website_configuration";
  bucket = …;  # required
}

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