

There are more AWS SDK examples available in the [AWS Doc SDK Examples](https://github.com/awsdocs/aws-doc-sdk-examples) GitHub repo.

# Code examples for AWS CLI with Bash script
<a name="bash_2_code_examples"></a>

The following code examples show you how to use the AWS Command Line Interface with Bash script with AWS.

*Basics* are code examples that show you how to perform the essential operations within a 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.

*Scenarios* are code examples that show you how to accomplish specific tasks by calling multiple functions within a service or combined with other AWS services.

Some services contain additional example categories that show how to leverage libraries or functions specific to the service.

**More resources**
+  ** [AWS CLI with Bash script Developer Guide ](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html) ** – More about using Bash with AWS. 
+  ** [AWS Developer Center ](https://aws.amazon.com/developer/code-examples/?awsf.sdk-code-examples-programming-language=programming-language%23bash) ** – Code examples that you can filter by category or full-text search. 
+  ** [AWS SDK Examples](https://github.com/awsdocs/aws-doc-sdk-examples) ** – GitHub repo with complete code in preferred languages. Includes instructions for setting up and running the code. 

**Topics**
+ [API Gateway](bash_2_api-gateway_code_examples.md)
+ [Athena](bash_2_athena_code_examples.md)
+ [AWS Batch](bash_2_batch_code_examples.md)
+ [AWS Cloud Map](bash_2_servicediscovery_code_examples.md)
+ [CloudFormation](bash_2_cloudformation_code_examples.md)
+ [CloudFront](bash_2_cloudfront_code_examples.md)
+ [CloudWatch](bash_2_cloudwatch_code_examples.md)
+ [CloudWatch Logs](bash_2_cloudwatch-logs_code_examples.md)
+ [Amazon Cognito Identity Provider](bash_2_cognito-identity-provider_code_examples.md)
+ [AWS Config](bash_2_config-service_code_examples.md)
+ [Connect Customer](bash_2_connect_code_examples.md)
+ [Direct Connect](bash_2_direct-connect_code_examples.md)
+ [Amazon DocumentDB](bash_2_docdb_code_examples.md)
+ [DynamoDB](bash_2_dynamodb_code_examples.md)
+ [Amazon EC2](bash_2_ec2_code_examples.md)
+ [Amazon ECR](bash_2_ecr_code_examples.md)
+ [Amazon ECS](bash_2_ecs_code_examples.md)
+ [Amazon EKS](bash_2_eks_code_examples.md)
+ [Elastic Load Balancing - Version 2](bash_2_elastic-load-balancing-v2_code_examples.md)
+ [ElastiCache](bash_2_elasticache_code_examples.md)
+ [Amazon EMR](bash_2_emr_code_examples.md)
+ [OpenSearch Service](bash_2_opensearch_code_examples.md)
+ [AWS FIS](bash_2_fis_code_examples.md)
+ [AWS Glue](bash_2_glue_code_examples.md)
+ [HealthImaging](bash_2_medical-imaging_code_examples.md)
+ [IAM](bash_2_iam_code_examples.md)
+ [AWS IoT](bash_2_iot_code_examples.md)
+ [AWS KMS](bash_2_kms_code_examples.md)
+ [Lambda](bash_2_lambda_code_examples.md)
+ [Lightsail](bash_2_lightsail_code_examples.md)
+ [Amazon Managed Grafana](bash_2_grafana_code_examples.md)
+ [MediaConnect](bash_2_mediaconnect_code_examples.md)
+ [Amazon MSK](bash_2_kafka_code_examples.md)
+ [Neptune](bash_2_neptune_code_examples.md)
+ [AWS Payment Cryptography](bash_2_payment-cryptography_code_examples.md)
+ [Amazon Pinpoint](bash_2_pinpoint_code_examples.md)
+ [Amazon Polly](bash_2_polly_code_examples.md)
+ [Amazon RDS](bash_2_rds_code_examples.md)
+ [Amazon Redshift](bash_2_redshift_code_examples.md)
+ [Amazon S3](bash_2_s3_code_examples.md)
+ [SageMaker AI](bash_2_sagemaker_code_examples.md)
+ [Secrets Manager](bash_2_secrets-manager_code_examples.md)
+ [Amazon SES](bash_2_ses_code_examples.md)
+ [Amazon SNS](bash_2_sns_code_examples.md)
+ [Step Functions](bash_2_sfn_code_examples.md)
+ [AWS STS](bash_2_sts_code_examples.md)
+ [Support](bash_2_support_code_examples.md)
+ [Systems Manager](bash_2_ssm_code_examples.md)
+ [Amazon Textract](bash_2_textract_code_examples.md)
+ [VPC Lattice](bash_2_vpc-lattice_code_examples.md)
+ [AWS WAFV2](bash_2_wafv2_code_examples.md)
+ [WorkSpaces](bash_2_workspaces_code_examples.md)