FunctionMetadata
¶
Source code in docs_src/capo_cloudfront/types/function_metadata.py
created_time
instance-attribute
¶
created_time: NotRequired[timestamp]
The date and time when the function was created.
function_arn
instance-attribute
¶
function_arn: string
The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.
last_modified_time
instance-attribute
¶
last_modified_time: timestamp
The date and time when the function was most recently updated.
stage
instance-attribute
¶
stage: NotRequired[FunctionStage]
The stage that the function is in, either DEVELOPMENT or LIVE.
When a function is in the DEVELOPMENT stage, you can test the function with TestFunction, and update it with UpdateFunction.
When a function is in the LIVE stage, you can attach the function to a distribution's cache behavior, using the function's ARN.