aws ssm describe-patch-properties
Lists the properties of available patches organized by product, product family, classification, severity, and other properties of available patches. AWS CLI reference
1 example 5 options Its page in the AWS CLI reference
Examples
To list the Amazon Linux patch availability
The following describe-patch-properties example displays a list of the Amazon Linux products for which patches are available in your AWS account.
aws ssm describe-patch-properties --operating-system AMAZON_LINUX --property PRODUCTIdentify--operating-systemThe operating system type for which to list patches.--propertyThe patch property for which you want to view patch details.Its output, shortened
{
"Properties": [
{
"Name": "AmazonLinux2012.03"
},
{
"Name": "AmazonLinux2012.09"
},
{
"Name": "AmazonLinux2013.03"
},
{
"Name": "AmazonLinux2013.09"
},
{
"Name": "AmazonLinux2014.03"
},
{
"Name": "AmazonLinux2014.09"
},
{
"Name": "AmazonLinux2015.03"
},
{
"Name": "AmazonLinux2015.09"
},
{
"Name": "AmazonLinux2016.03"
},
{
… 13 more linesFor more information, see About Patch Baselines in the AWS Systems Manager User Guide.
Options
--max-resultsThe maximum number of items to return for this call.--next-tokenThe token for the next set of items to return.--operating-systemThe operating system type for which to list patches.--patch-setIndicates whether to list patches for the Windows operating system or for applications released by Microsoft.--propertyThe patch property for which you want to view patch details.