aws_ddk_core.stages.GlueTransformStage¶
- class aws_ddk_core.stages.GlueTransformStage(*args: Any, **kwargs)¶
Class that represents a Glue Transform DDK DataStage.
- __init__(scope: constructs.Construct, id: str, environment_id: str, job_name: str, crawler_name: str, job_args: Optional[Dict[str, Any]] = None, state_machine_input: Optional[Dict[str, Any]] = None) None ¶
DDK Glue Transform stage.
Stage that contains a step function that runs Glue job, and a Glue crawler afterwards. Both the Glue job and the crawler must be pre-created.
- Parameters
scope (Construct) – Scope within which this construct is defined
id (str) – Identifier of the stage
environment_id (str) – Identifier of the environment
job_name (str) – Name of the Glue job to run
crawler_name (str) – Name of the Glue crawler to run
job_args (Optional[Dict[str, Any]]) – Glue job arguments
state_machine_input (Optional[Dict[str, Any]]) – Input of the state machine
Methods
__init__
(scope, id, environment_id, ...[, ...])DDK Glue Transform stage.
Get output event pattern of the stage.
Get input targets of the stage.
is_construct
(x)(deprecated) Checks if
x
is a construct.to_string
()Returns a string representation of this construct.
Attributes
node
The tree node.
- get_event_pattern() Optional[aws_cdk.aws_events.EventPattern] ¶
Get output event pattern of the stage.
Event pattern describes the structure of output event(s) produced by this stage. Event Rules use event patterns to select events and route them to targets.
- Returns
event_pattern – Event pattern
- Return type
Optional[EventPattern]
- get_targets() Optional[List[aws_cdk.aws_events.IRuleTarget]] ¶
Get input targets of the stage.
Targets are used by Event Rules to describe what should be invoked when a rule matches an event.
- Returns
targets – List of targets
- Return type
Optional[List[IRuleTarget]]