

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

以下代码示例演示了如何将 CloudFront 与 Amazon SDK 结合使用。

**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)