feat(bridges): introduce DynamoDB definition files from v4
This commit is contained in:
parent
b8b1a78025
commit
bfc2920a55
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"TableName": "mqtt_acked",
|
||||
"KeySchema": [
|
||||
{ "AttributeName": "topic", "KeyType": "HASH" },
|
||||
{ "AttributeName": "clientid", "KeyType": "RANGE" }
|
||||
],
|
||||
"AttributeDefinitions": [
|
||||
{ "AttributeName": "topic", "AttributeType": "S" },
|
||||
{ "AttributeName": "clientid", "AttributeType": "S" }
|
||||
],
|
||||
"ProvisionedThroughput": {
|
||||
"ReadCapacityUnits": 5,
|
||||
"WriteCapacityUnits": 5
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"TableName": "mqtt_client",
|
||||
"KeySchema": [
|
||||
{ "AttributeName": "clientid", "KeyType": "HASH" }
|
||||
],
|
||||
"AttributeDefinitions": [
|
||||
{ "AttributeName": "clientid", "AttributeType": "S" }
|
||||
],
|
||||
"ProvisionedThroughput": {
|
||||
"ReadCapacityUnits": 5,
|
||||
"WriteCapacityUnits": 5
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"TableName": "mqtt_clientid_msg_map",
|
||||
"KeySchema": [
|
||||
{ "AttributeName": "clientid", "KeyType": "HASH" }
|
||||
],
|
||||
"AttributeDefinitions": [
|
||||
{ "AttributeName": "clientid", "AttributeType": "S" }
|
||||
],
|
||||
"ProvisionedThroughput": {
|
||||
"ReadCapacityUnits": 5,
|
||||
"WriteCapacityUnits": 5
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"TableName": "mqtt_msg",
|
||||
"KeySchema": [
|
||||
{ "AttributeName": "id", "KeyType": "HASH" }
|
||||
],
|
||||
"AttributeDefinitions": [
|
||||
{ "AttributeName": "id", "AttributeType": "S" }
|
||||
],
|
||||
"ProvisionedThroughput": {
|
||||
"ReadCapacityUnits": 5,
|
||||
"WriteCapacityUnits": 5
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"TableName": "mqtt_retain",
|
||||
"KeySchema": [
|
||||
{ "AttributeName": "topic", "KeyType": "HASH" }
|
||||
],
|
||||
"AttributeDefinitions": [
|
||||
{ "AttributeName": "topic", "AttributeType": "S" }
|
||||
],
|
||||
"ProvisionedThroughput": {
|
||||
"ReadCapacityUnits": 5,
|
||||
"WriteCapacityUnits": 5
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"TableName": "mqtt_sub",
|
||||
"KeySchema": [
|
||||
{ "AttributeName": "clientid", "KeyType": "HASH" },
|
||||
{ "AttributeName": "topic", "KeyType": "RANGE" }
|
||||
],
|
||||
"AttributeDefinitions": [
|
||||
{ "AttributeName": "clientid", "AttributeType": "S" },
|
||||
{ "AttributeName": "topic", "AttributeType": "S" }
|
||||
],
|
||||
"ProvisionedThroughput": {
|
||||
"ReadCapacityUnits": 5,
|
||||
"WriteCapacityUnits": 5
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"TableName": "mqtt_topic_msg_map",
|
||||
"KeySchema": [
|
||||
{ "AttributeName": "topic", "KeyType": "HASH" }
|
||||
],
|
||||
"AttributeDefinitions": [
|
||||
{ "AttributeName": "topic", "AttributeType": "S" }
|
||||
],
|
||||
"ProvisionedThroughput": {
|
||||
"ReadCapacityUnits": 5,
|
||||
"WriteCapacityUnits": 5
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue