CmdID / aws / aws cloudfront
aws cloudfront update-function
Updates a CloudFront function. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--function-codeThe function code.--function-configConfiguration information about the function.--if-matchThe current version (ETag value) of the function that you are updating, which you can get using DescribeFunction.--nameThe name of the function that you are updating.