HEX
Server: LiteSpeed
System: Linux s3604.bom1.stableserver.net 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User: dmstechonline (1480)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/awscli/examples/ssm/get-parameters-by-path.rst
**To list parameters in a specific path**

The following ``get-parameters-by-path`` example lists the parameters within the specified hierarchy. ::

    aws ssm get-parameters-by-path \
        --path "/site/newyork/department/"

Output::

    {
        "Parameters": [
            {
                "Name": "/site/newyork/department/marketing",
                "Type": "String",
                "Value": "Floor 2",
                "Version": 1,
                "LastModifiedDate": 1530018761.888,
                "ARN": "arn:aws:ssm:us-east-1:111222333444:parameter/site/newyork/department/marketing"
            },
            {
                "Name": "/site/newyork/department/infotech",
                "Type": "String",
                "Value": "Floor 3",
                "Version": 1,
                "LastModifiedDate": 1530018823.429,
                "ARN": "arn:aws:ssm:us-east-1:111222333444:parameter/site/newyork/department/infotech"
            },
            ...
        ]
    }

For more information, see `Organizing Parameters into Hierarchies <https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-organize.html>`_ in the *AWS Systems Manager User Guide*.