Skip to content

Instantly share code, notes, and snippets.

@jdaarevalo
Created April 21, 2023 18:48
Show Gist options
  • Save jdaarevalo/71ce6e20cc8e3e050d3f0fd7790fd193 to your computer and use it in GitHub Desktop.
Save jdaarevalo/71ce6e20cc8e3e050d3f0fd7790fd193 to your computer and use it in GitHub Desktop.
SGProcessesDBTable:
Type: AWS::DynamoDB::Table
Properties:
TableName: !Ref SGProcessesTableName
ProvisionedThroughput:
ReadCapacityUnits: 1
WriteCapacityUnits: 1
KeySchema:
-
AttributeName: "scatter_gather_id"
KeyType: "HASH"
-
AttributeName: "process_id"
KeyType: "RANGE"
AttributeDefinitions:
-
AttributeName: "scatter_gather_id"
AttributeType: "S"
-
AttributeName: "process_id"
AttributeType: "S"
StreamSpecification:
StreamViewType: "NEW_IMAGE"
SGAggregateDBTable:
Type: AWS::DynamoDB::Table
Properties:
TableName: !Ref SGAggregateTableName
ProvisionedThroughput:
ReadCapacityUnits: 1
WriteCapacityUnits: 1
KeySchema:
-
AttributeName: "scatter_gather_id"
KeyType: "HASH"
AttributeDefinitions:
-
AttributeName: "scatter_gather_id"
AttributeType: "S"
StreamSpecification:
StreamViewType: "NEW_IMAGE"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment