tests.system.amazon.aws.example_mwaa_serverless

Attributes

DAG_ID

ROLE_ARN_KEY

WORKFLOW_YAML

sys_test_context_task

test_context

test_run

Functions

stop_workflow_run(workflow_arn, run_id)

Stop the workflow run.

delete_workflow(workflow_arn)

Delete the MWAA Serverless workflow.

Module Contents

tests.system.amazon.aws.example_mwaa_serverless.DAG_ID = 'example_mwaa_serverless'[source]
tests.system.amazon.aws.example_mwaa_serverless.ROLE_ARN_KEY = 'ROLE_ARN'[source]
tests.system.amazon.aws.example_mwaa_serverless.WORKFLOW_YAML = Multiline-String[source]
Show Value
"""systest_mwaa_serverless:
  schedule: null
  description: "System test: S3 key sensor on workflow definition"
  tasks:
    check_file:
      task_id: check_file
      operator: airflow.providers.amazon.aws.sensors.s3.S3KeySensor
      bucket_name: {bucket}
      bucket_key: workflow.yaml
"""
tests.system.amazon.aws.example_mwaa_serverless.sys_test_context_task[source]
tests.system.amazon.aws.example_mwaa_serverless.stop_workflow_run(workflow_arn, run_id)[source]

Stop the workflow run.

tests.system.amazon.aws.example_mwaa_serverless.delete_workflow(workflow_arn)[source]

Delete the MWAA Serverless workflow.

tests.system.amazon.aws.example_mwaa_serverless.test_context = None[source]
tests.system.amazon.aws.example_mwaa_serverless.test_run[source]

Was this entry helpful?