{
  "terraformType": "cloud_table",
  "service": "tables",
  "resourceType": "Table",
  "create": "CreateTable",
  "read": "DescribeTable",
  "update": "UpdateTable",
  "delete": "DeleteTable",
  "list": "ListTables",
  "importId": "{table_name}",
  "identifierAttrs": [
    "table_name"
  ],
  "createOnly": [
    "table_name",
    "hash_key",
    "range_key"
  ],
  "computed": [
    "id",
    "table_arn"
  ],
  "sensitive": [],
  "readSpec": {
    "calls": [
      {
        "operation": {
          "kind": "cloudJson",
          "service": "tables",
          "operation": "DescribeTable",
          "target": "CloudTables.DescribeTable"
        },
        "requestBindings": [
          {
            "requestPath": "tableName",
            "source": {
              "kind": "physicalId",
              "member": "table_name"
            }
          }
        ]
      }
    ],
    "resultSelector": {
      "kind": "object",
      "path": "table"
    },
    "observedFields": [
      {
        "source": {
          "kind": "selected",
          "path": "tableName"
        },
        "modelField": "tableName",
        "transform": "identity"
      },
      {
        "source": {
          "kind": "selected",
          "path": "tableArn"
        },
        "modelField": "tableArn",
        "transform": "identity"
      },
      {
        "source": {
          "kind": "selected",
          "path": "keySchema"
        },
        "modelField": "hashKey",
        "transform": "hashKey"
      },
      {
        "source": {
          "kind": "selected",
          "path": "keySchema"
        },
        "modelField": "rangeKey",
        "transform": "rangeKey"
      }
    ],
    "readiness": {
      "path": "tableStatus",
      "readyValues": [
        "ACTIVE"
      ],
      "pendingValues": [
        "CREATING",
        "UPDATING"
      ]
    },
    "stableComputed": "preserveWhenAbsent",
    "stableComputedFields": [
      "id",
      "tableArn"
    ]
  },
  "provider": {
    "resourceKind": "table",
    "physicalId": [
      "table_name"
    ],
    "exposeRevision": true,
    "attributes": [
      {
        "name": "id",
        "terraformType": "string",
        "required": false,
        "optional": false,
        "computed": true,
        "sensitive": false,
        "writeOnly": false,
        "requiresReplace": false,
        "createOnly": false
      },
      {
        "name": "table_name",
        "terraformType": "string",
        "required": true,
        "optional": false,
        "computed": false,
        "sensitive": false,
        "writeOnly": false,
        "requiresReplace": true,
        "createOnly": true
      },
      {
        "name": "hash_key",
        "terraformType": "string",
        "required": true,
        "optional": false,
        "computed": false,
        "sensitive": false,
        "writeOnly": false,
        "requiresReplace": true,
        "createOnly": true
      },
      {
        "name": "range_key",
        "terraformType": "string",
        "required": false,
        "optional": true,
        "computed": false,
        "sensitive": false,
        "writeOnly": false,
        "requiresReplace": true,
        "createOnly": true
      },
      {
        "name": "table_arn",
        "terraformType": "string",
        "required": false,
        "optional": false,
        "computed": true,
        "sensitive": false,
        "writeOnly": false,
        "requiresReplace": false,
        "createOnly": false
      }
    ]
  },
  "updateStrategy": {
    "kind": "replace"
  }
}
