greengrass:DeleteCoreDevice

Write

greengrass:DeleteCoreDevice is a Write access-level action in the greengrass service. Grants permission to delete a AWS IoT Greengrass core device, which is an AWS IoT thing. This operation removes the core device from the list of core devices. This operation doesn't delete the AWS IoT thing

Resource types

ARNs that greengrass:DeleteCoreDevice 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:DeleteCoreDevice.

aws:ResourceTag/${TagKey} String

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

Dependent actions

To use greengrass:DeleteCoreDevice you may also need to grant:

Example IAM policy

A minimal policy that allows greengrass:DeleteCoreDevice. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowGreengrassDeleteCoreDevice",
      "Effect": "Allow",
      "Action": "greengrass:DeleteCoreDevice",
      "Resource": "*"
    }
  ]
}

Related actions in greengrass

View all greengrass actions →