CmdID

CmdID / aws / aws cloudfront

aws cloudfront test-function

Tests a CloudFront function. AWS CLI reference

4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

4 in the AWS CLI reference
--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.