HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //proc/722141/root/lib/python3.6/site-packages/awscli/examples/ssm/describe-patch-groups.rst
**To display patch group registrations**

The following ``describe-patch-groups`` example lists the patch group registrations. ::

  aws ssm describe-patch-groups

Output::

    {
        "Mappings": [
            {
                "PatchGroup": "Production",
                "BaselineIdentity": {
                    "BaselineId": "pb-0123456789abcdef0",
                    "BaselineName": "ProdPatching",
                    "OperatingSystem": "WINDOWS",
                    "BaselineDescription": "Patches for Production",
                    "DefaultBaseline": false
                }
            },
            {
                "PatchGroup": "Development",
                "BaselineIdentity": {
                    "BaselineId": "pb-0713accee01234567",
                    "BaselineName": "DevPatching",
                    "OperatingSystem": "WINDOWS",
                    "BaselineDescription": "Patches for Development",
                    "DefaultBaseline": true
                }
            },
            ...
        ]
    }

For more information, see `Create a Patch Group` <https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-patch-group-tagging.html>__ and `Add a Patch Group to a Patch Baseline <https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-patch-group-patchbaseline.html>`__ in the *AWS Systems Manager User Guide*.