Skip to main content

kx_connection_strings

Creates, updates, deletes, gets or lists a kx_connection_strings resource.

Overview

Namekx_connection_strings
TypeResource
Idaws.finspace.kx_connection_strings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
signed_connection_stringstringThe signed connection string that you can use to connect to clusters. (pattern: <code>^(:|:tcps://)[a-zA-Z0-9-._]+:\d+:[a-zA-Z0-9-._]+:\S+$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_kx_connection_stringselectuserArn, environment_id, clusterName, regionRetrieves a connection string for a user to connect to a kdb cluster. You must call this API using the same role that you have defined while creating a user.

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
clusterNamestringA name of the kdb cluster.
environment_idstringA unique identifier for the kdb environment.
regionstringAWS region (default: us-east-1)
userArnstringThe Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and how to use ARNs in policies, see IAM Identifiers in the IAM User Guide.

SELECT examples

Retrieves a connection string for a user to connect to a kdb cluster. You must call this API using the same role that you have defined while creating a user.

SELECT
signed_connection_string
FROM aws.finspace.kx_connection_strings
WHERE userArn = '{{ userArn }}' -- required
AND environment_id = '{{ environment_id }}' -- required
AND clusterName = '{{ clusterName }}' -- required
AND region = '{{ region }}' -- required
;