greengrass:GetCoreDevice is a Read access-level action in the greengrass service. Grants permission to retrieves metadata for a AWS IoT Greengrass core device
ARNs that greengrass:GetCoreDevice can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants greengrass:GetCoreDevice.
Filters access by checking tag key/value pairs associated with a specific resource
A minimal policy that allows greengrass:GetCoreDevice. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowGreengrassGetCoreDevice",
"Effect": "Allow",
"Action": "greengrass:GetCoreDevice",
"Resource": "*"
}
]
}