CfnWorkflowPropsMixin

class aws_cdk.mixins_preview.aws_glue.mixins.CfnWorkflowPropsMixin(props, *, strategy=None)

Bases: Mixin

The AWS::Glue::Workflow is an AWS Glue resource type that manages AWS Glue workflows.

A workflow is a container for a set of related jobs, crawlers, and triggers in AWS Glue . Using a workflow, you can design a complex multi-job extract, transform, and load (ETL) activity that AWS Glue can execute and track as single entity.

See:

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

CloudformationResource:

AWS::Glue::Workflow

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.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_glue import mixins as glue_mixins

# default_run_properties: Any
# tags: Any

cfn_workflow_props_mixin = glue_mixins.CfnWorkflowPropsMixin(glue_mixins.CfnWorkflowMixinProps(
    default_run_properties=default_run_properties,
    description="description",
    max_concurrent_runs=123,
    name="name",
    tags=tags
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

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

Parameters:
  • props (Union[CfnWorkflowMixinProps, Dict[str, Any]]) – L1 properties to apply.

  • strategy (Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['defaultRunProperties', 'description', 'maxConcurrentRuns', 'name', 'tags']

Static Methods

classmethod is_mixin(x)

(experimental) 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.

Stability:

experimental