managed_endpoint_session_credentials
Creates, updates, deletes, gets or lists a managed_endpoint_session_credentials resource.
Overview
| Name | managed_endpoint_session_credentials |
| Type | Resource |
| Id | aws.emr_containers.managed_endpoint_session_credentials |
Fields
The following fields are returned by SELECT queries:
- get_managed_endpoint_session_credentials
| Name | Datatype | Description |
|---|---|---|
id | string | The identifier of the session token returned. (pattern: <code>[0-9a-z]+</code>) |
credentials | object | The structure containing the session credentials. |
endpoint_credentials | object | The session credentials that the operation returns. |
expires_at | string (date-time) | The date and time when the session token will expire. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_managed_endpoint_session_credentials | select | endpoint_id, virtual_cluster_id, region | Generate 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.
| Name | Datatype | Description |
|---|---|---|
endpoint_id | string | The ARN of the managed endpoint for which the request is submitted. |
region | string | AWS region (default: us-east-1) |
virtual_cluster_id | string | The ARN of the Virtual Cluster which the Managed Endpoint belongs to. |
SELECT examples
- get_managed_endpoint_session_credentials
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
;