CfnUserDefinedFunctionProps

class aws_cdk.aws_glue.CfnUserDefinedFunctionProps(*, database_name, function_name, class_name=None, function_type=None, owner_name=None, owner_type=None, resource_uris=None)

Bases: object

Properties for defining a CfnUserDefinedFunction.

Parameters:
  • database_name (str) – The name of the catalog database in which the function is located.

  • function_name (str) – The name of the function.

  • class_name (Optional[str]) – The Java class that contains the function code.

  • function_type (Optional[str]) – The type of the function.

  • owner_name (Optional[str]) – The owner of the function.

  • owner_type (Optional[str]) – The owner type.

  • resource_uris (Union[IResolvable, Sequence[Union[IResolvable, ResourceUriProperty, Dict[str, Any]]], None]) – The resource URIs for the function.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-userdefinedfunction.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_glue as glue

cfn_user_defined_function_props = glue.CfnUserDefinedFunctionProps(
    database_name="databaseName",
    function_name="functionName",

    # the properties below are optional
    class_name="className",
    function_type="functionType",
    owner_name="ownerName",
    owner_type="ownerType",
    resource_uris=[glue.CfnUserDefinedFunction.ResourceUriProperty(
        resource_type="resourceType",
        uri="uri"
    )]
)

Attributes

class_name

The Java class that contains the function code.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-userdefinedfunction.html#cfn-glue-userdefinedfunction-classname

database_name

The name of the catalog database in which the function is located.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-userdefinedfunction.html#cfn-glue-userdefinedfunction-databasename

function_name

The name of the function.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-userdefinedfunction.html#cfn-glue-userdefinedfunction-functionname

function_type

The type of the function.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-userdefinedfunction.html#cfn-glue-userdefinedfunction-functiontype

owner_name

The owner of the function.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-userdefinedfunction.html#cfn-glue-userdefinedfunction-ownername

owner_type

The owner type.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-userdefinedfunction.html#cfn-glue-userdefinedfunction-ownertype

resource_uris

The resource URIs for the function.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-userdefinedfunction.html#cfn-glue-userdefinedfunction-resourceuris