

# AWS CLI 与 Bash 脚本结合使用的代码示例
<a name="bash_code_examples"></a>

本主题中的代码示例向您展示了如何通过 AWS 将 AWS Command Line Interface 与 Bash 脚本结合使用。

*基础知识*是向您展示如何在服务中执行基本操作的代码示例。

*操作*是大型程序的代码摘录，必须在上下文中运行。您可以通过操作了解如何调用单个服务函数，还可以通过函数相关场景的上下文查看操作。

*场景*是向您展示如何通过在一个服务中调用多个函数或与其他 AWS 服务 服务结合来完成特定任务的代码示例。

某些服务包含其他示例类别，这些类别说明如何利用特定于服务的库或函数。

**Topics**
+ [AWS Batch](bash_batch_code_examples.md)
+ [AWS Cloud Map](bash_servicediscovery_code_examples.md)
+ [CloudFront](bash_cloudfront_code_examples.md)
+ [DynamoDB](bash_dynamodb_code_examples.md)
+ [Amazon EC2](bash_ec2_code_examples.md)
+ [HealthImaging](bash_medical-imaging_code_examples.md)
+ [IAM](bash_iam_code_examples.md)
+ [AWS KMS](bash_kms_code_examples.md)
+ [Lightsail](bash_lightsail_code_examples.md)
+ [Amazon S3](bash_s3_code_examples.md)
+ [AWS STS](bash_sts_code_examples.md)