CmdID / aws / aws greengrass
aws greengrass delete-function-definition
Deletes a Lambda function definition. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To delete a function definition
The following delete-function-definition example deletes the specified Greengrass function definition. If you delete a function definition that is used by a group, that group can't be deployed successfully.
aws greengrass delete-function-definition --function-definition-id "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"Identify--function-definition-idThe ID of the Lambda function 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
--function-definition-idThe ID of the Lambda function definition.