Sha256: 2548236852ac8d7a3e8f6a2c9be1e820db7061b854bf69dfeac3b808f76e5201

Contents?: true

Size: 1.54 KB

Versions: 62

Compression:

Stored size: 1.54 KB

Contents

Resources:
  JobsTable:
    Type: AWS::DynamoDB::Table
    Properties:
      TableName: ${self:custom.funktor.JobsTableName}
      AttributeDefinitions:
        - AttributeName: jobShard
          AttributeType: S
        - AttributeName: jobId
          AttributeType: S
        - AttributeName: category
          AttributeType: S
        - AttributeName: performAt
          AttributeType: S
        - AttributeName: queueable
          AttributeType: S
      KeySchema:
        - AttributeName: jobShard
          KeyType: HASH
        - AttributeName: jobId
          KeyType: RANGE
      GlobalSecondaryIndexes:
        - IndexName: performAtIndex
          KeySchema:
          - AttributeName: queueable
            KeyType: HASH
          - AttributeName: performAt
            KeyType: RANGE
          Projection:
            NonKeyAttributes:
            - jobId
            - payload
            - category
            ProjectionType: INCLUDE
        - IndexName: categoryIndex
          KeySchema:
          - AttributeName: category
            KeyType: HASH
          - AttributeName: performAt
            KeyType: RANGE
          Projection:
            NonKeyAttributes:
            - jobId
            - payload
            - category
            ProjectionType: INCLUDE
      BillingMode: PAY_PER_REQUEST
      # Set the capacity based on the stage
      #ProvisionedThroughput:
        #ReadCapacityUnits: ${self:custom.tableThroughput}
        #WriteCapacityUnits: ${self:custom.tableThroughput}

Outputs:
  JobsTable:
    Value:
      Ref: JobsTable

Version data entries

62 entries across 31 versions & 1 rubygems

Version Path
funktor-0.7.30 lib/funktor/cli/templates/funktor_config/resources/jobs_table.yml
funktor-0.7.30 funktor-testapp/funktor_config/resources/jobs_table.yml
funktor-0.7.29 lib/funktor/cli/templates/funktor_config/resources/jobs_table.yml
funktor-0.7.29 funktor-testapp/funktor_config/resources/jobs_table.yml
funktor-0.7.28 lib/funktor/cli/templates/funktor_config/resources/jobs_table.yml
funktor-0.7.28 funktor-testapp/funktor_config/resources/jobs_table.yml
funktor-0.7.27 lib/funktor/cli/templates/funktor_config/resources/jobs_table.yml
funktor-0.7.27 funktor-testapp/funktor_config/resources/jobs_table.yml
funktor-0.7.26 lib/funktor/cli/templates/funktor_config/resources/jobs_table.yml
funktor-0.7.26 funktor-testapp/funktor_config/resources/jobs_table.yml
funktor-0.7.25 funktor-testapp/funktor_config/resources/jobs_table.yml
funktor-0.7.25 lib/funktor/cli/templates/funktor_config/resources/jobs_table.yml
funktor-0.7.24 funktor-testapp/funktor_config/resources/jobs_table.yml
funktor-0.7.24 lib/funktor/cli/templates/funktor_config/resources/jobs_table.yml
funktor-0.7.23 lib/funktor/cli/templates/funktor_config/resources/jobs_table.yml
funktor-0.7.23 funktor-testapp/funktor_config/resources/jobs_table.yml
funktor-0.7.22 funktor-testapp/funktor_config/resources/jobs_table.yml
funktor-0.7.22 lib/funktor/cli/templates/funktor_config/resources/jobs_table.yml
funktor-0.7.21 funktor-testapp/funktor_config/resources/jobs_table.yml
funktor-0.7.21 lib/funktor/cli/templates/funktor_config/resources/jobs_table.yml