aws_cloudfront_functionManages an Cloudfront Function resource.
A minimal configuration to get started. Refer to the Terraform Registry docs for all available arguments.
resource "aws_cloudfront_function" "example" {
# Required arguments
function_name = "my-function"
runtime = "nodejs22.x"
handler = "index.handler"
}Everything you need to know about CloudFront on one page. HD quality, print-friendly.
Download Free Infographicaws_cloudfront_anycast_ip_listaws_cloudfront_cache_policyaws_cloudfront_connection_functionaws_cloudfront_connection_groupaws_cloudfront_continuous_deployment_policyaws_cloudfront_distributionaws_cloudfront_distribution_tenantaws_cloudfront_field_level_encryption_configaws_cloudfront_field_level_encryption_profileaws_cloudfront_key_group