aws es upgrade-elasticsearch-domain
Allows you to either upgrade your domain or perform an Upgrade eligibility check to a compatible Elasticsearch version. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--deployment-strategy-optionsOverrides the deployment strategy for this upgrade.--domain-nameThe name of an Elasticsearch domain.--perform-check-onlyThis flag, when set to True, indicates that an Upgrade Eligibility Check needs to be performed.--target-versionThe version of Elasticsearch that you intend to upgrade the domain to.