Skip to main content

cluster_session_credentials

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

Overview

Namecluster_session_credentials
TypeResource
Idaws.emr.cluster_session_credentials

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
credentialsobjectThe credentials that you can use to connect to cluster endpoints that support username and password authentication.
expires_atstring (date-time)The time when the credentials that are returned by the GetClusterSessionCredentials API expire.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_cluster_session_credentialsselectregionProvides temporary, HTTP basic credentials that are associated with a given runtime IAM role and used by a cluster with fine-grained access control activated. You can use these credentials to connect to cluster endpoints that support username and password authentication.

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
regionstringAWS region (default: us-east-1)

SELECT examples

Provides temporary, HTTP basic credentials that are associated with a given runtime IAM role and used by a cluster with fine-grained access control activated. You can use these credentials to connect to cluster endpoints that support username and password authentication.

SELECT
credentials,
expires_at
FROM aws.emr.cluster_session_credentials
WHERE region = '{{ region }}' -- required
;