AWSPanoramaServiceRolePolicy
Description: Allows AWS Panorama to manage resources in Amazon S3, AWS IoT, AWS IoT GreenGrass, AWS Lambda, Amazon SageMaker, and Amazon CloudWatch Logs, and to pass service roles to AWS IoT, AWS IoT GreenGrass, and Amazon SageMaker.
AWSPanoramaServiceRolePolicy
is an AWS managed policy.
Using this policy
You can attach AWSPanoramaServiceRolePolicy
to your users, groups, and roles.
Policy
details
-
Type: Service role policy
-
Creation time: December 01, 2020, 13:14 UTC
-
Edited time: December 01, 2020, 13:14 UTC
-
ARN:
arn:aws:iam::aws:policy/service-role/AWSPanoramaServiceRolePolicy
Policy version
Policy version: v1 (default)
The policy's default version is the version that defines the permissions for the policy. When a user or role with the policy makes a request to access an AWS resource, AWS checks the default version of the policy to determine whether to allow the request.
JSON policy document
{
"Version" : "2012-10-17",
"Statement" : [
{
"Sid" : "PanoramaIoTThingAccess",
"Effect" : "Allow",
"Action" : [
"iot:CreateThing",
"iot:DeleteThing",
"iot:DeleteThingShadow",
"iot:DescribeThing",
"iot:GetThingShadow",
"iot:UpdateThing",
"iot:UpdateThingShadow"
],
"Resource" : [
"arn:aws:iot:*:*:thing/panorama*"
]
},
{
"Sid" : "PanoramaIoTCertificateAccess",
"Effect" : "Allow",
"Action" : [
"iot:AttachThingPrincipal",
"iot:DetachThingPrincipal",
"iot:UpdateCertificate",
"iot:DeleteCertificate",
"iot:AttachPrincipalPolicy",
"iot:DetachPrincipalPolicy"
],
"Resource" : [
"arn:aws:iot:*:*:thing/panorama*",
"arn:aws:iot:*:*:cert/*"
]
},
{
"Sid" : "PanoramaIoTCreateCertificateAndPolicyAccess",
"Effect" : "Allow",
"Action" : [
"iot:CreateKeysAndCertificate",
"iot:CreatePolicy"
],
"Resource" : [
"*"
]
},
{
"Sid" : "PanoramaIoTCreatePolicyVersionAccess",
"Effect" : "Allow",
"Action" : [
"iot:CreatePolicyVersion"
],
"Resource" : [
"arn:aws:iot:*:*:policy/panorama*"
]
},
{
"Sid" : "PanoramaIoTJobAccess",
"Effect" : "Allow",
"Action" : [
"iot:DescribeJobExecution",
"iot:CreateJob",
"iot:DeleteJob"
],
"Resource" : [
"arn:aws:iot:*:*:job/panorama*",
"arn:aws:iot:*:*:thing/panorama*"
]
},
{
"Sid" : "PanoramaIoTEndpointAccess",
"Effect" : "Allow",
"Action" : [
"iot:DescribeEndpoint"
],
"Resource" : [
"*"
]
},
{
"Sid" : "PanoramaAccess",
"Effect" : "Allow",
"Action" : [
"panorama:Describe*",
"panorama:List*",
"panorama:Get*"
],
"Resource" : [
"*"
]
},
{
"Sid" : "PanoramaS3Access",
"Effect" : "Allow",
"Action" : [
"s3:GetObject",
"s3:PutObject",
"s3:DeleteObject",
"s3:DeleteBucket",
"s3:ListBucket",
"s3:GetBucket*",
"s3:CreateBucket"
],
"Resource" : [
"arn:aws:s3:::*aws-panorama*"
]
},
{
"Sid" : "PanoramaIAMPassSageMakerRoleAccess",
"Effect" : "Allow",
"Action" : [
"iam:PassRole"
],
"Resource" : [
"arn:aws:iam::*:role/AWSPanoramaSageMakerRole",
"arn:aws:iam::*:role/service-role/AWSPanoramaSageMakerRole"
],
"Condition" : {
"StringEquals" : {
"iam:PassedToService" : [
"sagemaker.amazonaws.com"
]
}
}
},
{
"Sid" : "PanoramaIAMPassGreengrassRoleAccess",
"Effect" : "Allow",
"Action" : [
"iam:PassRole"
],
"Resource" : [
"arn:aws:iam::*:role/AWSPanoramaGreengrassGroupRole",
"arn:aws:iam::*:role/service-role/AWSPanoramaGreengrassGroupRole",
"arn:aws:iam::*:role/AWSPanoramaGreengrassRole",
"arn:aws:iam::*:role/service-role/AWSPanoramaGreengrassRole"
],
"Condition" : {
"StringEquals" : {
"iam:PassedToService" : [
"greengrass.amazonaws.com"
]
}
}
},
{
"Sid" : "PanoramaIAMPassIoTRoleAccess",
"Effect" : "Allow",
"Action" : [
"iam:PassRole"
],
"Resource" : [
"arn:aws:iam::*:role/AWSPanoramaApplianceRole",
"arn:aws:iam::*:role/service-role/AWSPanoramaApplianceRole"
],
"Condition" : {
"StringEqualsIfExists" : {
"iam:PassedToService" : "iot.amazonaws.com"
}
}
},
{
"Sid" : "PanoramaGreenGrassAccess",
"Effect" : "Allow",
"Action" : [
"greengrass:AssociateRoleToGroup",
"greengrass:AssociateServiceRoleToAccount",
"greengrass:CreateResourceDefinition",
"greengrass:CreateResourceDefinitionVersion",
"greengrass:CreateCoreDefinition",
"greengrass:CreateCoreDefinitionVersion",
"greengrass:CreateDeployment",
"greengrass:CreateFunctionDefinition",
"greengrass:CreateFunctionDefinitionVersion",
"greengrass:CreateGroup",
"greengrass:CreateGroupCertificateAuthority",
"greengrass:CreateGroupVersion",
"greengrass:CreateLoggerDefinition",
"greengrass:CreateLoggerDefinitionVersion",
"greengrass:CreateSubscriptionDefinition",
"greengrass:CreateSubscriptionDefinitionVersion",
"greengrass:DeleteCoreDefinition",
"greengrass:DeleteFunctionDefinition",
"greengrass:DeleteResourceDefinition",
"greengrass:DeleteGroup",
"greengrass:DeleteLoggerDefinition",
"greengrass:DeleteSubscriptionDefinition",
"greengrass:DisassociateRoleFromGroup",
"greengrass:DisassociateServiceRoleFromAccount",
"greengrass:GetAssociatedRole",
"greengrass:GetConnectivityInfo",
"greengrass:GetCoreDefinition",
"greengrass:GetCoreDefinitionVersion",
"greengrass:GetDeploymentStatus",
"greengrass:GetDeviceDefinition",
"greengrass:GetDeviceDefinitionVersion",
"greengrass:GetFunctionDefinition",
"greengrass:GetFunctionDefinitionVersion",
"greengrass:GetGroup",
"greengrass:GetGroupCertificateAuthority",
"greengrass:GetGroupCertificateConfiguration",
"greengrass:GetGroupVersion",
"greengrass:GetLoggerDefinition",
"greengrass:GetLoggerDefinitionVersion",
"greengrass:GetResourceDefinition",
"greengrass:GetServiceRoleForAccount",
"greengrass:GetSubscriptionDefinition",
"greengrass:GetSubscriptionDefinitionVersion",
"greengrass:ListCoreDefinitionVersions",
"greengrass:ListCoreDefinitions",
"greengrass:ListDeployments",
"greengrass:ListDeviceDefinitionVersions",
"greengrass:ListDeviceDefinitions",
"greengrass:ListFunctionDefinitionVersions",
"greengrass:ListFunctionDefinitions",
"greengrass:ListGroupCertificateAuthorities",
"greengrass:ListGroupVersions",
"greengrass:ListGroups",
"greengrass:ListLoggerDefinitionVersions",
"greengrass:ListLoggerDefinitions",
"greengrass:ListSubscriptionDefinitionVersions",
"greengrass:ListSubscriptionDefinitions",
"greengrass:ResetDeployments",
"greengrass:UpdateConnectivityInfo",
"greengrass:UpdateCoreDefinition",
"greengrass:UpdateDeviceDefinition",
"greengrass:UpdateFunctionDefinition",
"greengrass:UpdateGroup",
"greengrass:UpdateGroupCertificateConfiguration",
"greengrass:UpdateLoggerDefinition",
"greengrass:UpdateSubscriptionDefinition",
"greengrass:UpdateResourceDefinition"
],
"Resource" : [
"*"
]
},
{
"Sid" : "PanoramaLambdaUsersFunctionAccess",
"Effect" : "Allow",
"Action" : [
"lambda:GetFunction",
"lambda:GetFunctionConfiguration",
"lambda:ListFunctions",
"lambda:ListVersionsByFunction"
],
"Resource" : [
"arn:aws:lambda:*:*:function:*"
]
},
{
"Sid" : "PanoramaSageMakerWriteAccess",
"Effect" : "Allow",
"Action" : [
"sagemaker:CreateTrainingJob",
"sagemaker:StopTrainingJob",
"sagemaker:CreateCompilationJob",
"sagemaker:DescribeCompilationJob",
"sagemaker:StopCompilationJob"
],
"Resource" : [
"arn:aws:sagemaker:*:*:training-job/panorama*",
"arn:aws:sagemaker:*:*:compilation-job/panorama*"
]
},
{
"Sid" : "PanoramaSageMakerListAccess",
"Effect" : "Allow",
"Action" : [
"sagemaker:ListCompilationJobs"
],
"Resource" : [
"*"
]
},
{
"Sid" : "PanoramaSageMakerReadAccess",
"Effect" : "Allow",
"Action" : [
"sagemaker:DescribeTrainingJob"
],
"Resource" : [
"arn:aws:sagemaker:*:*:training-job/*"
]
},
{
"Sid" : "PanoramaCWLogsAccess",
"Effect" : "Allow",
"Action" : [
"iot:AttachPolicy",
"iot:CreateRoleAlias"
],
"Resource" : [
"arn:aws:iot:*:*:policy/panorama*",
"arn:aws:iot:*:*:rolealias/panorama*"
]
}
]
}