UserDefinedFunctionInput
¶
Used by
Source code in docs_src/capo_glue/types/user_defined_function_input.py
artifact_location
instance-attribute
¶
artifact_location: NotRequired[URI]
The Amazon S3 location that contains the function's artifacts. Required when GovernanceMode is LAKE_FORMATION. You must register the location with Lake Formation, and every resource URI must be under this location.
class_name
instance-attribute
¶
class_name: NotRequired[NameString]
The Java class that contains the function code.
function_type
instance-attribute
¶
function_type: NotRequired[FunctionType]
The type of the function.
governance_mode
instance-attribute
¶
governance_mode: NotRequired[GovernanceMode]
How access to the function is governed. Specify LAKE_FORMATION to manage access to the function with Lake Formation permissions. If you don't specify a value, the default is IAM_ONLY. You can't change the governance mode after the function is created.
When GovernanceMode is LAKE_FORMATION:
-
You must be a data lake administrator or have all permissions on the Data Catalog with the grant option.
-
You must have the
DATA_LOCATION_ACCESSpermission on theArtifactLocation, unless you're a data lake administrator. -
You must specify from 1 to 10 resource URIs, each under the
ArtifactLocation. -
You can't rename the function.
resource_uris
instance-attribute
¶
resource_uris: NotRequired[ResourceUriList]
The resource URIs for the function.