aws_s3_bucket_lifecycle_configuration

Nivis Nix constructor for the aws_s3_bucket_lifecycle_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,
  region ? null,
  transition_default_minimum_object_size ? null,
  rule ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • bucket
Optional arguments
  • expected_bucket_owner (defaults to null)
  • region (defaults to null)
  • transition_default_minimum_object_size (defaults to null)
  • rule (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • id
Example
aws_s3_bucket_lifecycle_configuration {
  name = "s3_bucket_lifecycle_configuration";
  bucket = …;  # required
}

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