describe_elasticsearch_domain_config
(**kwargs)¶Provides cluster configuration information about the specified Elasticsearch domain, such as the state, creation date, update version, and update date for cluster options.
See also: AWS API Documentation
Request Syntax
response = client.describe_elasticsearch_domain_config(
DomainName='string'
)
[REQUIRED]
The Elasticsearch domain that you want to get information about.
{
'DomainConfig': {
'ElasticsearchVersion': {
'Options': 'string',
'Status': {
'CreationDate': datetime(2015, 1, 1),
'UpdateDate': datetime(2015, 1, 1),
'UpdateVersion': 123,
'State': 'RequiresIndexDocuments'|'Processing'|'Active',
'PendingDeletion': True|False
}
},
'ElasticsearchClusterConfig': {
'Options': {
'InstanceType': 'm3.medium.elasticsearch'|'m3.large.elasticsearch'|'m3.xlarge.elasticsearch'|'m3.2xlarge.elasticsearch'|'m4.large.elasticsearch'|'m4.xlarge.elasticsearch'|'m4.2xlarge.elasticsearch'|'m4.4xlarge.elasticsearch'|'m4.10xlarge.elasticsearch'|'m5.large.elasticsearch'|'m5.xlarge.elasticsearch'|'m5.2xlarge.elasticsearch'|'m5.4xlarge.elasticsearch'|'m5.12xlarge.elasticsearch'|'r5.large.elasticsearch'|'r5.xlarge.elasticsearch'|'r5.2xlarge.elasticsearch'|'r5.4xlarge.elasticsearch'|'r5.12xlarge.elasticsearch'|'c5.large.elasticsearch'|'c5.xlarge.elasticsearch'|'c5.2xlarge.elasticsearch'|'c5.4xlarge.elasticsearch'|'c5.9xlarge.elasticsearch'|'c5.18xlarge.elasticsearch'|'ultrawarm1.medium.elasticsearch'|'ultrawarm1.large.elasticsearch'|'t2.micro.elasticsearch'|'t2.small.elasticsearch'|'t2.medium.elasticsearch'|'r3.large.elasticsearch'|'r3.xlarge.elasticsearch'|'r3.2xlarge.elasticsearch'|'r3.4xlarge.elasticsearch'|'r3.8xlarge.elasticsearch'|'i2.xlarge.elasticsearch'|'i2.2xlarge.elasticsearch'|'d2.xlarge.elasticsearch'|'d2.2xlarge.elasticsearch'|'d2.4xlarge.elasticsearch'|'d2.8xlarge.elasticsearch'|'c4.large.elasticsearch'|'c4.xlarge.elasticsearch'|'c4.2xlarge.elasticsearch'|'c4.4xlarge.elasticsearch'|'c4.8xlarge.elasticsearch'|'r4.large.elasticsearch'|'r4.xlarge.elasticsearch'|'r4.2xlarge.elasticsearch'|'r4.4xlarge.elasticsearch'|'r4.8xlarge.elasticsearch'|'r4.16xlarge.elasticsearch'|'i3.large.elasticsearch'|'i3.xlarge.elasticsearch'|'i3.2xlarge.elasticsearch'|'i3.4xlarge.elasticsearch'|'i3.8xlarge.elasticsearch'|'i3.16xlarge.elasticsearch',
'InstanceCount': 123,
'DedicatedMasterEnabled': True|False,
'ZoneAwarenessEnabled': True|False,
'ZoneAwarenessConfig': {
'AvailabilityZoneCount': 123
},
'DedicatedMasterType': 'm3.medium.elasticsearch'|'m3.large.elasticsearch'|'m3.xlarge.elasticsearch'|'m3.2xlarge.elasticsearch'|'m4.large.elasticsearch'|'m4.xlarge.elasticsearch'|'m4.2xlarge.elasticsearch'|'m4.4xlarge.elasticsearch'|'m4.10xlarge.elasticsearch'|'m5.large.elasticsearch'|'m5.xlarge.elasticsearch'|'m5.2xlarge.elasticsearch'|'m5.4xlarge.elasticsearch'|'m5.12xlarge.elasticsearch'|'r5.large.elasticsearch'|'r5.xlarge.elasticsearch'|'r5.2xlarge.elasticsearch'|'r5.4xlarge.elasticsearch'|'r5.12xlarge.elasticsearch'|'c5.large.elasticsearch'|'c5.xlarge.elasticsearch'|'c5.2xlarge.elasticsearch'|'c5.4xlarge.elasticsearch'|'c5.9xlarge.elasticsearch'|'c5.18xlarge.elasticsearch'|'ultrawarm1.medium.elasticsearch'|'ultrawarm1.large.elasticsearch'|'t2.micro.elasticsearch'|'t2.small.elasticsearch'|'t2.medium.elasticsearch'|'r3.large.elasticsearch'|'r3.xlarge.elasticsearch'|'r3.2xlarge.elasticsearch'|'r3.4xlarge.elasticsearch'|'r3.8xlarge.elasticsearch'|'i2.xlarge.elasticsearch'|'i2.2xlarge.elasticsearch'|'d2.xlarge.elasticsearch'|'d2.2xlarge.elasticsearch'|'d2.4xlarge.elasticsearch'|'d2.8xlarge.elasticsearch'|'c4.large.elasticsearch'|'c4.xlarge.elasticsearch'|'c4.2xlarge.elasticsearch'|'c4.4xlarge.elasticsearch'|'c4.8xlarge.elasticsearch'|'r4.large.elasticsearch'|'r4.xlarge.elasticsearch'|'r4.2xlarge.elasticsearch'|'r4.4xlarge.elasticsearch'|'r4.8xlarge.elasticsearch'|'r4.16xlarge.elasticsearch'|'i3.large.elasticsearch'|'i3.xlarge.elasticsearch'|'i3.2xlarge.elasticsearch'|'i3.4xlarge.elasticsearch'|'i3.8xlarge.elasticsearch'|'i3.16xlarge.elasticsearch',
'DedicatedMasterCount': 123,
'WarmEnabled': True|False,
'WarmType': 'ultrawarm1.medium.elasticsearch'|'ultrawarm1.large.elasticsearch',
'WarmCount': 123,
'ColdStorageOptions': {
'Enabled': True|False
}
},
'Status': {
'CreationDate': datetime(2015, 1, 1),
'UpdateDate': datetime(2015, 1, 1),
'UpdateVersion': 123,
'State': 'RequiresIndexDocuments'|'Processing'|'Active',
'PendingDeletion': True|False
}
},
'EBSOptions': {
'Options': {
'EBSEnabled': True|False,
'VolumeType': 'standard'|'gp2'|'io1'|'gp3',
'VolumeSize': 123,
'Iops': 123,
'Throughput': 123
},
'Status': {
'CreationDate': datetime(2015, 1, 1),
'UpdateDate': datetime(2015, 1, 1),
'UpdateVersion': 123,
'State': 'RequiresIndexDocuments'|'Processing'|'Active',
'PendingDeletion': True|False
}
},
'AccessPolicies': {
'Options': 'string',
'Status': {
'CreationDate': datetime(2015, 1, 1),
'UpdateDate': datetime(2015, 1, 1),
'UpdateVersion': 123,
'State': 'RequiresIndexDocuments'|'Processing'|'Active',
'PendingDeletion': True|False
}
},
'SnapshotOptions': {
'Options': {
'AutomatedSnapshotStartHour': 123
},
'Status': {
'CreationDate': datetime(2015, 1, 1),
'UpdateDate': datetime(2015, 1, 1),
'UpdateVersion': 123,
'State': 'RequiresIndexDocuments'|'Processing'|'Active',
'PendingDeletion': True|False
}
},
'VPCOptions': {
'Options': {
'VPCId': 'string',
'SubnetIds': [
'string',
],
'AvailabilityZones': [
'string',
],
'SecurityGroupIds': [
'string',
]
},
'Status': {
'CreationDate': datetime(2015, 1, 1),
'UpdateDate': datetime(2015, 1, 1),
'UpdateVersion': 123,
'State': 'RequiresIndexDocuments'|'Processing'|'Active',
'PendingDeletion': True|False
}
},
'CognitoOptions': {
'Options': {
'Enabled': True|False,
'UserPoolId': 'string',
'IdentityPoolId': 'string',
'RoleArn': 'string'
},
'Status': {
'CreationDate': datetime(2015, 1, 1),
'UpdateDate': datetime(2015, 1, 1),
'UpdateVersion': 123,
'State': 'RequiresIndexDocuments'|'Processing'|'Active',
'PendingDeletion': True|False
}
},
'EncryptionAtRestOptions': {
'Options': {
'Enabled': True|False,
'KmsKeyId': 'string'
},
'Status': {
'CreationDate': datetime(2015, 1, 1),
'UpdateDate': datetime(2015, 1, 1),
'UpdateVersion': 123,
'State': 'RequiresIndexDocuments'|'Processing'|'Active',
'PendingDeletion': True|False
}
},
'NodeToNodeEncryptionOptions': {
'Options': {
'Enabled': True|False
},
'Status': {
'CreationDate': datetime(2015, 1, 1),
'UpdateDate': datetime(2015, 1, 1),
'UpdateVersion': 123,
'State': 'RequiresIndexDocuments'|'Processing'|'Active',
'PendingDeletion': True|False
}
},
'AdvancedOptions': {
'Options': {
'string': 'string'
},
'Status': {
'CreationDate': datetime(2015, 1, 1),
'UpdateDate': datetime(2015, 1, 1),
'UpdateVersion': 123,
'State': 'RequiresIndexDocuments'|'Processing'|'Active',
'PendingDeletion': True|False
}
},
'LogPublishingOptions': {
'Options': {
'string': {
'CloudWatchLogsLogGroupArn': 'string',
'Enabled': True|False
}
},
'Status': {
'CreationDate': datetime(2015, 1, 1),
'UpdateDate': datetime(2015, 1, 1),
'UpdateVersion': 123,
'State': 'RequiresIndexDocuments'|'Processing'|'Active',
'PendingDeletion': True|False
}
},
'DomainEndpointOptions': {
'Options': {
'EnforceHTTPS': True|False,
'TLSSecurityPolicy': 'Policy-Min-TLS-1-0-2019-07'|'Policy-Min-TLS-1-2-2019-07',
'CustomEndpointEnabled': True|False,
'CustomEndpoint': 'string',
'CustomEndpointCertificateArn': 'string'
},
'Status': {
'CreationDate': datetime(2015, 1, 1),
'UpdateDate': datetime(2015, 1, 1),
'UpdateVersion': 123,
'State': 'RequiresIndexDocuments'|'Processing'|'Active',
'PendingDeletion': True|False
}
},
'AdvancedSecurityOptions': {
'Options': {
'Enabled': True|False,
'InternalUserDatabaseEnabled': True|False,
'SAMLOptions': {
'Enabled': True|False,
'Idp': {
'MetadataContent': 'string',
'EntityId': 'string'
},
'SubjectKey': 'string',
'RolesKey': 'string',
'SessionTimeoutMinutes': 123
},
'AnonymousAuthDisableDate': datetime(2015, 1, 1),
'AnonymousAuthEnabled': True|False
},
'Status': {
'CreationDate': datetime(2015, 1, 1),
'UpdateDate': datetime(2015, 1, 1),
'UpdateVersion': 123,
'State': 'RequiresIndexDocuments'|'Processing'|'Active',
'PendingDeletion': True|False
}
},
'AutoTuneOptions': {
'Options': {
'DesiredState': 'ENABLED'|'DISABLED',
'RollbackOnDisable': 'NO_ROLLBACK'|'DEFAULT_ROLLBACK',
'MaintenanceSchedules': [
{
'StartAt': datetime(2015, 1, 1),
'Duration': {
'Value': 123,
'Unit': 'HOURS'
},
'CronExpressionForRecurrence': 'string'
},
]
},
'Status': {
'CreationDate': datetime(2015, 1, 1),
'UpdateDate': datetime(2015, 1, 1),
'UpdateVersion': 123,
'State': 'ENABLED'|'DISABLED'|'ENABLE_IN_PROGRESS'|'DISABLE_IN_PROGRESS'|'DISABLED_AND_ROLLBACK_SCHEDULED'|'DISABLED_AND_ROLLBACK_IN_PROGRESS'|'DISABLED_AND_ROLLBACK_COMPLETE'|'DISABLED_AND_ROLLBACK_ERROR'|'ERROR',
'ErrorMessage': 'string',
'PendingDeletion': True|False
}
},
'ChangeProgressDetails': {
'ChangeId': 'string',
'Message': 'string'
}
}
}
Response Structure
The result of a DescribeElasticsearchDomainConfig
request. Contains the configuration information of the requested domain.
The configuration information of the domain requested in the DescribeElasticsearchDomainConfig
request.
String of format X.Y to specify version for the Elasticsearch domain.
Specifies the Elasticsearch version for the specified Elasticsearch domain.
Specifies the status of the Elasticsearch version options for the specified Elasticsearch domain.
Timestamp which tells the creation date for the entity.
Timestamp which tells the last updated time for the entity.
Specifies the latest version for the entity.
Provides the OptionState
for the Elasticsearch domain.
Indicates whether the Elasticsearch domain is being deleted.
Specifies the ElasticsearchClusterConfig
for the Elasticsearch domain.
Specifies the cluster configuration for the specified Elasticsearch domain.
The instance type for an Elasticsearch cluster. UltraWarm instance types are not supported for data instances.
The number of instances in the specified domain cluster.
A boolean value to indicate whether a dedicated master node is enabled. See About Dedicated Master Nodes for more information.
A boolean value to indicate whether zone awareness is enabled. See About Zone Awareness for more information.
Specifies the zone awareness configuration for a domain when zone awareness is enabled.
An integer value to indicate the number of availability zones for a domain when zone awareness is enabled. This should be equal to number of subnets if VPC endpoints is enabled
The instance type for a dedicated master node.
Total number of dedicated master nodes, active and on standby, for the cluster.
True to enable warm storage.
The instance type for the Elasticsearch cluster's warm nodes.
The number of warm nodes in the cluster.
Specifies the ColdStorageOptions
config for Elasticsearch Domain
Enable cold storage option. Accepted values true or false
Specifies the status of the configuration for the specified Elasticsearch domain.
Timestamp which tells the creation date for the entity.
Timestamp which tells the last updated time for the entity.
Specifies the latest version for the entity.
Provides the OptionState
for the Elasticsearch domain.
Indicates whether the Elasticsearch domain is being deleted.
Specifies the EBSOptions
for the Elasticsearch domain.
Specifies the EBS options for the specified Elasticsearch domain.
Specifies whether EBS-based storage is enabled.
Specifies the volume type for EBS-based storage.
Integer to specify the size of an EBS volume.
Specifies the IOPS for Provisioned IOPS And GP3 EBS volume (SSD).
Specifies the Throughput for GP3 EBS volume (SSD).
Specifies the status of the EBS options for the specified Elasticsearch domain.
Timestamp which tells the creation date for the entity.
Timestamp which tells the last updated time for the entity.
Specifies the latest version for the entity.
Provides the OptionState
for the Elasticsearch domain.
Indicates whether the Elasticsearch domain is being deleted.
IAM access policy as a JSON-formatted string.
The access policy configured for the Elasticsearch domain. Access policies may be resource-based, IP-based, or IAM-based. See Configuring Access Policies for more information.
The status of the access policy for the Elasticsearch domain. See OptionStatus
for the status information that's included.
Timestamp which tells the creation date for the entity.
Timestamp which tells the last updated time for the entity.
Specifies the latest version for the entity.
Provides the OptionState
for the Elasticsearch domain.
Indicates whether the Elasticsearch domain is being deleted.
Specifies the SnapshotOptions
for the Elasticsearch domain.
Specifies the daily snapshot options specified for the Elasticsearch domain.
Specifies the time, in UTC format, when the service takes a daily automated snapshot of the specified Elasticsearch domain. Default value is 0
hours.
Specifies the status of a daily automated snapshot.
Timestamp which tells the creation date for the entity.
Timestamp which tells the last updated time for the entity.
Specifies the latest version for the entity.
Provides the OptionState
for the Elasticsearch domain.
Indicates whether the Elasticsearch domain is being deleted.
The VPCOptions
for the specified domain. For more information, see VPC Endpoints for Amazon Elasticsearch Service Domains.
Specifies the VPC options for the specified Elasticsearch domain.
The VPC Id for the Elasticsearch domain. Exists only if the domain was created with VPCOptions.
Specifies the subnets for VPC endpoint.
The availability zones for the Elasticsearch domain. Exists only if the domain was created with VPCOptions.
Specifies the security groups for VPC endpoint.
Specifies the status of the VPC options for the specified Elasticsearch domain.
Timestamp which tells the creation date for the entity.
Timestamp which tells the last updated time for the entity.
Specifies the latest version for the entity.
Provides the OptionState
for the Elasticsearch domain.
Indicates whether the Elasticsearch domain is being deleted.
The CognitoOptions
for the specified domain. For more information, see Amazon Cognito Authentication for Kibana.
Specifies the Cognito options for the specified Elasticsearch domain.
Specifies the option to enable Cognito for Kibana authentication.
Specifies the Cognito user pool ID for Kibana authentication.
Specifies the Cognito identity pool ID for Kibana authentication.
Specifies the role ARN that provides Elasticsearch permissions for accessing Cognito resources.
Specifies the status of the Cognito options for the specified Elasticsearch domain.
Timestamp which tells the creation date for the entity.
Timestamp which tells the last updated time for the entity.
Specifies the latest version for the entity.
Provides the OptionState
for the Elasticsearch domain.
Indicates whether the Elasticsearch domain is being deleted.
Specifies the EncryptionAtRestOptions
for the Elasticsearch domain.
Specifies the Encryption At Rest options for the specified Elasticsearch domain.
Specifies the option to enable Encryption At Rest.
Specifies the KMS Key ID for Encryption At Rest options.
Specifies the status of the Encryption At Rest options for the specified Elasticsearch domain.
Timestamp which tells the creation date for the entity.
Timestamp which tells the last updated time for the entity.
Specifies the latest version for the entity.
Provides the OptionState
for the Elasticsearch domain.
Indicates whether the Elasticsearch domain is being deleted.
Specifies the NodeToNodeEncryptionOptions
for the Elasticsearch domain.
Specifies the node-to-node encryption options for the specified Elasticsearch domain.
Specify true to enable node-to-node encryption.
Specifies the status of the node-to-node encryption options for the specified Elasticsearch domain.
Timestamp which tells the creation date for the entity.
Timestamp which tells the last updated time for the entity.
Specifies the latest version for the entity.
Provides the OptionState
for the Elasticsearch domain.
Indicates whether the Elasticsearch domain is being deleted.
Specifies the AdvancedOptions
for the domain. See Configuring Advanced Options for more information.
Specifies the status of advanced options for the specified Elasticsearch domain.
Specifies the status of OptionStatus
for advanced options for the specified Elasticsearch domain.
Timestamp which tells the creation date for the entity.
Timestamp which tells the last updated time for the entity.
Specifies the latest version for the entity.
Provides the OptionState
for the Elasticsearch domain.
Indicates whether the Elasticsearch domain is being deleted.
Log publishing options for the given domain.
The log publishing options configured for the Elasticsearch domain.
Type of Log File, it can be one of the following:
Log Publishing option that is set for given domain. Attributes and their details:
ARN of the Cloudwatch log group to which log needs to be published.
Specifies whether given log publishing option is enabled or not.
The status of the log publishing options for the Elasticsearch domain. See OptionStatus
for the status information that's included.
Timestamp which tells the creation date for the entity.
Timestamp which tells the last updated time for the entity.
Specifies the latest version for the entity.
Provides the OptionState
for the Elasticsearch domain.
Indicates whether the Elasticsearch domain is being deleted.
Specifies the DomainEndpointOptions
for the Elasticsearch domain.
Options to configure endpoint for the Elasticsearch domain.
Specify if only HTTPS endpoint should be enabled for the Elasticsearch domain.
Specify the TLS security policy that needs to be applied to the HTTPS endpoint of Elasticsearch domain. It can be one of the following values:
Specify if custom endpoint should be enabled for the Elasticsearch domain.
Specify the fully qualified domain for your custom endpoint.
Specify ACM certificate ARN for your custom endpoint.
The status of the endpoint options for the Elasticsearch domain. See OptionStatus
for the status information that's included.
Timestamp which tells the creation date for the entity.
Timestamp which tells the last updated time for the entity.
Specifies the latest version for the entity.
Provides the OptionState
for the Elasticsearch domain.
Indicates whether the Elasticsearch domain is being deleted.
Specifies AdvancedSecurityOptions
for the domain.
Specifies advanced security options for the specified Elasticsearch domain.
True if advanced security is enabled.
True if the internal user database is enabled.
Describes the SAML application configured for a domain.
True if SAML is enabled.
Describes the SAML Identity Provider's information.
The Metadata of the SAML application in xml format.
The unique Entity ID of the application in SAML Identity Provider.
The key used for matching the SAML Subject attribute.
The key used for matching the SAML Roles attribute.
The duration, in minutes, after which a user session becomes inactive.
Specifies the Anonymous Auth Disable Date when Anonymous Auth is enabled.
True if Anonymous auth is enabled. Anonymous auth can be enabled only when AdvancedSecurity is enabled on existing domains.
Status of the advanced security options for the specified Elasticsearch domain.
Timestamp which tells the creation date for the entity.
Timestamp which tells the last updated time for the entity.
Specifies the latest version for the entity.
Provides the OptionState
for the Elasticsearch domain.
Indicates whether the Elasticsearch domain is being deleted.
Specifies AutoTuneOptions
for the domain.
Specifies Auto-Tune options for the specified Elasticsearch domain.
Specifies the Auto-Tune desired state. Valid values are ENABLED, DISABLED.
Specifies the rollback state while disabling Auto-Tune for the domain. Valid values are NO_ROLLBACK, DEFAULT_ROLLBACK.
Specifies list of maitenance schedules. See the Developer Guide for more information.
Specifies Auto-Tune maitenance schedule. See the Developer Guide for more information.
Specifies timestamp at which Auto-Tune maintenance schedule start.
Specifies maintenance schedule duration: duration value and duration unit. See the Developer Guide for more information.
Integer to specify the value of a maintenance schedule duration. See the Developer Guide for more information.
Specifies the unit of a maintenance schedule duration. Valid value is HOURS. See the Developer Guide for more information.
Specifies cron expression for a recurring maintenance schedule. See the Developer Guide for more information.
Specifies Status of the Auto-Tune options for the specified Elasticsearch domain.
Timestamp which tells Auto-Tune options creation date .
Timestamp which tells Auto-Tune options last updated time.
Specifies the Auto-Tune options latest version.
Specifies the AutoTuneState
for the Elasticsearch domain.
Specifies the error message while enabling or disabling the Auto-Tune options.
Indicates whether the Elasticsearch domain is being deleted.
Specifies change details of the domain configuration change.
The unique change identifier associated with a specific domain configuration change.
Contains an optional message associated with the domain configuration change.
Exceptions
ElasticsearchService.Client.exceptions.BaseException
ElasticsearchService.Client.exceptions.InternalException
ElasticsearchService.Client.exceptions.ResourceNotFoundException
ElasticsearchService.Client.exceptions.ValidationException