HEX
Server: LiteSpeed
System: Linux ip-172-31-76-142.ec2.internal 4.14.158-129.185.amzn2.x86_64 #1 SMP Tue Dec 24 03:15:32 UTC 2019 x86_64
User: 69b4844ae61d4e92bf26ad98af552775 (1065)
PHP: 7.2.27
Disabled: exec,passthru,shell_exec,system,eval
Upload Files
File: //lib/python2.7/site-packages/awscli/examples/ssm/get-parameter.rst
**Example 1: To list the value for a parameter**

The following ``get-parameter`` example lists the value for a parameter.

Command::

    aws ssm get-parameter --name "helloWorld"

Output::

    {
        "Parameter": {
            "Name": "helloWorld",
            "Type": "String",
            "Value": "Good day sunshine",
            "Version": 1,
            "LastModifiedDate": 1530018761.888,
            "ARN": "arn:aws:ssm:us-east-1:123456789012:parameter/helloWorld"
        }
    }

**Example 2: To decrypt the value for a parmeter**

The following ``get-parameter`` example decrypts the value of a ``SecureString`` parameter.

Command::
  
    aws ssm get-parameter \
        --name "helloSecureWorld" \
        --with-decryption

Output::

    {
        "Parameter": {
            "Name": "helloSecureWorld",
            "Type": "SecureString",
            "Value": "Good day sunshine",
            "Version": 1,
            "LastModifiedDate": 1530018761.888,
            "ARN": "arn:aws:ssm:us-east-1:123456789012:parameter/helloSecureWorld"
        }
    }