

Doc AWS SDK 예제 GitHub 리포지토리에서 더 많은 SDK 예제를 사용할 수 있습니다. [AWS](https://github.com/awsdocs/aws-doc-sdk-examples) 

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# AWS SDKs를 사용하는 CloudFront의 코드 예제
<a name="cloudfront_code_examples"></a>

다음 코드 예제에서는 Amazon CloudFront를 AWS 소프트웨어 개발 키트(SDK)와 함께 사용하는 방법을 보여줍니다.

*작업*은 대규모 프로그램에서 발췌한 코드이며 컨텍스트에 맞춰 실행해야 합니다. 작업은 개별 서비스 함수를 직접 호출하는 방법을 보여주며, 관련 시나리오의 컨텍스트에 맞는 작업을 볼 수 있습니다.

*시나리오*는 동일한 서비스 내에서 또는 다른 AWS 서비스와 결합된 상태에서 여러 함수를 직접적으로 호출하여 특정 태스크를 수행하는 방법을 보여주는 코드 예제입니다.

**추가 리소스**
+  **[CloudFront 개발자 가이드](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Introduction.html)** - CloudFront에 대한 자세한 정보입니다.
+ **[CloudFront API 참조](https://docs.aws.amazon.com/cloudfront/latest/APIReference/Welcome.html)** - 사용 가능한 모든 CloudFront 작업에 대한 세부 정보입니다.
+ **[AWS 개발자 센터](https://aws.amazon.com/developer/code-examples/?awsf.sdk-code-examples-product=product%23cloudfront)** - 범주 또는 전체 텍스트 검색을 기준으로 필터링할 수 있는 코드 예제입니다.
+ **[AWS SDK 예제](https://github.com/awsdocs/aws-doc-sdk-examples)** - 기본 설정 언어로 된 전체 코드가 포함된 GitHub 리포지토리. 코드 설정 및 실행을 위한 지침이 포함되어 있습니다.

**Contents**
+ [기본 사항](cloudfront_code_examples_basics.md)
  + [작업](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)
+ [시나리오](cloudfront_code_examples_scenarios.md)
  + [다중 테넌트 배포 및 배포 테넌트 생성](cloudfront_example_cloudfront_CreateSaasResources_section.md)
  + [서명 리소스 삭제](cloudfront_example_cloudfront_DeleteSigningResources_section.md)
  + [기본 CloudFront 배포 시작하기](cloudfront_example_cloudfront_GettingStarted_section.md)
  + [WAF 시작하기](cloudfront_example_wafv2_GettingStarted_052_section.md)
  + [URL 및 쿠키에 서명](cloudfront_example_cloudfront_CloudFrontUtilities_section.md)
+ [CloudFront Functions 예제](cloudfront_code_examples_cloudfront_functions_examples.md)
  + [HTTP 보안 헤더 추가](cloudfront_example_cloudfront_functions_add_security_headers_section.md)
  + [CORS 헤더 추가](cloudfront_example_cloudfront_functions_add_cors_header_section.md)
  + [캐시 제어 헤더 추가](cloudfront_example_cloudfront_functions_add_cache_control_header_section.md)
  + [실제 클라이언트 IP 헤더 추가](cloudfront_example_cloudfront_functions_add_true_client_ip_header_section.md)
  + [오리진 헤더 추가](cloudfront_example_cloudfront_functions_add_origin_header_section.md)
  + [요청 URL에 index.html 추가](cloudfront_example_cloudfront_functions_url_rewrite_single_page_apps_section.md)
  + [쿼리 문자열 파라미터 정규화](cloudfront_example_cloudfront_functions_normalize_query_string_parameters_section.md)
  + [새 URL로 리디렉션](cloudfront_example_cloudfront_functions_redirect_based_on_country_section.md)
  + [요청 URI 재작성](cloudfront_example_cloudfront_functions_kvs_conditional_read_section.md)
  + [뷰어에 더 가까운 오리진 선택](cloudfront_example_cloudfront_functions_select_origin_based_on_country_section.md)
  + [키 값 페어 사용](cloudfront_example_cloudfront_functions_kvs_key_value_pairs_section.md)
  + [단순 토큰 검증](cloudfront_example_cloudfront_functions_kvs_jwt_verify_section.md)