CloudFront Function

CloudFront Function is a lightweight, serverless code execution environment in Amazon CloudFront. It allows you to run JavaScript functions at CloudFront edge locations to customize content delivery with low latency. Common use cases include URL rewrites, header manipulation, access control, and request or response modifications. It is optimized for high performance and cost efficiency, making it suitable for simple, short-running logic close to users.

aws.cloudfront_function

Fields

TitleIDTypeData TypeDescription
_keycorestring
account_idcorestring
function_arncorestring
function_configcorejsonContains configuration information about a CloudFront function.
function_metadatacorejsonContains metadata about a CloudFront function.
namecorestringThe name of the CloudFront function.
statuscorestringThe status of the CloudFront function.
tagscorehstore