Skip to main content

outbound_cross_cluster_search_connections

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

Overview

Nameoutbound_cross_cluster_search_connections
TypeResource
Idaws.es.outbound_cross_cluster_search_connections

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
cross_cluster_search_connectionsarrayConsists of list of OutboundCrossClusterSearchConnection matching the specified filter criteria.
next_tokenstringPaginated APIs accepts NextToken input to returns next page results and provides a NextToken output in the response which can be used by the client to retrieve more results.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_outbound_cross_cluster_search_connectionsselectregionLists all the outbound cross-cluster search connections for a source domain.
create_outbound_cross_cluster_search_connectioninsertregion, SourceDomainInfo, DestinationDomainInfo, ConnectionAliasCreates a new cross-cluster search connection from a source domain to a destination domain.
delete_outbound_cross_cluster_search_connectiondeleteconnection_id, regionAllows the source domain owner to delete an existing outbound cross-cluster search connection.

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
connection_idstringThe id of the outbound connection that you want to permanently delete.
regionstringAWS region (default: us-east-1)

SELECT examples

Lists all the outbound cross-cluster search connections for a source domain.

SELECT
cross_cluster_search_connections,
next_token
FROM aws.es.outbound_cross_cluster_search_connections
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates a new cross-cluster search connection from a source domain to a destination domain.

INSERT INTO aws.es.outbound_cross_cluster_search_connections (
SourceDomainInfo,
DestinationDomainInfo,
ConnectionAlias,
region
)
SELECT
'{{ SourceDomainInfo }}' /* required */,
'{{ DestinationDomainInfo }}' /* required */,
'{{ ConnectionAlias }}' /* required */,
'{{ region }}'
RETURNING
connection_alias,
connection_status,
cross_cluster_search_connection_id,
destination_domain_info,
source_domain_info
;

DELETE examples

Allows the source domain owner to delete an existing outbound cross-cluster search connection.

DELETE FROM aws.es.outbound_cross_cluster_search_connections
WHERE connection_id = '{{ connection_id }}' --required
AND region = '{{ region }}' --required
;