Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . ssm ]

register-default-patch-baseline

Description

Defines the default patch baseline for the relevant operating system.

To reset the AWS predefined patch baseline as the default, specify the full patch baseline ARN as the baseline ID value. For example, for CentOS, specify arn:aws:ssm:us-east-2:733109147000:patchbaseline/pb-0574b43a65ea646ed instead of pb-0574b43a65ea646ed .

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  register-default-patch-baseline
--baseline-id <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--baseline-id (string)

The ID of the patch baseline that should be the default patch baseline.

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Examples

To set the default patch baseline

This example registers a patch baseline as the default patch baseline.

Command:

aws ssm register-default-patch-baseline --baseline-id "pb-08b654cf9b9681f04"

Output:

{
      "BaselineId":"pb-08b654cf9b9681f04"
}

Output

BaselineId -> (string)

The ID of the default patch baseline.