There are more AWS SDK examples available in the AWS Doc SDK Examples
Code examples by service using AWS SDKs
The following code examples show you how to use AWS services with an AWS software development kit (SDK). This section is organized by AWS service.
Actions are code excerpts from larger programs and must be run in context. While actions show you how to call individual service functions, you can see actions in context in their related scenarios and cross-service examples.
Scenarios are code examples that show you how to accomplish a specific task by calling multiple functions within the same service.
Cross-service examples are sample applications that work across multiple AWS services.
More resources
-
AWS Developer Center
– Code examples that you can filter by category or full-text search. -
AWS SDK Examples
– GitHub repo with complete code in preferred languages. Includes instructions for setting up and running the code.
Code examples
- ACM
- API Gateway
- API Gateway Management API
- Application Auto Scaling
- Application Recovery Controller
- Audit Manager
- Aurora
- Auto Scaling
- AWS Batch
- Amazon Bedrock
- Amazon Bedrock Runtime
- Agents for Amazon Bedrock
- Agents for Amazon Bedrock Runtime
- AWS Budgets
- AWS Cloud9
- AWS CloudFormation
- CloudFront
- CloudTrail
- CloudWatch
- CloudWatch Events
- CloudWatch Logs
- CodeBuild
- CodeCommit
- CodeDeploy
- CodePipeline
- Amazon Cognito Identity
- Amazon Cognito Identity Provider
- Amazon Cognito Sync
- Amazon Comprehend
- AWS Config
- Firehose
- Device Farm
- AWS Directory Service
- AWS DMS
- Amazon DocumentDB
- DynamoDB
- Amazon EBS
- Amazon EC2
- Amazon ECR
- Amazon ECS
- Amazon EFS
- Amazon EKS
- Elastic Beanstalk
- Elastic Load Balancing - Version 1
- Elastic Load Balancing - Version 2
- MediaStore
- Amazon EMR
- OpenSearch Service
- EventBridge
- Forecast
- AWS Glue
- AWS Health
- HealthImaging
- IAM
- AWS IoT
- AWS IoT data
- Amazon Keyspaces
- Kinesis
- AWS KMS
- Lambda
- Amazon Lex
- Lookout for Vision
- Managed Service for Apache Flink
- MediaConvert
- MediaLive
- MediaPackage
- Migration Hub
- AWS OpsWorks
- Organizations
- Amazon Personalize
- Amazon Personalize Events
- Amazon Personalize Runtime
- Amazon Pinpoint
- Amazon Pinpoint SMS and Voice API
- Amazon Polly
- AWS Price List
- QLDB
- Amazon RDS
- Amazon RDS Data Service
- Amazon Redshift
- Amazon Rekognition
- Resource Groups
- Resource Groups Tagging API
- Route 53
- Route 53 domain registration
- Amazon S3
- S3 Glacier
- SageMaker
- Secrets Manager
- Amazon SES
- Amazon SES API v2
- Amazon SNS
- Amazon SQS
- Step Functions
- AWS STS
- AWS Support
- Systems Manager
- Amazon Textract
- Amazon Transcribe
- Amazon Translate
- AWS WAFV2
- Amazon WorkDocs
- WorkSpaces