aws_dynamodb_global_secondary_index

Nivis Nix constructor for the aws_dynamodb_global_secondary_index 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,
  index_name,
  table_name,
  region ? null,
  warm_throughput ? null,
  key_schema ? null,
  on_demand_throughput ? null,
  projection ? null,
  provisioned_throughput ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • index_name
  • table_name
Optional arguments
  • region (defaults to null)
  • warm_throughput (defaults to null)
  • key_schema (defaults to null)
  • on_demand_throughput (defaults to null)
  • projection (defaults to null)
  • provisioned_throughput (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
Example
aws_dynamodb_global_secondary_index {
  name = "dynamodb_global_secondary_index";
  index_name = …;  # required
  table_name = …;  # required
}

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