On-Demand Capacity

Creating a table (Standard) with minimal parameters

resources:
  # On-Demand Table (Standard Class)
  - name: test-ondemand-table
    type: aws_dynamodb_table
    props:
      table_name: "test-ondemand-table"
      billing_mode: "PAY_PER_REQUEST"
      table_class: "STANDARD"  # Standard storage class
      attribute_definitions:
        - attribute_name: "id"
          attribute_type: "S"
      key_schema:
        - attribute_name: "id"
          key_type: "HASH"
      tags:
        - key: "Environment"
          value: "test"

Example price for above configuration

Creating a table (Standard-IA) with minimal parameters

Example price for above configuration

Last updated

Was this helpful?