HEX
Server: LiteSpeed
System: Linux s1080.usc1.mysecurecloudhost.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User: justofft (2594)
PHP: 7.3.33
Disabled: NONE
Upload Files
File: //usr/lib/python3.6/site-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*.