CmdID / aws / aws cloudfront
aws cloudfront create-function
Creates 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, including an optional comment and the function's runtime.--nameA name to identify the function.--tagsA complex type that contains zero or more Tag elements.