Skip to content

Instantly share code, notes, and snippets.

@adilosa
Forked from mda590/boto3_get-ssm-parameter.py
Last active April 21, 2018 23:55
Show Gist options
  • Select an option

  • Save adilosa/c25de0934554ecf20daccccd1347ec13 to your computer and use it in GitHub Desktop.

Select an option

Save adilosa/c25de0934554ecf20daccccd1347ec13 to your computer and use it in GitHub Desktop.
Get a parameter stored in AWS Systems Manager Parameter Store
import boto3
def getParameter(param_name):
return boto3.client('ssm').get_parameter(Name=param_name)['Parameter']['Value']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment