AWS DeepLens Guía para desarrolladores
Ejemplos de políticas basadas en identidad
{
"Sid": "DeepLensIoTAttachCertificatePolicyAccess",
"Effect": "Allow",
"Action": [
"iot:AttachPrincipalPolicy"
],
"Resource": [
"arn:aws:iot:*:*:policy/deeplens*",
"arn:aws:iot:*:*:cert/*"
]
},
{
"Sid": "DeepLensIoTDataAccess",
"Effect": "Allow",
"Action": [
"iot:GetThingShadow",
"iot:UpdateThingShadow"
],
"Resource": [
"arn:aws:iot:*:*:thing/deeplens_*"
]
},
{
"Sid": "DeepLensIoTEndpointAccess",
"Effect": "Allow",
"Action": [
"iot:DescribeEndpoint"
],
"Resource": [
"*"
]
},
{
"Sid": "DeepLensAccess",
"Effect": "Allow",
"Action": [
"deeplens:*"
],
"Resource": [
"*"
]
},
{
"Sid": "DeepLensS3ObjectAccess",
"Effect": "Allow",
"Action": [
"s3:GetObject"
],
"Resource": [
"arn:aws:s3:::deeplens*/*"
]
},
{
"Sid": "DeepLensS3Buckets",
"Effect": "Allow",
"Action": [
"s3:DeleteBucket",
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::deeplens*"
]
},
{
"Sid": "DeepLensCreateS3Buckets",
"Effect": "Allow",
172