Last Updated on February 2, 2022
Below is the python3 code that I used to get the Public SSM Parameters under the path /aws/service/datasync/
.
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/cloud9/',
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 complete list of Public SSM Parameters for AWS DataSync.
I hope this helps.