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: //usr/lib/python3.6/site-packages/awscli/examples/ssm/register-default-patch-baseline.rst
**To set the default patch baseline**

The following ``register-default-patch-baseline`` example registers the specified custom patch baseline as the default patch baseline for the operating system type that it supports. ::

    aws ssm register-default-patch-baseline \
        --baseline-id "pb-abc123cf9bEXAMPLE"

Output::

    {
        "BaselineId":"pb-abc123cf9bEXAMPLE"
    }

The following ``register-default-patch-baseline`` example registers the default patch baseline provided by AWS for CentOS as the default patch baseline. ::

    aws ssm register-default-patch-baseline \
        --baseline-id "arn:aws:ssm:us-east-2:733109147000:patchbaseline/pb-0574b43a65ea646ed"

Output::

    {
        "BaselineId":"pb-abc123cf9bEXAMPLE"
    }

For more information, see `About Predefined and Custom Patch Baselines <https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-patch-baselines.html>`__ in the *AWS Systems Manager User Guide*.