

Sono disponibili altri esempi AWS SDK nel repository [AWS Doc SDK](https://github.com/awsdocs/aws-doc-sdk-examples) Examples. GitHub 

Le traduzioni sono generate tramite traduzione automatica. In caso di conflitto tra il contenuto di una traduzione e la versione originale in Inglese, quest'ultima prevarrà.

# Esempi di codice per CloudFront l'utilizzo AWS SDKs
<a name="cloudfront_code_examples"></a>

I seguenti esempi di codice mostrano come usare Amazon CloudFront con un kit di sviluppo AWS software (SDK).

Le *azioni* sono estratti di codice da programmi più grandi e devono essere eseguite nel contesto. Sebbene le azioni mostrino come richiamare le singole funzioni del servizio, è possibile visualizzarle contestualizzate negli scenari correlati.

*Scenari*: esempi di codice che mostrano come eseguire un’attività specifica chiamando più funzioni all’interno dello stesso servizio o combinate con altri Servizi AWS.

**Altre risorse**
+  **[ CloudFront Guida per gli sviluppatori](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Introduction.html)**: ulteriori informazioni su CloudFront.
+ **[CloudFront Riferimento API](https://docs.aws.amazon.com/cloudfront/latest/APIReference/Welcome.html)**: dettagli su tutte le CloudFront azioni disponibili.
+ **[AWS Developer Center](https://aws.amazon.com/developer/code-examples/?awsf.sdk-code-examples-product=product%23cloudfront)**: esempi di codice che puoi filtrare per categoria o per ricerca completa.
+ **[AWS Esempi SDK](https://github.com/awsdocs/aws-doc-sdk-examples)**: GitHub repository con codice completo nelle lingue preferite. Include le istruzioni su come configurare ed eseguire il codice.

**Contents**
+ [Nozioni di base](cloudfront_code_examples_basics.md)
  + [Azioni](cloudfront_code_examples_actions.md)
    + [`CreateDistribution`](cloudfront_example_cloudfront_CreateDistribution_section.md)
    + [`CreateFunction`](cloudfront_example_cloudfront_CreateFunction_section.md)
    + [`CreateInvalidation`](cloudfront_example_cloudfront_CreateInvalidation_section.md)
    + [`CreateKeyGroup`](cloudfront_example_cloudfront_CreateKeyGroup_section.md)
    + [`CreatePublicKey`](cloudfront_example_cloudfront_CreatePublicKey_section.md)
    + [`DeleteDistribution`](cloudfront_example_cloudfront_DeleteDistribution_section.md)
    + [`GetCloudFrontOriginAccessIdentity`](cloudfront_example_cloudfront_GetCloudFrontOriginAccessIdentity_section.md)
    + [`GetCloudFrontOriginAccessIdentityConfig`](cloudfront_example_cloudfront_GetCloudFrontOriginAccessIdentityConfig_section.md)
    + [`GetDistribution`](cloudfront_example_cloudfront_GetDistribution_section.md)
    + [`GetDistributionConfig`](cloudfront_example_cloudfront_GetDistributionConfig_section.md)
    + [`ListCloudFrontOriginAccessIdentities`](cloudfront_example_cloudfront_ListCloudFrontOriginAccessIdentities_section.md)
    + [`ListDistributions`](cloudfront_example_cloudfront_ListDistributions_section.md)
    + [`UpdateDistribution`](cloudfront_example_cloudfront_UpdateDistribution_section.md)
+ [Scenari](cloudfront_code_examples_scenarios.md)
  + [Creare una distribuzione multi-tenant e un tenant di distribuzione](cloudfront_example_cloudfront_CreateSaasResources_section.md)
  + [Eliminare le risorse di firma](cloudfront_example_cloudfront_DeleteSigningResources_section.md)
  + [Inizia con una CloudFront distribuzione di base](cloudfront_example_cloudfront_GettingStarted_section.md)
  + [Iniziare con WAF](cloudfront_example_wafv2_GettingStarted_052_section.md)
  + [Segno URLs e cookie](cloudfront_example_cloudfront_CloudFrontUtilities_section.md)
+ [CloudFront Esempi di funzioni](cloudfront_code_examples_cloudfront_functions_examples.md)
  + [Aggiungere intestazioni di sicurezza HTTP](cloudfront_example_cloudfront_functions_add_security_headers_section.md)
  + [Aggiungere un’intestazione CORS](cloudfront_example_cloudfront_functions_add_cors_header_section.md)
  + [Aggiungere un’intestazione di controllo della cache](cloudfront_example_cloudfront_functions_add_cache_control_header_section.md)
  + [Aggiungere un’intestazione true-client-ip](cloudfront_example_cloudfront_functions_add_true_client_ip_header_section.md)
  + [Aggiungere un’intestazione di origine](cloudfront_example_cloudfront_functions_add_origin_header_section.md)
  + [Aggiungi index.html alla richiesta URLs](cloudfront_example_cloudfront_functions_url_rewrite_single_page_apps_section.md)
  + [Normalizzazione dei parametri della stringa di query](cloudfront_example_cloudfront_functions_normalize_query_string_parameters_section.md)
  + [Eseguire il reindirizzamento a un nuovo URL](cloudfront_example_cloudfront_functions_redirect_based_on_country_section.md)
  + [Riscrivere l’URI di una richiesta](cloudfront_example_cloudfront_functions_kvs_conditional_read_section.md)
  + [Selezionare l’origine più vicina al visualizzatore](cloudfront_example_cloudfront_functions_select_origin_based_on_country_section.md)
  + [Utilizzare le coppie chiave-valore](cloudfront_example_cloudfront_functions_kvs_key_value_pairs_section.md)
  + [Convalidare un token semplice](cloudfront_example_cloudfront_functions_kvs_jwt_verify_section.md)