

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# CloudFront 的 CloudFront Functions 範例
<a name="service_code_examples_cloudfront_functions_examples"></a>

下列程式碼範例示範如何使用 CloudFront 搭配 AWS SDKs。

**Topics**
+ [新增 HTTP 安全標頭](example_cloudfront_functions_add_security_headers_section.md)
+ [新增 CORS 標頭](example_cloudfront_functions_add_cors_header_section.md)
+ [新增快取控制標頭](example_cloudfront_functions_add_cache_control_header_section.md)
+ [新增真正的用戶端 IP 標頭](example_cloudfront_functions_add_true_client_ip_header_section.md)
+ [新增原始伺服器標頭](example_cloudfront_functions_add_origin_header_section.md)
+ [將 index.html 新增至請求 URL](example_cloudfront_functions_url_rewrite_single_page_apps_section.md)
+ [標準化查詢字串參數](example_cloudfront_functions_normalize_query_string_parameters_section.md)
+ [重新導向到新 URL](example_cloudfront_functions_redirect_based_on_country_section.md)
+ [重寫請求 URI](example_cloudfront_functions_kvs_conditional_read_section.md)
+ [選取更接近瀏覽者的原始伺服器](example_cloudfront_functions_select_origin_based_on_country_section.md)
+ [使用鍵值對](example_cloudfront_functions_kvs_key_value_pairs_section.md)
+ [驗證簡易字符](example_cloudfront_functions_kvs_jwt_verify_section.md)