TeamConfig
¶
Source code in docs_src/capo_mwaa/types/team_config.py
dag_s3_path
instance-attribute
¶
dag_s3_path: RelativePath
The relative path to the DAGs folder for the team in the team's Amazon S3 bucket. For example, dags/team-a. For more information, refer to Adding or updating DAGs.
DAG folders can't overlap. A team folder can't be inside the global folder or another team's folder, and the global folder can't be inside a team folder. Amazon Managed Workflows for Apache Airflow (Amazon MWAA) compares folder paths as Amazon S3 prefixes, so the trailing slash matters:
-
s3://amzn-s3-demo-bucket/dags/ands3://amzn-s3-demo-bucket/dags/team-a/overlap, because the first path is a prefix of the second. -
s3://amzn-s3-demo-bucket/dags/ands3://amzn-s3-demo-bucket/dags-team-a/don't overlap. -
s3://amzn-s3-demo-bucket/teams/team-a/ands3://amzn-s3-demo-bucket/teams/team-b/don't overlap.
source_bucket_arn
instance-attribute
¶
source_bucket_arn: S3BucketArn
The Amazon Resource Name (ARN) of the Amazon S3 bucket where the team's DAG code and supporting files are stored. For example, arn:aws:s3:::my-airflow-bucket-unique-name. For more information, refer to Create an Amazon S3 bucket for Amazon MWAA.