CmdID / aws / aws cloudfront
aws cloudfront delete-function
Deletes a CloudFront function. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--if-matchThe current version (ETag value) of the function that you are deleting, which you can get using DescribeFunction.--nameThe name of the function that you are deleting.