CmdID / aws / aws greengrass
aws greengrass delete-resource-definition
Deletes a resource definition. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To delete a resource definition
The following delete-resource-definition example deletes the specified resource definition, including all resource versions. If you delete a resource definition that is used by a group, that group can't be deployed successfully.
aws greengrass delete-resource-definition --resource-definition-id "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"Identify--resource-definition-idThe ID of the resource definition.This command produces no output.
For more information, see Access local resources with Lambda functions and connectors in the AWS IoT Greengrass Developer Guide.
Options
--resource-definition-idThe ID of the resource definition.