Skip to main content

managed_endpoint_session_credentials

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

Overview

Namemanaged_endpoint_session_credentials
TypeResource
Idaws.emr_containers.managed_endpoint_session_credentials

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe identifier of the session token returned. (pattern: <code>[0-9a-z]+</code>)
credentialsobjectThe structure containing the session credentials.
endpoint_credentialsobjectThe session credentials that the operation returns.
expires_atstring (date-time)The date and time when the session token will expire.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_managed_endpoint_session_credentialsselectendpoint_id, virtual_cluster_id, regionGenerate a session token to connect to a managed endpoint.

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
endpoint_idstringThe ARN of the managed endpoint for which the request is submitted.
regionstringAWS region (default: us-east-1)
virtual_cluster_idstringThe ARN of the Virtual Cluster which the Managed Endpoint belongs to.

SELECT examples

Generate a session token to connect to a managed endpoint.

SELECT
id,
credentials,
endpoint_credentials,
expires_at
FROM aws.emr_containers.managed_endpoint_session_credentials
WHERE endpoint_id = '{{ endpoint_id }}' -- required
AND virtual_cluster_id = '{{ virtual_cluster_id }}' -- required
AND region = '{{ region }}' -- required
;