-
Notifications
You must be signed in to change notification settings - Fork 2
/
bitcoin_api_user_deployAPIFunctions.json
executable file
·41 lines (41 loc) · 2.2 KB
/
bitcoin_api_user_deployAPIFunctions.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
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor1",
"Effect": "Allow",
"Action": "iam:PassRole",
"Resource": [
"arn:aws:iam::aws_account_number:role/bitcoin_api_lambda_infrastructure_emptyLambda",
"arn:aws:iam::aws_account_number:role/bitcoin_api_lambda_api_tokens_post",
"arn:aws:iam::aws_account_number:role/bitcoin_api_lambda_api_tokens_get",
"arn:aws:iam::aws_account_number:role/bitcoin_api_lambda_api_tokens_put",
"arn:aws:iam::aws_account_number:role/bitcoin_api_lambda_api_addresses_post",
"arn:aws:iam::aws_account_number:role/bitcoin_api_lambda_api_feeData_get",
"arn:aws:iam::aws_account_number:role/bitcoin_api_lambda_api_withdraws_post",
"arn:aws:iam::aws_account_number:role/bitcoin_api_lambda_service_cacheOnAndOffStatus"
]
},
{
"Sid": "VisualEditor2",
"Effect": "Allow",
"Action": [
"lambda:GetFunction",
"lambda:CreateFunction",
"lambda:UpdateFunctionCode",
"lambda:UpdateFunctionConfiguration"
],
"Resource": [
"arn:aws:lambda:aws_region:aws_account_number:function:bitcoin_api_infrastructure_emptyLambda",
"arn:aws:lambda:aws_region:aws_account_number:function:bitcoin_api_api_tokens_post",
"arn:aws:lambda:aws_region:aws_account_number:function:bitcoin_api_api_tokens_patch",
"arn:aws:lambda:aws_region:aws_account_number:function:bitcoin_api_api_tokens_get",
"arn:aws:lambda:aws_region:aws_account_number:function:bitcoin_api_api_tokens_put",
"arn:aws:lambda:aws_region:aws_account_number:function:bitcoin_api_api_addresses_post",
"arn:aws:lambda:aws_region:aws_account_number:function:bitcoin_api_api_feeData_get",
"arn:aws:lambda:aws_region:aws_account_number:function:bitcoin_api_api_withdraws_post",
"arn:aws:lambda:aws_region:aws_account_number:function:bitcoin_api_service_cacheOnAndOffStatus"
]
}
]
}