Skip to content
v2.274.0

CfnUserDefinedFunctionProps Struct ​

Properties for defining a CfnUserDefinedFunction.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const cfnUserDefinedFunctionProps: glue.CfnUserDefinedFunctionProps = {
  databaseName: 'databaseName',
  functionName: 'functionName',

  // the properties below are optional
  className: 'className',
  functionType: 'functionType',
  ownerName: 'ownerName',
  ownerType: 'ownerType',
  resourceUris: [{
    resourceType: 'resourceType',
    uri: 'uri',
  }],
};

Properties ​

classNameoptionalstringclass_nameoptionalstrclassNameoptionalStringClassNameoptionalstringClassNameoptional*string#
The Java class that contains the function code.
databaseNamestringdatabase_namestrdatabaseNameStringDatabaseNamestringDatabaseName*stringrequired#
The name of the catalog database in which the function is located.
functionNamestringfunction_namestrfunctionNameStringFunctionNamestringFunctionName*stringrequired#
The name of the function.
functionTypeoptionalstringfunction_typeoptionalstrfunctionTypeoptionalStringFunctionTypeoptionalstringFunctionTypeoptional*string#
The type of the function.
ownerNameoptionalstringowner_nameoptionalstrownerNameoptionalStringOwnerNameoptionalstringOwnerNameoptional*string#
The owner of the function.
ownerTypeoptionalstringowner_typeoptionalstrownerTypeoptionalStringOwnerTypeoptionalstringOwnerTypeoptional*string#
The owner type.
resourceUrisoptionalIResolvable | IResolvable | CfnUserDefinedFunction.ResourceUriProperty[]resource_urisoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ResourceUriProperty]]]resourceUrisoptionalIResolvableResourceUrisoptionalIResolvableResourceUrisoptionalinterface{}#
The resource URIs for the function.