CmdID / aws / aws greengrass
aws greengrass update-resource-definition
Updates a resource definition. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
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 "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" --name GreengrassConnectorResourcesIdentify--resource-definition-idThe ID of the resource definition.--nameThe name of the 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
--nameThe name of the definition.--resource-definition-idThe ID of the resource definition.