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
Examples
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
--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.