AWS emr: Document LF-governed UDFs in Spark Connect sessions
Summary
Adds guidance that Lake Formation-governed AWS Glue UDFs can be used in Spark Connect sessions (emr-7.14.0+/emr-spark-8.2.0+) by declaring them in spark.aws.lakeformation.artifacts.
Security assessment
Documents a session configuration property (spark.aws.lakeformation.artifacts) that governs which UDF artifacts are subject to Lake Formation fine-grained access control, which has access-control implications for Spark Connect sessions.
Evidence
+With release `emr-7.14.0` and later, or `emr-spark-8.2.0` and later, you can also use Lake Formation-governed AWS Glue user-defined functions in a Spark Connect session. Declare them in `spark.aws.lakeformation.artifacts` when you start the session. For more information, see [Using user-defined functions with Lake Formation fine-grained access control](./emr-serverless-lf-udf.html).
Diff
diff --git a/emr/latest/EMR-Serverless-UserGuide/spark-connect.md b/emr/latest/EMR-Serverless-UserGuide/spark-connect.md index 6995cfa..6ceda91 100644 --- a//emr/latest/EMR-Serverless-UserGuide/spark-connect.md +++ b//emr/latest/EMR-Serverless-UserGuide/spark-connect.md @@ -276,0 +277,2 @@ Enable Lake Formation for a session in one of the following ways: +With release `emr-7.14.0` and later, or `emr-spark-8.2.0` and later, you can also use Lake Formation-governed AWS Glue user-defined functions in a Spark Connect session. Declare them in `spark.aws.lakeformation.artifacts` when you start the session. For more information, see [Using user-defined functions with Lake Formation fine-grained access control](./emr-serverless-lf-udf.html). +