File: //usr/lib/python3/dist-packages/awscli/examples/greengrass/update-resource-definition.rst
**To update the name for a resource definition**
The following ``update-resource-definition`` example updates the name for the specified resource definition. If you want to change the details for the resource, use the ``create-resource-definition-version`` command to create a new version. ::
aws greengrass update-resource-definition \
--resource-definition-id "c8bb9ebc-c3fd-40a4-9c6a-568d75569d38" \
--name GreengrassConnectorResoruces
This command produces no output.
For more information, see `Access Local Resources with Lambda Functions and Connectors <https://docs.aws.amazon.com/greengrass/latest/developerguide/access-local-resources.html>`__ in the *AWS IoT Greengrass Developer Guide*.