Gets configuration information and metadata about a CloudFront function, but not the function's code¶
Description¶
Gets configuration information and metadata about a CloudFront function, but not the function's code. To get a function's code, use get_function.
To get configuration information and metadata about a function, 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 that you are getting information about.
-
StageThe function's stage, either
DEVELOPMENTorLIVE.
Value¶
A list with the following syntax:
list(
FunctionSummary = list(
Name = "string",
Status = "string",
FunctionConfig = list(
Comment = "string",
Runtime = "cloudfront-js-1.0"|"cloudfront-js-2.0",
KeyValueStoreAssociations = list(
Quantity = 123,
Items = list(
list(
KeyValueStoreARN = "string"
)
)
)
),
FunctionMetadata = list(
FunctionARN = "string",
Stage = "DEVELOPMENT"|"LIVE",
CreatedTime = as.POSIXct(
"2015-01-01"
),
LastModifiedTime = as.POSIXct(
"2015-01-01"
)
)
),
ETag = "string"
)