List of Public SSM Parameters for Windows AMI (ami-windows-latest)


Last Updated on February 1, 2022

I have been frequently using Public SSM Parameters for EC2 Images for CloudFormation templates, so I decided to put the complete list of the Public SSM Parameters available here.

This post specifically lists the Public SSM Parameters for Windows or for the /aws/service/ami-windows-latest/ service.

Here is the Python3 code that I used that uses boto3 to retrieve the Public SSM Parameter names.

import boto3

if __name__ == "__main__":

  ssm_client = boto3.client('ssm')

  paginator = ssm_client.get_paginator('get_parameters_by_path')
  page_iterator = paginator.paginate(
    Path='/aws/service/ami-windows-latest/',
    Recursive=True
  )

  ssm_param_name_list = []

  for page in page_iterator:
    for parameter in page['Parameters']:
      ssm_param_name_list.append(parameter['Name'])

  ssm_param_name_list.sort()
  for ssm_param_name in ssm_param_name_list:
    print(ssm_param_name)

Below is the list of Public SSM Parameters for the Windows EC2 AMIs when I ran the code above.


I hope this helps.


Leave a Reply

Your email address will not be published. Required fields are marked *