-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCGASE_dynamo_cloud_formation_template
64 lines (64 loc) · 1.58 KB
/
CGASE_dynamo_cloud_formation_template
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
AWSTemplateFormatVersion: 2010-09-09
Metadata:
'AWS::CloudFormation::Designer':
6f0e666d-421a-4e42-bb1c-ac5810210b5f:
size:
width: 60
height: 60
position:
x: 180
'y': 90
z: 1
embeds: []
b9d22221-5ba5-4566-82f0-bc69afeadc1a:
size:
width: 60
height: 60
position:
x: 60
'y': 90
z: 1
embeds: []
Resources:
seUserTable:
Type: 'AWS::DynamoDB::Table'
Properties:
AttributeDefinitions:
- AttributeName: user_id
AttributeType: 'N'
- AttributeName: username
AttributeType: S
- AttributeName: password
AttributeType: S
- AttributeName: department
AttributeType: S
- AttributeName: rank
AttributeType: S
KeySchema:
- AttributeName: user_id
KeyType: RANGE
Metadata:
'AWS::CloudFormation::Designer':
id: b9d22221-5ba5-4566-82f0-bc69afeadc1a
seLogTable:
Type: 'AWS::DynamoDB::Table'
Properties:
AttributeDefinitions:
- AttributeName: message_id
AttributeType: 'N'
- AttributeName: date
AttributeType: S
- AttributeName: time
AttributeType: S
- AttributeName: from
AttributeType: 'N'
- AttributeName: to
AttributeType: 'N'
- AttributeName: message
AttributeType: S
KeySchema:
- AttributeName: user_id
KeyType: RANGE
Metadata:
'AWS::CloudFormation::Designer':
id: 6f0e666d-421a-4e42-bb1c-ac5810210b5f