Awesome Open Source
Awesome Open Source

Build Status GitHub Super-Linter []

AWS SDK Code Examples

This repository contains code examples that demonstrate how to use the AWSK SDKs to interact with AWS services.

Many examples are injected into the AWS Documentation.

How this repository is organized

Code examples for each language's SDK can be found within the following subdirectories:

SDK folder SDK version SDK status
.NET dotnetv3/ 3.5+ []
.NET dotnet/ <3.5 []
C++ cpp/ 1 []
Go gov2/ 2 []
Go go/ 1 []
Java javav2/ 2 []
Java java/ 1 []
JavaScript javascriptv3/ 3 []
JavaScript javascript/ 2 []
Kotlin kotlin/ []
PHP php/ 3 []
Python python/ 3 []
Ruby ruby/ 3 []
Rust rust_dev_preview/ []
Swift swift/ []

Within each directory, you will find SDK-specific instructions for understanding and invoking example code.

Invoke example code

To invoke this example code, you must have an AWS account. For more information about creating an account, see AWS Free Tier.

You must also have AWS credentials configured. For steps on using the AWS Command Line Interface (AWS CLI) to configure credentials, see CLI Configuration basics

Usage disclaimer

These code examples interact with services that may incur charges to your AWS account. For more information, see AWS Pricing.

Additionally, example code might theoretically modify or delete existing AWS resources. As a matter of due diligence, do the following:

  • Be aware of the resources that these examples create or delete.
  • Be aware of the costs that might be charged to your account as a result.
  • Back up your important data.

Other examples

Additionally, this repository contains sample code for the following AWS tooling:

folder service
aws-cli/ AWS Command Line Interface (AWS CLI)
cloudformation/ AWS CloudFormation
iam_policies/ AWS Identity and Access Management (IAM)
lambda_functions/ AWS Lambda
typescript/ AWS Cloud Development Kit (AWS CDK)

Contributing

This repository thrives on your contributions! To get involved, see the CONTRIBUTING.md.

Copyright and license

All content in this repository, unless otherwise stated, is Copyright Amazon Web Services, Inc. or its affiliates. All rights reserved.

Except where otherwise noted, all examples in this collection are licensed under the Apache license, version 2.0 (the "License"). The full license text is provided in the LICENSE file accompanying this repository.

Alternatives To Aws Doc Sdk Examples
Select To Compare


Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Javascript (1,114,612
Python (860,459
Java (402,966
Php (292,746
C Plus Plus (251,235
Ruby (223,115
Golang (167,331
Amazon Web Services (38,919
Sdk (32,749
Documentation (22,173
Version (20,602
Programming (18,516
Code (18,140
Code Examples (1,225
Aws Sdk (568