aws ssm register-default-patch-baseline
Defines the default patch baseline for the relevant operating system. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
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"Identify--baseline-idThe ID of the patch baseline that should be the default patch baseline.Its 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"Identify--baseline-idThe ID of the patch baseline that should be the default patch baseline.Its output
{
"BaselineId":"pb-abc123cf9bEXAMPLE"
}For more information, see About Predefined and Custom Patch Baselines in the AWS Systems Manager User Guide.
Options
--baseline-idThe ID of the patch baseline that should be the default patch baseline.