CmdID

CmdID / aws / aws greengrass

aws greengrass update-function-definition

Updates a Lambda function 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 function definition

The following update-function-definition example updates the name for the specified function definition. If you want to update the details for the function, use the create-function-definition-version command to create a new version.

aws greengrass update-function-definition --function-definition-id "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" --name ObsoleteFunctionIdentify
--function-definition-idThe ID of the Lambda function definition.
--nameThe name of the definition.

This command produces no output.

For more information, see Run Lambda functions on the AWS IoT Greengrass core in the AWS IoT Greengrass Developer Guide.

Options

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