Optional ReadonlyautoReadonlycodeThe source code of the function.
Optional ReadonlycommentA comment to describe the function.
The CloudFront event type that triggers the function (e.g. viewer-request, viewer-response)
The file path to the CloudFront function source code
Optional ReadonlyfunctionA name to identify the function.
Optional ReadonlykeyThe Key Value Store to associate with this function.
In order to associate a Key Value Store, the runtime must be
cloudfront-js-2.0 or newer.
Optional ReadonlyruntimeThe runtime environment for the function.
A flag that determines whether to automatically publish the function to the LIVE stage when it’s created.