CfnUserDefinedFunctionPropsMixin
- class aws_cdk.cfn_property_mixins.aws_glue.CfnUserDefinedFunctionPropsMixin(props, *, strategy=None)
Bases:
MixinRepresents a user-defined function (UDF) definition in the AWS Glue Data Catalog.
- See:
- 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:
props (
Union[CfnUserDefinedFunctionMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
ResourceUriProperty
- class CfnUserDefinedFunctionPropsMixin.ResourceUriProperty(*, resource_type=None, uri=None)
Bases:
objectThe URIs for function resources.
- Parameters:
resource_type (
Optional[str]) – The type of the resource.uri (
Optional[str]) – The URI for accessing the resource.
- See:
- 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.
- uri
The URI for accessing the resource.