{ "Version": "2012-10-17", "Statement": [ { "Sid": "InspectAndManageBenchmarkWorkers", "Effect": "Allow", "Action": [ "ec2:Describe*", "ec2:RunInstances", "ec2:CreateTags", "ec2:StartInstances", "ec2:StopInstances", "ec2:TerminateInstances" ], "Resource": "*" }, { "Sid": "ControlWorkersThroughSSM", "Effect": "Allow", "Action": [ "ssm:CancelCommand", "ssm:DescribeInstanceInformation", "ssm:GetCommandInvocation", "ssm:ListCommandInvocations", "ssm:ListCommands", "ssm:ResumeSession", "ssm:SendCommand", "ssm:StartSession", "ssm:TerminateSession" ], "Resource": "*" }, { "Sid": "BenchmarkObjectStorage", "Effect": "Allow", "Action": [ "s3:GetObject", "s3:PutObject", "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::REPLACE_BUCKET", "arn:aws:s3:::REPLACE_BUCKET/*" ] }, { "Sid": "ReadCapacity", "Effect": "Allow", "Action": [ "servicequotas:GetServiceQuota", "servicequotas:ListServiceQuotas" ], "Resource": "*" }, { "Sid": "PassWorkerRole", "Effect": "Allow", "Action": "iam:PassRole", "Resource": "arn:aws:iam::REPLACE_ACCOUNT_ID:role/REPLACE_WORKER_ROLE" } ] }