greengrass:GetCoreDevice

Read

greengrass:GetCoreDevice is a Read access-level action in the greengrass service. Grants permission to retrieves metadata for a AWS IoT Greengrass core device

Resource types

ARNs that greengrass:GetCoreDevice can be scoped to in an IAM policy.

arn:${Partition}:greengrass:${Region}:${Account}:coreDevices:${CoreDeviceThingName}
coreDevice

Condition keys

Keys you can use in the Condition block of a policy that grants greengrass:GetCoreDevice.

aws:ResourceTag/${TagKey} String

Filters access by checking tag key/value pairs associated with a specific resource

Example IAM policy

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": "*"
    }
  ]
}

Related actions in greengrass

View all greengrass actions →