1
我是AWS批處理新手。我已經創建了以下角色AWS批:AWS批處理:aws批處理的角色未列出
"AssumeRolePolicyDocument": {
"Statement": [
{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Principal": {
"Service": [
"batch.amazonaws.com"
]
},
"Sid": ""
}
],
"Version": "2012-10-17"
}
而且隨着政策附:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"batch:*",
"cloudwatch:GetMetricStatistics",
"ec2:DescribeSubnets",
"ec2:DescribeSecurityGroups",
"ec2:DescribeKeyPairs",
"ecs:DescribeClusters",
"ecs:Describe*",
"ecs:List*",
"logs:Describe*",
"logs:Get*",
"logs:TestMetricFilter",
"logs:FilterLogEvents",
"iam:ListInstanceProfiles",
"iam:ListRoles"
],
"Resource": "*"
}
]
}
但是,當我試圖創建一個AWS批次中的作用未列出。請幫助我解決我可能錯過的一切。