CmdID / aws / aws cloudfront
aws cloudfront test-function
Tests a CloudFront function. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--event-objectThe event object to test the function with.--if-matchThe current version (ETag value) of the function that you are testing, which you can get using DescribeFunction.--nameThe name of the function that you are testing.--stageThe stage of the function that you are testing, either DEVELOPMENT or LIVE.