Using Console
Using CLI
your-domain-name
with the name of your OpenSearch Service domain, 123456789012
with your AWS account ID, and yourpassword
with the desired password for the master user.Using Python
enforce_https_opensearch.py
) and run it in your terminal:
'your-opensearch-domain-name'
with the actual name of your OpenSearch domain before running the script.Please note that this script is a basic example and may need to be adjusted based on your specific requirements and the current configuration of your OpenSearch domain.