CmdID

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

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

2 in the AWS CLI reference
--nameThe name of the definition.
--resource-definition-idThe ID of the resource definition.