Class: Aws::MWAA::Types::TeamConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mwaa/lib/aws-sdk-mwaa/types.rb

Overview

Describes the configuration for a single team in Apache Airflow multi-team support on your Amazon MWAA environment. A team configuration defines the Amazon S3 location of the DAG code for the team. The team name that maps to this configuration must match the display name of an Amazon Web Services IAM Identity Center group associated with your environment. For more information, refer to Apache Airflow multi-team environments.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dag_s3_path ⇒ String

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/ and s3://amzn-s3-demo-bucket/dags/team-a/ overlap, because the first path is a prefix of the second.

  • s3://amzn-s3-demo-bucket/dags/ and s3://amzn-s3-demo-bucket/dags-team-a/ don't overlap.

  • s3://amzn-s3-demo-bucket/teams/team-a/ and s3://amzn-s3-demo-bucket/teams/team-b/ don't overlap.

Returns:

  • (String)


1593
1594
1595
1596
1597
1598
# File 'gems/aws-sdk-mwaa/lib/aws-sdk-mwaa/types.rb', line 1593

class TeamConfig < Struct.new(
  :source_bucket_arn,
  :dag_s3_path)
  SENSITIVE = []
  include Aws::Structure
end

#source_bucket_arn ⇒ String

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.

Returns:

  • (String)


1593
1594
1595
1596
1597
1598
# File 'gems/aws-sdk-mwaa/lib/aws-sdk-mwaa/types.rb', line 1593

class TeamConfig < Struct.new(
  :source_bucket_arn,
  :dag_s3_path)
  SENSITIVE = []
  include Aws::Structure
end