forked from dekz/awsm-users
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathawsm.json
48 lines (48 loc) · 1.3 KB
/
awsm.json
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
{
"name": "awsm-users",
"version": "0.0.1",
"location": "https://github.com/dekz/awsm-users",
"author": "dekz <[email protected]>",
"description": "Authentication Lifecycle for JAWS",
"resources": {
"cloudFormation": {
"ApiGatewayIamPolicyDocumentStatements": [],
"LambdaIamPolicyDocumentStatements": [
{
"Effect": "Allow",
"Action": [ "*" ],
"Resource": {
"Fn::Join": [
":",
[ "arn:aws:dynamodb", { "Ref": "AWS::Region" }, "*", "table/jaws-users" ]
]
}
}
],
"Resources": {
"DynamoDB": {
"Type" : "AWS::DynamoDB::Table",
"Properties": {
"AttributeDefinitions": [
{
"AttributeName": "email",
"AttributeType": "S"
}
],
"KeySchema" : [
{
"AttributeName": "email",
"KeyType": "HASH"
}
],
"ProvisionedThroughput" : {
"ReadCapacityUnits": { "Ref" : "aaDefaultDynamoRWThroughput" },
"WriteCapacityUnits": { "Ref" : "aaDefaultDynamoRWThroughput" }
},
"TableName": "jaws-users"
}
}
}
}
}
}