CmdID

CmdID / aws / aws ssm

aws ssm get-patch-baseline-for-patch-group

Retrieves the patch baseline that should be used for the specified patch group. AWS CLI reference

1 example 2 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 the patch baseline for a patch group

The following get-patch-baseline-for-patch-group example retrieves details about the patch baseline for the specified patch group.

aws ssm get-patch-baseline-for-patch-group --patch-group "DEV"Identify
--patch-groupThe name of the patch group whose patch baseline should be retrieved.
Its output
{
    "PatchGroup": "DEV",
    "BaselineId": "pb-0123456789abcdef0",
    "OperatingSystem": "WINDOWS"
}

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

2 in the AWS CLI reference
--operating-systemReturns the operating system rule specified for patch groups using the patch baseline.
--patch-groupThe name of the patch group whose patch baseline should be retrieved.