CfnUserDefinedFunctionPropsMixin

class aws_cdk.cfn_property_mixins.aws_glue.CfnUserDefinedFunctionPropsMixin(props, *, strategy=None)

Bases: Mixin

Represents a user-defined function (UDF) definition in the AWS Glue Data Catalog.

See:

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

CloudformationResource:

AWS::Glue::UserDefinedFunction

Mixin:

true

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.cfn_property_mixins import aws_glue as glue
import aws_cdk as cdk

# merge_strategy: cdk.IMergeStrategy

cfn_user_defined_function_props_mixin = glue.CfnUserDefinedFunctionPropsMixin(glue.CfnUserDefinedFunctionMixinProps(
    class_name="className",
    database_name="databaseName",
    function_name="functionName",
    function_type="functionType",
    owner_name="ownerName",
    owner_type="ownerType",
    resource_uris=[glue.CfnUserDefinedFunctionPropsMixin.ResourceUriProperty(
        resource_type="resourceType",
        uri="uri"
    )]
),
    strategy=merge_strategy
)

Create a mixin to apply properties to AWS::Glue::UserDefinedFunction.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

None

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['className', 'databaseName', 'functionName', 'functionType', 'ownerName', 'ownerType', 'resourceUris']

Static Methods

classmethod is_mixin(x)

Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

ResourceUriProperty

class CfnUserDefinedFunctionPropsMixin.ResourceUriProperty(*, resource_type=None, uri=None)

Bases: object

The URIs for function resources.

Parameters:
  • resource_type (Optional[str]) – The type of the resource.

  • uri (Optional[str]) – The URI for accessing the resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-userdefinedfunction-resourceuri.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.cfn_property_mixins import aws_glue as glue

resource_uri_property = glue.CfnUserDefinedFunctionPropsMixin.ResourceUriProperty(
    resource_type="resourceType",
    uri="uri"
)

Attributes

resource_type

The type of the resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-userdefinedfunction-resourceuri.html#cfn-glue-userdefinedfunction-resourceuri-resourcetype

uri

The URI for accessing the resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-userdefinedfunction-resourceuri.html#cfn-glue-userdefinedfunction-resourceuri-uri