CmdID

CmdID / aws / aws ssm

aws ssm describe-patch-groups

Lists all patch groups that have been registered with patch baselines. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To display patch group registrations

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

aws ssm describe-patch-groupsIdentify
Its 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 in the AWS Systems Manager User Guide.

Options

3 in the AWS CLI reference
--filtersEach element in the array is a structure containing a key-value pair.
--max-resultsThe maximum number of patch groups to return (per page).
--next-tokenThe token for the next set of items to return.