SHARE
TWEET

Untitled

a guest Mar 26th, 2020 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. resources:
  3.   Resources:
  4.     CoachUserRolesTable:
  5.       Type: AWS:DynamoDB::Table
  6.       Properties:
  7.         TableName: CoachUserRoles
  8.         KeySchema:
  9.           - AttributeName: UserUUID
  10.             KeyType: HASH
  11.         AttributeDefinitions:
  12.           - AttributeName: UserUUID
  13.             AttributeType: "S"
  14.         ProvisionedThroughput:
  15.           ReadCapacityUnits: 1
  16.           WriteCapacityUnits: 1
  17.     CoachRelationshipsTable:
  18.       Type: AWS:DynamoDB::Table
  19.       Properties:
  20.         TableName: CoachRelationships
  21.         KeySchema:
  22.           - AttributeName: CoachUUID
  23.             KeyType: HASH
  24.           - AttributeName: ParticipantUUID
  25.             KeyType: RANGE
  26.         AttributeDefinitions:
  27.           - AttributeName: CoachUUID
  28.             AttributeType: "S"
  29.           - AttributeName: ParticipantUUID
  30.             AttributeType: "S"
  31.         GlobalSecondaryIndexes:
  32.           - IndexName: CoachIndex
  33.             KeySchema:
  34.               - AttributeName: CoachUUID
  35.                 KeyType: HASH
  36.             Projection:
  37.               ProjectionType: INCLUDE
  38.               NonKeyAttributes:
  39.                - Active
  40.                 - CoachName
  41.                 - CoachRole
  42.                 - ParticipantName
  43.                 - ParticipantEmail
  44.                 - ParticipantUUID
  45.             ProvisionedThroughput:
  46.               ReadCapacityUnits: 10
  47.               WriteCapacityUnites: 10
  48.           - IndexName: ParticipantIndex
  49.               KeySchema:
  50.             - AttributeName: ParticipantUUID
  51.               KeyType: HASH
  52.             Projection:
  53.               ProjectionType: INCLUDE
  54.               NonKeyAttributes:
  55.                - Active
  56.                 - CoachName
  57.                 - CoachUUID
  58.                 - CoachRole
  59.                 - ParticipantName
  60.                 - ParticipantEmail
  61.             ProvisionedThroughput:
  62.               ReadCapacityUnits: 5
  63.               WriteCapacityUnits: 5
  64.         ProvisionedThroughput:
  65.         ReadCapacityUnits: 10
  66.         WriteCapacityUnits: 10
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top