Skip to main content

elasticsearch_domain_configs

Creates, updates, deletes, gets or lists an elasticsearch_domain_configs resource.

Overview

Nameelasticsearch_domain_configs
TypeResource
Idaws.es.elasticsearch_domain_configs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
access_policiesobjectIAM access policy as a JSON-formatted string.
advanced_optionsobjectSpecifies the AdvancedOptions for the domain. See Configuring Advanced Options for more information.
advanced_security_optionsobjectSpecifies AdvancedSecurityOptions for the domain.
auto_tune_optionsobjectSpecifies AutoTuneOptions for the domain.
automated_snapshot_pause_optionsobjectSpecifies AutomatedSnapshotPauseOptions for the domain.
change_progress_detailsobjectSpecifies change details of the domain configuration change.
cognito_optionsobjectThe CognitoOptions for the specified domain. For more information, see Amazon Cognito Authentication for Kibana.
deployment_strategy_optionsobjectSpecifies DeploymentStrategyOptions for the domain.
domain_endpoint_optionsobjectSpecifies the DomainEndpointOptions for the Elasticsearch domain.
ebs_optionsobjectSpecifies the EBSOptions for the Elasticsearch domain.
elasticsearch_cluster_configobjectSpecifies the ElasticsearchClusterConfig for the Elasticsearch domain.
elasticsearch_versionobjectString of format X.Y to specify version for the Elasticsearch domain.
encryption_at_rest_optionsobjectSpecifies the EncryptionAtRestOptions for the Elasticsearch domain.
engine_modeobjectThe engine mode configured for the domain.
log_publishing_optionsobjectLog publishing options for the given domain.
modifying_propertiesarrayInformation about the domain properties that are currently being modified.
node_to_node_encryption_optionsobjectSpecifies the NodeToNodeEncryptionOptions for the Elasticsearch domain.
snapshot_optionsobjectSpecifies the SnapshotOptions for the Elasticsearch domain.
use_caseobjectThe use case configured for the domain.
vpc_optionsobjectThe VPCOptions for the specified domain. For more information, see VPC Endpoints for Amazon Elasticsearch Service Domains.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_elasticsearch_domain_configselectdomain_name, regionProvides cluster configuration information about the specified Elasticsearch domain, such as the state, creation date, update version, and update date for cluster options.
update_elasticsearch_domain_configupdatedomain_name, regionModifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
domain_namestringThe name of the Elasticsearch domain that you are updating.
regionstringAWS region (default: us-east-1)

SELECT examples

Provides cluster configuration information about the specified Elasticsearch domain, such as the state, creation date, update version, and update date for cluster options.

SELECT
access_policies,
advanced_options,
advanced_security_options,
auto_tune_options,
automated_snapshot_pause_options,
change_progress_details,
cognito_options,
deployment_strategy_options,
domain_endpoint_options,
ebs_options,
elasticsearch_cluster_config,
elasticsearch_version,
encryption_at_rest_options,
engine_mode,
log_publishing_options,
modifying_properties,
node_to_node_encryption_options,
snapshot_options,
use_case,
vpc_options
FROM aws.es.elasticsearch_domain_configs
WHERE domain_name = '{{ domain_name }}' -- required
AND region = '{{ region }}' -- required
;

UPDATE examples

Modifies the cluster configuration of the specified Elasticsearch domain, setting as setting the instance type and the number of instances.

UPDATE aws.es.elasticsearch_domain_configs
SET
ElasticsearchClusterConfig = '{{ ElasticsearchClusterConfig }}',
EBSOptions = '{{ EBSOptions }}',
SnapshotOptions = '{{ SnapshotOptions }}',
VPCOptions = '{{ VPCOptions }}',
CognitoOptions = '{{ CognitoOptions }}',
AdvancedOptions = '{{ AdvancedOptions }}',
AccessPolicies = '{{ AccessPolicies }}',
LogPublishingOptions = '{{ LogPublishingOptions }}',
DomainEndpointOptions = '{{ DomainEndpointOptions }}',
AdvancedSecurityOptions = '{{ AdvancedSecurityOptions }}',
NodeToNodeEncryptionOptions = '{{ NodeToNodeEncryptionOptions }}',
EncryptionAtRestOptions = '{{ EncryptionAtRestOptions }}',
AutoTuneOptions = '{{ AutoTuneOptions }}',
DryRun = {{ DryRun }},
DeploymentStrategyOptions = '{{ DeploymentStrategyOptions }}',
AutomatedSnapshotPauseOptions = '{{ AutomatedSnapshotPauseOptions }}',
UseCase = '{{ UseCase }}',
EngineMode = '{{ EngineMode }}'
WHERE
domain_name = '{{ domain_name }}' --required
AND region = '{{ region }}' --required
RETURNING
domain_config,
dry_run_results;