Download deployment/aws/lambda/budget_guard_policy.json from Wizzas/DefectRAG: direct link, hf CLI and curl.
- Browser
- Download file 446 Bytes
-
https://huggingface.co/Wizzas/DefectRAG/resolve/main/deployment/aws/lambda/budget_guard_policy.json
- Command line
-
hf download hf://Wizzas/DefectRAG/deployment/aws/lambda/budget_guard_policy.json
-
curl -L -o budget_guard_policy.json https://huggingface.co/Wizzas/DefectRAG/resolve/main/deployment/aws/lambda/budget_guard_policy.json
446 Bytes
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Sid": "ReadInstances", | |
| "Effect": "Allow", | |
| "Action": ["ec2:DescribeInstances"], | |
| "Resource": "*" | |
| }, | |
| { | |
| "Sid": "StopOnlyLabInstances", | |
| "Effect": "Allow", | |
| "Action": ["ec2:StopInstances"], | |
| "Resource": "arn:aws:ec2:*:*:instance/*", | |
| "Condition": { | |
| "StringEquals": { "aws:ResourceTag/Project": "DefectRAG-lab" } | |
| } | |
| } | |
| ] | |
| } | |