-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hello ! Thank you for this cool repo 😄
It could be nice to allow passing SSESpecification during dynamodb table creation !
mostly for internal corporate security mandatory rules
It's not critical, because table creation can be handled outside of py-key
...
await self._connected_client.create_table( # pyright: ignore[reportUnknownMemberType]
TableName=self._table_name,
KeySchema=[
{"AttributeName": "collection", "KeyType": "HASH"}, # Partition key
{"AttributeName": "key", "KeyType": "RANGE"}, # Sort key
],
AttributeDefinitions=[
{"AttributeName": "collection", "AttributeType": "S"},
{"AttributeName": "key", "AttributeType": "S"},
],
BillingMode="PAY_PER_REQUEST", # On-demand billing,
SSESpecification=MySSeSpecification().dict() # <---- here
)
...Have a nice day
Metadata
Metadata
Assignees
Labels
No labels