> For the complete documentation index, see [llms.txt](https://wiki.dewaka.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.dewaka.com/programming-languages/python/libraries/boto3.md).

# boto3

* Filtering AMIs based on tags,

  ```python
  ec2 = boto3.resource('ec2', region_name='us-east-1')
  filters = [{'Name': 'tag:Service', 'Values': ['your-tag']}]
  my_images = ec2.images.filter(Filters=filters)
  ```
