

# AWS SDK를 사용한 Lambda용 코드 예제
<a name="service_code_examples"></a>

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

*기본 사항*은 서비스 내에서 필수 작업을 수행하는 방법을 보여주는 코드 예제입니다.

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

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

*AWS 커뮤니티 기여*는 AWS의 여러 팀에서 생성하고 유지 관리하는 예입니다. 피드백을 제공하려면 연결된 리포지토리에 제공된 메커니즘을 사용합니다.

AWS SDK 개발자 가이드 및 코드 예제의 전체 목록은 [AWS SDK에서 Lambda 사용](sdk-general-information-section.md)을 참조하세요. 이 주제에는 시작하기에 대한 정보와 이전 SDK 버전에 대한 세부 정보도 포함되어 있습니다.

**Contents**
+ [기본 사항](service_code_examples_basics.md)
  + [Hello Lambda](example_lambda_Hello_section.md)
  + [기본 사항 알아보기](example_lambda_Scenario_GettingStartedFunctions_section.md)
  + [작업](service_code_examples_actions.md)
    + [`CreateAlias`](example_lambda_CreateAlias_section.md)
    + [`CreateFunction`](example_lambda_CreateFunction_section.md)
    + [`DeleteAlias`](example_lambda_DeleteAlias_section.md)
    + [`DeleteFunction`](example_lambda_DeleteFunction_section.md)
    + [`DeleteFunctionConcurrency`](example_lambda_DeleteFunctionConcurrency_section.md)
    + [`DeleteProvisionedConcurrencyConfig`](example_lambda_DeleteProvisionedConcurrencyConfig_section.md)
    + [`GetAccountSettings`](example_lambda_GetAccountSettings_section.md)
    + [`GetAlias`](example_lambda_GetAlias_section.md)
    + [`GetFunction`](example_lambda_GetFunction_section.md)
    + [`GetFunctionConcurrency`](example_lambda_GetFunctionConcurrency_section.md)
    + [`GetFunctionConfiguration`](example_lambda_GetFunctionConfiguration_section.md)
    + [`GetPolicy`](example_lambda_GetPolicy_section.md)
    + [`GetProvisionedConcurrencyConfig`](example_lambda_GetProvisionedConcurrencyConfig_section.md)
    + [`Invoke`](example_lambda_Invoke_section.md)
    + [`ListFunctions`](example_lambda_ListFunctions_section.md)
    + [`ListProvisionedConcurrencyConfigs`](example_lambda_ListProvisionedConcurrencyConfigs_section.md)
    + [`ListTags`](example_lambda_ListTags_section.md)
    + [`ListVersionsByFunction`](example_lambda_ListVersionsByFunction_section.md)
    + [`PublishVersion`](example_lambda_PublishVersion_section.md)
    + [`PutFunctionConcurrency`](example_lambda_PutFunctionConcurrency_section.md)
    + [`PutProvisionedConcurrencyConfig`](example_lambda_PutProvisionedConcurrencyConfig_section.md)
    + [`RemovePermission`](example_lambda_RemovePermission_section.md)
    + [`TagResource`](example_lambda_TagResource_section.md)
    + [`UntagResource`](example_lambda_UntagResource_section.md)
    + [`UpdateAlias`](example_lambda_UpdateAlias_section.md)
    + [`UpdateFunctionCode`](example_lambda_UpdateFunctionCode_section.md)
    + [`UpdateFunctionConfiguration`](example_lambda_UpdateFunctionConfiguration_section.md)
+ [시나리오](service_code_examples_scenarios.md)
  + [Lambda 함수를 사용하여 알려진 사용자를 자동으로 확인](example_cross_CognitoAutoConfirmUser_section.md)
  + [Lambda 함수를 사용하여 알려진 사용자를 자동으로 마이그레이션](example_cross_CognitoAutoMigrateUser_section.md)
  + [COVID-19 데이터를 추적하는 REST API 생성](example_cross_ApiGatewayDataTracker_section.md)
  + [Lambda 프록시 통합을 사용하여 REST API 생성](example_api_gateway_GettingStarted_087_section.md)
  + [대출 라이브러리 REST API 생성](example_cross_AuroraRestLendingLibrary_section.md)
  + [메신저 애플리케이션 생성](example_cross_StepFunctionsMessenger_section.md)
  + [사진을 관리하기 위한 서버리스 애플리케이션 만들기](example_cross_PAM_section.md)
  + [WebSocket 채팅 애플리케이션 생성](example_cross_ApiGatewayWebsocketChat_section.md)
  + [고객 피드백 분석을 위한 애플리케이션 생성](example_cross_FSA_section.md)
  + [함수 이름을 변수로 사용하여 CloudWatch Lambda 대시보드 생성](example_cloudwatch_GettingStarted_031_section.md)
  + [첫 번째 Lambda 함수 생성](example_lambda_GettingStarted_019_section.md)
  + [브라우저에서 Lambda 함수 간접 호출](example_cross_LambdaForBrowser_section.md)
  + [S3 객체 Lambda를 사용하여 데이터 변환](example_cross_ServerlessS3DataTransformation_section.md)
  + [API Gateway를 사용하여 Lambda 함수 간접 호출](example_cross_LambdaAPIGateway_section.md)
  + [Step Functions를 사용하여 Lambda 함수 간접 호출](example_cross_ServerlessWorkflows_section.md)
  + [예약된 이벤트를 사용하여 Lambda 함수 간접 호출](example_cross_LambdaScheduledEvents_section.md)
  + [Neptune API를 사용하여 그래프 데이터 쿼리](example_cross_Neptune_Query_section.md)
  + [CloudWatch 대시보드에서 속성 변수를 사용하여 여러 Lambda 함수 모니터링](example_iam_GettingStarted_032_section.md)
  + [Amazon Cognito 사용자 인증 후 Lambda 함수를 사용하여 사용자 지정 활동 데이터 작성](example_cross_CognitoCustomActivityLog_section.md)
+ [서버리스 예제](service_code_examples_serverless_examples.md)
  + [Lambda 함수를 사용하여 Amazon RDS 데이터베이스에 연결](example_serverless_connect_RDS_Lambda_section.md)
  + [Kinesis 트리거에서 간접적으로 Lambda 함수 간접 호출](example_serverless_Kinesis_Lambda_section.md)
  + [DynamoDB 트리거에서 간접적으로 Lambda 함수 간접 호출](example_serverless_DynamoDB_Lambda_section.md)
  + [Amazon DocumentDB 트리거에서 간접적으로 Lambda 함수 간접 호출](example_serverless_DocumentDB_Lambda_section.md)
  + [Amazon MSK 트리거를 사용하여 Lambda 함수 간접 호출](example_serverless_MSK_Lambda_section.md)
  + [Amazon S3 트리거를 사용하여 Lambda 함수 간접 호출](example_serverless_S3_Lambda_section.md)
  + [Amazon SNS 트리거를 사용하여 Lambda 함수 간접 호출](example_serverless_SNS_Lambda_section.md)
  + [Amazon SQS 트리거에서 간접적으로 Lambda 함수 간접 호출](example_serverless_SQS_Lambda_section.md)
  + [Kinesis 트리거로 Lambda 함수에 대한 배치 항목 실패 보고](example_serverless_Kinesis_Lambda_batch_item_failures_section.md)
  + [DynamoDB 트리거로 Lambda 함수에 대한 배치 항목 실패 보고](example_serverless_DynamoDB_Lambda_batch_item_failures_section.md)
  + [Amazon SQS 트리거로 Lambda 함수에 대한 배치 항목 실패 보고](example_serverless_SQS_Lambda_batch_item_failures_section.md)
+ [AWS 커뮤니티 기여](service_code_examples_aws_community_contributions.md)
  + [서버리스 애플리케이션 빌드 및 테스트](example_tributary-lite_serverless-application_section.md)