18 lines
436 B
Python
18 lines
436 B
Python
import pulumi
|
|
import pulumi_aws as aws
|
|
import conf as config
|
|
basic_dynamodb_table = aws.dynamodb.Table(config.project_name,
|
|
name="assistente-produtos-servicos-memoria",
|
|
billing_mode="PAY_PER_REQUEST",
|
|
hash_key="UserId",
|
|
range_key="Timestamp",
|
|
attributes=[
|
|
{
|
|
"name": "UserId",
|
|
"type": "S",
|
|
},
|
|
{
|
|
"name": "Timestamp",
|
|
"type": "N",
|
|
}
|
|
]) |