本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
AWSDeepRacerServiceRolePolicy
描述:允许 DeepRacer 代表您创建所需的资源和调用 AWS 服务。
AWSDeepRacerServiceRolePolicy
是一项 AWS 托管式策略。
使用此策略
您可以将 AWSDeepRacerServiceRolePolicy
附加到您的用户、组和角色。
策略详细信息
-
类型:服务角色策略
-
创建时间:2019 年 2 月 28 日 21:58 UTC
-
编辑时间:2019 年 6 月 12 日 20:55 UTC
-
ARN:
arn:aws:iam::aws:policy/service-role/AWSDeepRacerServiceRolePolicy
策略版本
策略版本:v3(默认)
此策略的默认版本是定义策略权限的版本。当使用该策略的用户或角色请求访问 AWS 资源时,AWS 会检查策略的默认版本以确定是否允许该请求。
JSON 策略文档
{ "Version" : "2012-10-17", "Statement" : [ { "Effect" : "Allow", "Action" : [ "deepracer:*" ], "Resource" : "*" }, { "Effect" : "Allow", "Action" : [ "robomaker:*", "sagemaker:*", "s3:ListAllMyBuckets" ], "Resource" : "*" }, { "Effect" : "Allow", "Action" : [ "cloudformation:ListStackResources", "cloudformation:DescribeStacks", "cloudformation:CreateStack", "cloudformation:DeleteStack", "cloudformation:DescribeStackResource", "cloudformation:DescribeStackResources", "cloudformation:DescribeStackEvents", "cloudformation:DetectStackDrift", "cloudformation:DescribeStackDriftDetectionStatus", "cloudformation:DescribeStackResourceDrifts" ], "Resource" : "*" }, { "Effect" : "Allow", "Action" : "iam:CreateServiceLinkedRole", "Condition" : { "StringEquals" : { "iam:AWSServiceName" : "robomaker.amazonaws.com" } }, "Resource" : "*" }, { "Effect" : "Allow", "Action" : [ "iam:PassRole" ], "Resource" : [ "arn:aws:iam::*:role/AWSDeepRacer*", "arn:aws:iam::*:role/service-role/AWSDeepRacer*" ] }, { "Effect" : "Allow", "Action" : [ "cloudwatch:GetMetricData", "logs:CreateLogGroup", "logs:CreateLogStream", "logs:DescribeLogStreams", "logs:GetLogEvents", "logs:PutLogEvents" ], "Resource" : "*" }, { "Effect" : "Allow", "Action" : [ "lambda:CreateFunction", "lambda:DeleteFunction", "lambda:GetFunction", "lambda:InvokeFunction", "lambda:UpdateFunctionCode" ], "Resource" : [ "arn:aws:lambda:*:*:function:*DeepRacer*", "arn:aws:lambda:*:*:function:*Deepracer*", "arn:aws:lambda:*:*:function:*deepracer*", "arn:aws:lambda:*:*:function:*dr-*" ] }, { "Effect" : "Allow", "Action" : [ "s3:GetObject", "s3:GetBucketLocation", "s3:DeleteObject", "s3:ListBucket", "s3:PutObject", "s3:PutBucketPolicy", "s3:GetBucketAcl" ], "Resource" : [ "arn:aws:s3:::*DeepRacer*", "arn:aws:s3:::*Deepracer*", "arn:aws:s3:::*deepracer*", "arn:aws:s3:::dr-*" ] }, { "Effect" : "Allow", "Action" : [ "s3:GetObject" ], "Resource" : "*", "Condition" : { "StringEqualsIgnoreCase" : { "s3:ExistingObjectTag/DeepRacer" : "true" } } }, { "Effect" : "Allow", "Action" : [ "kinesisvideo:CreateStream", "kinesisvideo:DeleteStream", "kinesisvideo:DescribeStream", "kinesisvideo:GetDataEndpoint", "kinesisvideo:GetHLSStreamingSessionURL", "kinesisvideo:GetMedia", "kinesisvideo:PutMedia", "kinesisvideo:TagStream" ], "Resource" : [ "arn:aws:kinesisvideo:*:*:stream/dr-*" ] } ] }