aws-steam-gpu-launchkit / iam /instance-role-inline-policy.json
Allszn's picture
Add instance role policy
674f464 verified
Raw History Blame Contribute Delete
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/*"
}
]
}