UserDefinedFunctionResource - Lake Formation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

UserDefinedFunctionResource

Identifies a user-defined function, or all user-defined functions in a database, as a resource that you can grant permissions on. You can grant permissions only on functions whose GovernanceMode is LAKE_FORMATION.

Contents

DatabaseName

The name of the database that contains the function.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*

Required: Yes

CatalogId

The ID of the Data Catalog. By default, it's your account ID.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*

Required: No

Name

The name of the function.

Exactly one of UserDefinedFunctionResource$Name or UserDefinedFunctionResource$UserDefinedFunctionWildcard is required.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*

Required: No

UserDefinedFunctionWildcard

A wildcard object representing every user-defined function in the database, including functions created after the grant.

Exactly one of UserDefinedFunctionResource$Name or UserDefinedFunctionResource$UserDefinedFunctionWildcard is required.

Type: UserDefinedFunctionWildcard object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: