- Newest
- Most votes
- Most comments
Hi,
To provide additional details, a mandatory operating system update includes an AutoAppliedAfterDate value and a CurrentApplyDate value. An optional operating system update doesn't include these values.
You can refer to the below AWS Documentation for similar example,
Operating system updates for RDS DB instances
and under the topics,
Operating system updates for RDS DB instances > AWS CLI
Also, sample from my local lab,
$ aws rds describe-pending-maintenance-actions --resource-identifier arn:aws:rds:us-east-1:<hidden>:db:rdspgdb01
{
"PendingMaintenanceActions": [
{
"ResourceIdentifier": "arn:aws:rds:us-east-1:<hidden>:db:rdspgdb01",
"PendingMaintenanceActionDetails": [
{
"Action": "system-update",
"Description": "New Operating System update is available"
},
{
"Action": "db-upgrade",
"OptInStatus": "next-maintenance",
"CurrentApplyDate": "2026-01-25T06:08:00Z",
"Description": "New engine patch version is available: 13.20.R2"
}
]
}
]
}
answered 10 months ago
Hi,
Regarding mandatory or optional update, an optional update has its maintenance Status set to available and doesn't have an Apply date.
A mandatory update has its maintenance Status set to required and has an Apply date, which can be seen in both the AWS console and when queried through aws cli.
answered 10 months ago
To get pending maintenance details for your AWS database resources, you can use the AWS CLI command describe-pending-maintenance-actions. This command will show you information about pending maintenance for your database resources.
Based on the screenshot and output you shared, you're seeing basic information about a pending system update. To get more comprehensive details including timing information (such as when the maintenance will be applied), you should run the full command:
aws rds describe-pending-maintenance-actions --resource-identifier arn:aws-cn:rds:us-east-1:123456789012:db:mydb2
The complete output should include additional fields such as:
- CurrentApplyDate: When the maintenance is scheduled to be applied
- AutoAppliedAfterDate: When the maintenance will be automatically applied if not manually applied
- ForcedApplyDate: The deadline by which the maintenance must be applied
- OptInStatus: The current status of the maintenance action
If you want to see pending maintenance actions for all your resources without specifying a particular resource identifier, you can simply run:
aws rds describe-pending-maintenance-actions
For Amazon DocumentDB specifically, the command format is similar:
aws docdb describe-pending-maintenance-actions --resource-identifier your-resource-arn
For DocumentDB elastic clusters, you would use:
aws docdb-elastic get-pending-maintenance-action --resource-arn your-resource-arn
Sources
Determining pending maintenance - Amazon DocumentDB
Amazon RDS examples using AWS CLI - AWS SDK Code Examples
Maintaining an Amazon Aurora DB cluster - Amazon Aurora
Cancel pending maintenance in RDS for PostgreSQL | AWS re:Post
Maintaining Amazon DocumentDB elastic clusters - Amazon DocumentDB
answered 10 months ago
Relevant content
asked 3 years ago
asked 3 years ago

is there a way to know this system update is optional or mandatory