greengrass:DeleteCoreDefinition

Write

greengrass:DeleteCoreDefinition is a Write access-level action in the greengrass service. Grants permission to delete a core definition. Deleting a definition that is currently in use in a deployment affects future deployments

Resource types

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

arn:${Partition}:greengrass:${Region}:${Account}:/greengrass/definition/cores/${CoreDefinitionId}
coreDefinition

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tag value associated with the resource

Example IAM policy

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

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

Related actions in greengrass

View all greengrass actions →