[ aws . opensearch ]
describe-domains
Description
Returns domain configuration information about the specified Amazon OpenSearch Service domains.
See also: AWS API Documentation
Synopsis
describe-domains
--domain-names <value>
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--cli-binary-format <value>]
[--no-cli-pager]
[--cli-auto-prompt]
[--no-cli-auto-prompt]
Options
--domain-names (list)
Array of OpenSearch Service domain names that you want information about. You must specify at least one domain name.
(string)
Syntax:
"string" "string" ...
--cli-input-json | --cli-input-yaml (string) Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.
--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.
Global Options
--debug (boolean)
Turn on debug logging.
--endpoint-url (string)
Override command’s default URL with the given URL.
--no-verify-ssl (boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate (boolean)
Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.
--output (string)
The formatting style for command output.
- json
- text
- table
- yaml
- yaml-stream
--query (string)
A JMESPath query to use in filtering the response data.
--profile (string)
Use a specific profile from your credential file.
--region (string)
The region to use. Overrides config/env settings.
--version (string)
Display the version of this tool.
--color (string)
Turn on/off color output.
- on
- off
- auto
--no-sign-request (boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle (string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout (int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout (int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
--cli-binary-format (string)
The formatting style to be used for binary blobs. The default format is base64. The base64 format expects binary blobs to be provided as a base64 encoded string. The raw-in-base64-out format preserves compatibility with AWS CLI V1 behavior and binary values must be passed literally. When providing contents from a file that map to a binary blob fileb:// will always be treated as binary and use the file contents directly regardless of the cli-binary-format setting. When using file:// the file contents will need to properly formatted for the configured cli-binary-format.
- base64
- raw-in-base64-out
--no-cli-pager (boolean)
Disable cli pager for output.
--cli-auto-prompt (boolean)
Automatically prompt for CLI input parameters.
--no-cli-auto-prompt (boolean)
Disable automatically prompt for CLI input parameters.
Output
DomainStatusList -> (list)
The status of the requested domains.
(structure)
The current status of an OpenSearch Service domain.
DomainId -> (string)
DomainName -> (string)
ARN -> (string)
Created -> (boolean)
Deleted -> (boolean)
Endpoint -> (string)
EndpointV2 -> (string)
IPAddressType to set to dualstack , a version 2 domain endpoint is provisioned. This endpoint functions like a normal endpoint, except that it works with both IPv4 and IPv6 IP addresses. Normal endpoints work only with IPv4 IP addresses.Endpoints -> (map)
The key-value pair that exists if the OpenSearch Service domain uses VPC endpoints. For example:
-
IPv4 IP addresses -
'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com' -
Dual stack IP addresses -
'vpcv2':'vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.aos.us-east-1.on.aws'
key -> (string)
value -> (string)
search-imdb-movies-oopcnjfn6ugo.eu-west-1.es.amazonaws.com or doc-imdb-movies-oopcnjfn6u.eu-west-1.es.amazonaws.com .DomainEndpointV2HostedZoneId -> (string)
Processing -> (boolean)
UpgradeProcessing -> (boolean)
EngineVersion -> (string)
Elasticsearch_X.Y or OpenSearch_X.Y .ClusterConfig -> (structure)
Container for the cluster configuration of the domain.
InstanceType -> (string)
InstanceCount -> (integer)
DedicatedMasterEnabled -> (boolean)
ZoneAwarenessEnabled -> (boolean)
ZoneAwarenessConfig -> (structure)
Container for zone awareness configuration options. Only required if ZoneAwarenessEnabled is true .
AvailabilityZoneCount -> (integer)
2 and 3 . If your domain is provisioned within a VPC, this value be equal to number of subnets.DedicatedMasterType -> (string)
DedicatedMasterCount -> (integer)
WarmEnabled -> (boolean)
WarmType -> (string)
WarmCount -> (integer)
ColdStorageOptions -> (structure)
Container for cold storage configuration options.
Enabled -> (boolean)
MultiAZWithStandbyEnabled -> (boolean)
NodeOptions -> (list)
List of node options for the domain.
(structure)
Configuration settings for defining the node type within a cluster.
NodeType -> (string)
NodeConfig -> (structure)
Configuration options for defining the setup of any node type.
Enabled -> (boolean)
Type -> (string)
Count -> (integer)
EBSOptions -> (structure)
Container for EBS-based storage settings for the domain.
EBSEnabled -> (boolean)
VolumeType -> (string)
VolumeSize -> (integer)
Iops -> (integer)
gp3 and provisioned IOPS EBS volume types.Throughput -> (integer)
gp3 volume type.AccessPolicies -> (string)
IPAddressType -> (string)
SnapshotOptions -> (structure)
DEPRECATED. Container for parameters required to configure automated snapshots of domain indexes.
AutomatedSnapshotStartHour -> (integer)
0 hours.VPCOptions -> (structure)
The VPC configuration for the domain.
VPCId -> (string)
SubnetIds -> (list)
A list of subnet IDs associated with the VPC endpoints for the domain.
(string)
AvailabilityZones -> (list)
The list of Availability Zones associated with the VPC subnets.
(string)
SecurityGroupIds -> (list)
The list of security group IDs associated with the VPC endpoints for the domain.
(string)
CognitoOptions -> (structure)
Key-value pairs to configure Amazon Cognito authentication for OpenSearch Dashboards.
Enabled -> (boolean)
UserPoolId -> (string)
IdentityPoolId -> (string)
RoleArn -> (string)
AmazonOpenSearchServiceCognitoAccess role that allows OpenSearch Service to configure your user pool and identity pool.EncryptionAtRestOptions -> (structure)
Encryption at rest settings for the domain.
Enabled -> (boolean)
KmsKeyId -> (string)
1a2a3a4-1a2a-3a4a-5a6a-1a2a3a4a5a6a .NodeToNodeEncryptionOptions -> (structure)
Whether node-to-node encryption is enabled or disabled.
Enabled -> (boolean)
AdvancedOptions -> (map)
Key-value pairs that specify advanced configuration options.
key -> (string)
value -> (string)
LogPublishingOptions -> (map)
Log publishing options for the domain.
key -> (string)
The type of log file. Can be one of the following:
- INDEX_SLOW_LOGS - Index slow logs contain insert requests that took more time than the configured index query log threshold to execute.
- SEARCH_SLOW_LOGS - Search slow logs contain search queries that took more time than the configured search query log threshold to execute.
- ES_APPLICATION_LOGS - OpenSearch application logs contain information about errors and warnings raised during the operation of the service and can be useful for troubleshooting.
- AUDIT_LOGS - Audit logs contain records of user requests for access to the domain.
value -> (structure)
Specifies whether the Amazon OpenSearch Service domain publishes the OpenSearch application and slow logs to Amazon CloudWatch. For more information, see Monitoring OpenSearch logs with Amazon CloudWatch Logs .
Note
After you enable log publishing, you still have to enable the collection of slow logs using the OpenSearch REST API.CloudWatchLogsLogGroupArn -> (string)
Enabled -> (boolean)
ServiceSoftwareOptions -> (structure)
The current status of the domain’s service software.
CurrentVersion -> (string)
NewVersion -> (string)
UpdateAvailable -> (boolean)
Cancellable -> (boolean)
UpdateStatus -> (string)
Description -> (string)
AutomatedUpdateDate -> (timestamp)
OptionalDeployment -> (boolean)
DomainEndpointOptions -> (structure)
Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.
EnforceHTTPS -> (boolean)
TLSSecurityPolicy -> (string)
Specify the TLS security policy to apply to the HTTPS endpoint of the domain. The policy can be one of the following values:
- Policy-Min-TLS-1-0-2019-07: TLS security policy that supports TLS version 1.0 to TLS version 1.2
- Policy-Min-TLS-1-2-2019-07: TLS security policy that supports only TLS version 1.2
- Policy-Min-TLS-1-2-PFS-2023-10: TLS security policy that supports TLS version 1.2 to TLS version 1.3 with perfect forward secrecy cipher suites
CustomEndpointEnabled -> (boolean)
CustomEndpoint -> (string)
CustomEndpointCertificateArn -> (string)
AdvancedSecurityOptions -> (structure)
Settings for fine-grained access control.
Enabled -> (boolean)
InternalUserDatabaseEnabled -> (boolean)
SAMLOptions -> (structure)
Container for information about the SAML configuration for OpenSearch Dashboards.
Enabled -> (boolean)
Idp -> (structure)
Describes the SAML identity provider’s information.
MetadataContent -> (string)
EntityId -> (string)
SubjectKey -> (string)
RolesKey -> (string)
SessionTimeoutMinutes -> (integer)
JWTOptions -> (structure)
Container for information about the JWT configuration of the Amazon OpenSearch Service.
Enabled -> (boolean)
SubjectKey -> (string)
RolesKey -> (string)
PublicKey -> (string)
AnonymousAuthDisableDate -> (timestamp)
AnonymousAuthEnabled -> (boolean)
IdentityCenterOptions -> (structure)
Configuration options for controlling IAM Identity Center integration within a domain.
EnabledAPIAccess -> (boolean)
IdentityCenterInstanceARN -> (string)
SubjectKey -> (string)
RolesKey -> (string)
IdentityCenterApplicationARN -> (string)
IdentityStoreId -> (string)
AutoTuneOptions -> (structure)
Auto-Tune settings for the domain.
State -> (string)
ErrorMessage -> (string)
UseOffPeakWindow -> (boolean)
ChangeProgressDetails -> (structure)
Information about a configuration change happening on the domain.
ChangeId -> (string)
Message -> (string)
ConfigChangeStatus -> (string)
InitiatedBy -> (string)
StartTime -> (timestamp)
LastUpdatedTime -> (timestamp)
OffPeakWindowOptions -> (structure)
Options that specify a custom 10-hour window during which OpenSearch Service can perform configuration changes on the domain.
Enabled -> (boolean)
Whether to enable an off-peak window.
This option is only available when modifying a domain created prior to February 16, 2023, not when creating a new domain. All domains created after this date have the off-peak window enabled by default. You can’t disable the off-peak window after it’s enabled for a domain.
OffPeakWindow -> (structure)
Off-peak window settings for the domain.
WindowStartTime -> (structure)
A custom start time for the off-peak window, in Coordinated Universal Time (UTC). The window length will always be 10 hours, so you can’t specify an end time. For example, if you specify 11:00 P.M. UTC as a start time, the end time will automatically be set to 9:00 A.M.
Hours -> (long)
17 refers to 5:00 P.M. UTC.Minutes -> (long)
SoftwareUpdateOptions -> (structure)
Service software update options for the domain.
AutoSoftwareUpdateEnabled -> (boolean)
DomainProcessingStatus -> (string)
ModifyingProperties -> (list)
Information about the domain properties that are currently being modified.
(structure)
Information about the domain properties that are currently being modified.
Name -> (string)
ActiveValue -> (string)
PendingValue -> (string)
ValueType -> (string)
The type of value that is currently being modified. Properties can have two types:
-
PLAIN_TEXT: Contain direct values such as “1”, “True”, or “c5.large.search”. -
STRINGIFIED_JSON: Contain content in JSON format, such as {“Enabled”:”True”}”.
AIMLOptions -> (structure)
Container for parameters required to enable all machine learning features.
NaturalLanguageQueryGenerationOptions -> (structure)
Container for parameters required for natural language query generation on the specified domain.
DesiredState -> (string)
CurrentState -> (string)
© Copyright 2025, Amazon Web Services. Created using Sphinx.