Skip to main content

managed_endpoints

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

Overview

Namemanaged_endpoints
TypeResource
Idaws.emr_containers.managed_endpoints

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the endpoint. (pattern: <code>[0-9a-z]+</code>)
namestringThe name of the endpoint. (pattern: <code>[.-_/#A-Za-z0-9]+</code>)
arnstringThe ARN of the endpoint. (pattern: <code>^arn:(aws[a-zA-Z0-9-]*):emr-containers:.+:(\d{12}):/virtualclusters/[0-9a-zA-Z]+/endpoints/[0-9a-zA-Z]+$</code>)
auth_proxy_urlstringThe authentication proxy URL of the endpoint. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDBFF-\uDC00\uDFFF\r\n\t]*</code>)
certificate_arnstringThe certificate ARN of the endpoint. This field is under deprecation and will be removed in future. (pattern: <code>^arn:(aws[a-zA-Z0-9-]*):acm:.+:(\d{12}):certificate/.+$</code>)
certificate_authorityobjectThe certificate generated by emr control plane on customer behalf to secure the managed endpoint.
configuration_overridesobjectA configuration specification to be used to override existing configurations.
created_atstring (date-time)The date and time when the endpoint was created.
execution_role_arnstringThe execution role ARN of the endpoint. (pattern: <code>^arn:(aws[a-zA-Z0-9-]*):iam::(\d{12})?:(role((\u002F)|(\u002F[\u0021-\u007F]+\u002F))[\w+=,.@-]+)$</code>)
failure_reasonstringThe reasons why the endpoint has failed. (INTERNAL_ERROR, USER_ERROR, VALIDATION_ERROR, CLUSTER_UNAVAILABLE)
release_labelstringThe EMR release version to be used for the endpoint. (pattern: <code>[.-_/A-Za-z0-9]+</code>)
security_groupstringThe security group configuration of the endpoint. (pattern: <code>.\S.</code>)
server_urlstringThe server URL of the endpoint. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDBFF-\uDC00\uDFFF\r\n\t]*</code>)
statestringThe state of the endpoint. (CREATING, ACTIVE, TERMINATING, TERMINATED, TERMINATED_WITH_ERRORS)
state_detailsstringAdditional details of the endpoint state. (pattern: <code>.\S.</code>)
subnet_idsarrayThe subnet IDs of the endpoint.
tagsobjectThe tags of the endpoint.
type_stringThe type of the endpoint. (pattern: <code>.\S.</code>)
virtual_cluster_idstringThe ID of the endpoint's virtual cluster. (pattern: <code>[0-9a-z]+</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_managed_endpointselectendpoint_id, virtual_cluster_id, regionDisplays detailed information about a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual cluster.
list_managed_endpointsselectvirtual_cluster_id, regioncreatedBefore, createdAfter, types, states, maxResults, nextTokenLists managed endpoints based on a set of parameters. A managed endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual cluster.
create_managed_endpointinsertvirtual_cluster_id, region, name, type, releaseLabel, executionRoleArn, clientTokenCreates a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual cluster.
delete_managed_endpointdeleteendpoint_id, virtual_cluster_id, regionDeletes a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual cluster.

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 ID of the managed endpoint.
regionstringAWS region (default: us-east-1)
virtual_cluster_idstringThe ID of the endpoint's virtual cluster.
createdAfterstring (date-time)The date and time after which the endpoints are created.
createdBeforestring (date-time)The date and time before which the endpoints are created.
maxResultsintegerThe maximum number of managed endpoints that can be listed.
nextTokenstringThe token for the next set of managed endpoints to return.
statesarrayThe states of the managed endpoints.
typesarrayThe types of the managed endpoints.

SELECT examples

Displays detailed information about a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual cluster.

SELECT
id,
name,
arn,
auth_proxy_url,
certificate_arn,
certificate_authority,
configuration_overrides,
created_at,
execution_role_arn,
failure_reason,
release_label,
security_group,
server_url,
state,
state_details,
subnet_ids,
tags,
type_,
virtual_cluster_id
FROM aws.emr_containers.managed_endpoints
WHERE endpoint_id = '{{ endpoint_id }}' -- required
AND virtual_cluster_id = '{{ virtual_cluster_id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual cluster.

INSERT INTO aws.emr_containers.managed_endpoints (
name,
type,
releaseLabel,
executionRoleArn,
certificateArn,
configurationOverrides,
clientToken,
tags,
sessionIdleTimeoutInMinutes,
virtual_cluster_id,
region
)
SELECT
'{{ name }}' /* required */,
'{{ type }}' /* required */,
'{{ releaseLabel }}' /* required */,
'{{ executionRoleArn }}' /* required */,
'{{ certificateArn }}',
'{{ configurationOverrides }}',
'{{ clientToken }}' /* required */,
'{{ tags }}',
{{ sessionIdleTimeoutInMinutes }},
'{{ virtual_cluster_id }}',
'{{ region }}'
RETURNING
id,
name,
arn,
virtual_cluster_id
;

DELETE examples

Deletes a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual cluster.

DELETE FROM aws.emr_containers.managed_endpoints
WHERE endpoint_id = '{{ endpoint_id }}' --required
AND virtual_cluster_id = '{{ virtual_cluster_id }}' --required
AND region = '{{ region }}' --required
;