aws_s3_bucket

Nivis Nix constructor for the aws_s3_bucket 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,
  acceleration_status ? null,
  acl ? null,
  bucket ? null,
  bucket_namespace ? null,
  bucket_prefix ? null,
  force_destroy ? null,
  id ? null,
  object_lock_enabled ? null,
  policy ? null,
  region ? null,
  request_payer ? null,
  tags ? null,
  tags_all ? null,
  cors_rule ? null,
  grant ? null,
  lifecycle_rule ? null,
  logging ? null,
  object_lock_configuration ? null,
  replication_configuration ? null,
  server_side_encryption_configuration ? null,
  timeouts ? null,
  versioning ? null,
  website ? null,
  overrides ? {}
}
Required arguments

_None._

Optional arguments
  • acceleration_status (defaults to null)
  • acl (defaults to null)
  • bucket (defaults to null)
  • bucket_namespace (defaults to null)
  • bucket_prefix (defaults to null)
  • force_destroy (defaults to null)
  • id (defaults to null)
  • object_lock_enabled (defaults to null)
  • policy (defaults to null)
  • region (defaults to null)
  • request_payer (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • cors_rule (defaults to null)
  • grant (defaults to null)
  • lifecycle_rule (defaults to null)
  • logging (defaults to null)
  • object_lock_configuration (defaults to null)
  • replication_configuration (defaults to null)
  • server_side_encryption_configuration (defaults to null)
  • timeouts (defaults to null)
  • versioning (defaults to null)
  • website (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • bucket_domain_name
  • bucket_region
  • bucket_regional_domain_name
  • hosted_zone_id
  • website_domain
  • website_endpoint
Example
aws_s3_bucket {
  name = "s3_bucket";
}

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