1**To get details for one or more domains** 2 3The following ``describe-elasticsearch-domains`` example provides configuration details for one or more domains. :: 4 5 aws es describe-elasticsearch-domains \ 6 --domain-names cli-example-1 cli-example-2 7 8Output:: 9 10 { 11 "DomainStatusList": [{ 12 "DomainId": "123456789012/cli-example-1", 13 "DomainName": "cli-example-1", 14 "ARN": "arn:aws:es:us-east-1:123456789012:domain/cli-example-1", 15 "Created": true, 16 "Deleted": false, 17 "Endpoint": "search-cli-example-1-1a2a3a4a5a6a7a8a9a0a.us-east-1.es.amazonaws.com", 18 "Processing": false, 19 "UpgradeProcessing": false, 20 "ElasticsearchVersion": "7.4", 21 "ElasticsearchClusterConfig": { 22 "InstanceType": "c5.large.elasticsearch", 23 "InstanceCount": 1, 24 "DedicatedMasterEnabled": true, 25 "ZoneAwarenessEnabled": false, 26 "DedicatedMasterType": "c5.large.elasticsearch", 27 "DedicatedMasterCount": 3, 28 "WarmEnabled": true, 29 "WarmType": "ultrawarm1.medium.elasticsearch", 30 "WarmCount": 2 31 }, 32 "EBSOptions": { 33 "EBSEnabled": true, 34 "VolumeType": "gp2", 35 "VolumeSize": 10 36 }, 37 "AccessPolicies": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"*\"},\"Action\":\"es:*\",\"Resource\":\"arn:aws:es:us-east-1:123456789012:domain/cli-example-1/*\"}]}", 38 "SnapshotOptions": { 39 "AutomatedSnapshotStartHour": 0 40 }, 41 "CognitoOptions": { 42 "Enabled": false 43 }, 44 "EncryptionAtRestOptions": { 45 "Enabled": true, 46 "KmsKeyId": "arn:aws:kms:us-east-1:123456789012:key/1a2a3a4a-1a2a-1a2a-1a2a-1a2a3a4a5a6a" 47 }, 48 "NodeToNodeEncryptionOptions": { 49 "Enabled": true 50 }, 51 "AdvancedOptions": { 52 "rest.action.multi.allow_explicit_index": "true" 53 }, 54 "ServiceSoftwareOptions": { 55 "CurrentVersion": "R20200522", 56 "NewVersion": "", 57 "UpdateAvailable": false, 58 "Cancellable": false, 59 "UpdateStatus": "COMPLETED", 60 "Description": "There is no software update available for this domain.", 61 "AutomatedUpdateDate": 0.0 62 }, 63 "DomainEndpointOptions": { 64 "EnforceHTTPS": true, 65 "TLSSecurityPolicy": "Policy-Min-TLS-1-0-2019-07" 66 }, 67 "AdvancedSecurityOptions": { 68 "Enabled": true, 69 "InternalUserDatabaseEnabled": true 70 } 71 }, 72 { 73 "DomainId": "123456789012/cli-example-2", 74 "DomainName": "cli-example-2", 75 "ARN": "arn:aws:es:us-east-1:123456789012:domain/cli-example-2", 76 "Created": true, 77 "Deleted": false, 78 "Processing": true, 79 "UpgradeProcessing": false, 80 "ElasticsearchVersion": "7.4", 81 "ElasticsearchClusterConfig": { 82 "InstanceType": "r5.large.elasticsearch", 83 "InstanceCount": 1, 84 "DedicatedMasterEnabled": false, 85 "ZoneAwarenessEnabled": false, 86 "WarmEnabled": false 87 }, 88 "EBSOptions": { 89 "EBSEnabled": true, 90 "VolumeType": "gp2", 91 "VolumeSize": 10 92 }, 93 "AccessPolicies": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Deny\",\"Principal\":{\"AWS\":\"*\"},\"Action\":\"es:*\",\"Resource\":\"arn:aws:es:us-east-1:123456789012:domain/cli-example-2/*\"}]}", 94 "SnapshotOptions": { 95 "AutomatedSnapshotStartHour": 0 96 }, 97 "CognitoOptions": { 98 "Enabled": false 99 }, 100 "EncryptionAtRestOptions": { 101 "Enabled": false 102 }, 103 "NodeToNodeEncryptionOptions": { 104 "Enabled": false 105 }, 106 "AdvancedOptions": { 107 "rest.action.multi.allow_explicit_index": "true" 108 }, 109 "ServiceSoftwareOptions": { 110 "CurrentVersion": "", 111 "NewVersion": "", 112 "UpdateAvailable": false, 113 "Cancellable": false, 114 "UpdateStatus": "COMPLETED", 115 "Description": "There is no software update available for this domain.", 116 "AutomatedUpdateDate": 0.0 117 }, 118 "DomainEndpointOptions": { 119 "EnforceHTTPS": false, 120 "TLSSecurityPolicy": "Policy-Min-TLS-1-0-2019-07" 121 }, 122 "AdvancedSecurityOptions": { 123 "Enabled": false, 124 "InternalUserDatabaseEnabled": false 125 } 126 } 127 ] 128 } 129 130For more information, see `Creating and Managing Amazon Elasticsearch Service Domains <https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html>`__ in the *Amazon Elasticsearch Service Developer Guide*. 131