Download iam/instance-role-inline-policy.json from Allszn/aws-steam-gpu-launchkit: direct link, hf CLI and curl.
- Browser
- Download file 985 Bytes
-
https://huggingface.co/datasets/Allszn/aws-steam-gpu-launchkit/resolve/main/iam/instance-role-inline-policy.json
- Command line
-
hf download hf://datasets/Allszn/aws-steam-gpu-launchkit/iam/instance-role-inline-policy.json
-
curl -L -o instance-role-inline-policy.json https://huggingface.co/datasets/Allszn/aws-steam-gpu-launchkit/resolve/main/iam/instance-role-inline-policy.json
985 Bytes
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Sid": "NvidiaGamingDriverAndCertDownload", | |
| "Effect": "Allow", | |
| "Action": ["s3:ListBucket", "s3:GetObject"], | |
| "Resource": [ | |
| "arn:aws:s3:::nvidia-gaming", | |
| "arn:aws:s3:::nvidia-gaming/*" | |
| ] | |
| }, | |
| { | |
| "Sid": "SelfReportMetricsAndLogs", | |
| "Effect": "Allow", | |
| "Action": [ | |
| "cloudwatch:PutMetricData", | |
| "logs:CreateLogStream", | |
| "logs:PutLogEvents", | |
| "logs:DescribeLogStreams" | |
| ], | |
| "Resource": "*" | |
| }, | |
| { | |
| "Sid": "ReportOwnIdentityAndState", | |
| "Effect": "Allow", | |
| "Action": [ | |
| "ec2:DescribeInstances", | |
| "ec2:DescribeTags", | |
| "ec2:DescribeVolumes", | |
| "sts:GetCallerIdentity" | |
| ], | |
| "Resource": "*" | |
| }, | |
| { | |
| "Sid": "ReadLaunchKitScripts", | |
| "Effect": "Allow", | |
| "Action": ["s3:GetObject"], | |
| "Resource": "arn:aws:s3:::REPLACE-WITH-YOUR-ARTIFACT-BUCKET/*" | |
| } | |
| ] | |
| } | |