Gets the code of a CloudFront function¶
Description¶
Gets the code of a CloudFront function. To get configuration information and metadata about a function, use describe_function.
To get a function's code, you must provide the function's name and stage. To get these values, you can use list_functions.
Usage¶
Arguments¶
-
Name[required] The name of the function whose code you are getting.
-
StageThe function's stage, either
DEVELOPMENTorLIVE.
Value¶
A list with the following syntax: