-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdata.template
More file actions
35 lines (31 loc) · 825 Bytes
/
data.template
File metadata and controls
35 lines (31 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
AWSTemplateFormatVersion: "2010-09-09"
Description: BigOrange.Cloud Updates data layer
Parameters:
ParameterScope:
Type: String
Description: The top-level scope for parameters
Resources:
ActiveTable:
Type: AWS::DynamoDB::Table
Properties:
AttributeDefinitions:
- AttributeName: PK
AttributeType: S
- AttributeName: SK
AttributeType: S
KeySchema:
- AttributeName: PK
KeyType: HASH
- AttributeName: SK
KeyType: RANGE
BillingMode: PAY_PER_REQUEST
TimeToLiveSpecification:
AttributeName: expiresAt
Enabled: true
ActiveTableNameParameter:
Type: AWS::SSM::Parameter
Properties:
Name: !Sub ${ParameterScope}/tables/active/name
Type: String
Value: !Ref ActiveTable