1. Registry
  2. Packages
  3. AWS
  4. API Docs
  5. mwaa
  6. Environment
Viewing docs for AWS v7.51.0
published on Thursday, Oct 15, 2026 by Pulumi
aws logo aws logo
Viewing docs for AWS v7.51.0
published on Thursday, Oct 15, 2026 by Pulumi

    Creates a MWAA Environment resource.

    Example Usage

    A MWAA Environment requires an IAM role (aws.iam.Role), two subnets in the private zone (aws.ec2.Subnet) and a versioned S3 bucket (aws.s3.Bucket).

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.mwaa.Environment("example", {
        networkConfiguration: {
            securityGroupIds: [exampleAwsSecurityGroup.id],
            subnetIds: _private.map(__item => __item.id),
        },
        dagS3Path: "dags/",
        executionRoleArn: exampleAwsIamRole.arn,
        name: "example",
        sourceBucketArn: exampleAwsS3Bucket.arn,
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.mwaa.Environment("example",
        network_configuration={
            "security_group_ids": [example_aws_security_group["id"]],
            "subnet_ids": [__item["id"] for __item in private],
        },
        dag_s3_path="dags/",
        execution_role_arn=example_aws_iam_role["arn"],
        name="example",
        source_bucket_arn=example_aws_s3_bucket["arn"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/mwaa"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
    _, err := mwaa.NewEnvironment(ctx, "example", &mwaa.EnvironmentArgs{
    NetworkConfiguration: &mwaa.EnvironmentNetworkConfigurationArgs{
    SecurityGroupIds: pulumi.StringArray{
    exampleAwsSecurityGroup.Id,
    },
    SubnetIds: pulumi.StringArray(%!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:3,24-37)),
    },
    DagS3Path: pulumi.String("dags/"),
    ExecutionRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
    Name: pulumi.String("example"),
    SourceBucketArn: pulumi.Any(exampleAwsS3Bucket.Arn),
    })
    if err != nil {
    return err
    }
    return nil
    })
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.Mwaa.Environment("example", new()
        {
            NetworkConfiguration = new Aws.Mwaa.Inputs.EnvironmentNetworkConfigurationArgs
            {
                SecurityGroupIds = new[]
                {
                    exampleAwsSecurityGroup.Id,
                },
                SubnetIds = @private.Select(__item => __item.Id).ToList(),
            },
            DagS3Path = "dags/",
            ExecutionRoleArn = exampleAwsIamRole.Arn,
            Name = "example",
            SourceBucketArn = exampleAwsS3Bucket.Arn,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.mwaa.Environment;
    import com.pulumi.aws.mwaa.EnvironmentArgs;
    import com.pulumi.aws.mwaa.inputs.EnvironmentNetworkConfigurationArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new Environment("example", EnvironmentArgs.builder()
                .networkConfiguration(EnvironmentNetworkConfigurationArgs.builder()
                    .securityGroupIds(exampleAwsSecurityGroup.id())
                    .subnetIds(private_.stream().map(element -> element.id()).collect(toList()))
                    .build())
                .dagS3Path("dags/")
                .executionRoleArn(exampleAwsIamRole.arn())
                .name("example")
                .sourceBucketArn(exampleAwsS3Bucket.arn())
                .build());
    
        }
    }
    
    Example coming soon!
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_mwaa_environment" "example" {
      network_configuration = {
        security_group_ids = [exampleAwsSecurityGroup.id]
        subnet_ids         = private[*].id
      }
      dag_s3_path        = "dags/"
      execution_role_arn = exampleAwsIamRole.arn
      name               = "example"
      source_bucket_arn  = exampleAwsS3Bucket.arn
    }
    

    Example with Airflow configuration options

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.mwaa.Environment("example", {
        networkConfiguration: {
            securityGroupIds: [exampleAwsSecurityGroup.id],
            subnetIds: _private.map(__item => __item.id),
        },
        airflowConfigurationOptions: {
            "core.default_task_retries": "16",
            "core.parallelism": "1",
        },
        dagS3Path: "dags/",
        executionRoleArn: exampleAwsIamRole.arn,
        name: "example",
        sourceBucketArn: exampleAwsS3Bucket.arn,
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.mwaa.Environment("example",
        network_configuration={
            "security_group_ids": [example_aws_security_group["id"]],
            "subnet_ids": [__item["id"] for __item in private],
        },
        airflow_configuration_options={
            "core.default_task_retries": "16",
            "core.parallelism": "1",
        },
        dag_s3_path="dags/",
        execution_role_arn=example_aws_iam_role["arn"],
        name="example",
        source_bucket_arn=example_aws_s3_bucket["arn"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/mwaa"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
    _, err := mwaa.NewEnvironment(ctx, "example", &mwaa.EnvironmentArgs{
    NetworkConfiguration: &mwaa.EnvironmentNetworkConfigurationArgs{
    SecurityGroupIds: pulumi.StringArray{
    exampleAwsSecurityGroup.Id,
    },
    SubnetIds: pulumi.StringArray(%!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:3,24-37)),
    },
    AirflowConfigurationOptions: pulumi.StringMap{
    "core.default_task_retries": pulumi.String("16"),
    "core.parallelism": pulumi.String("1"),
    },
    DagS3Path: pulumi.String("dags/"),
    ExecutionRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
    Name: pulumi.String("example"),
    SourceBucketArn: pulumi.Any(exampleAwsS3Bucket.Arn),
    })
    if err != nil {
    return err
    }
    return nil
    })
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.Mwaa.Environment("example", new()
        {
            NetworkConfiguration = new Aws.Mwaa.Inputs.EnvironmentNetworkConfigurationArgs
            {
                SecurityGroupIds = new[]
                {
                    exampleAwsSecurityGroup.Id,
                },
                SubnetIds = @private.Select(__item => __item.Id).ToList(),
            },
            AirflowConfigurationOptions = 
            {
                { "core.default_task_retries", "16" },
                { "core.parallelism", "1" },
            },
            DagS3Path = "dags/",
            ExecutionRoleArn = exampleAwsIamRole.Arn,
            Name = "example",
            SourceBucketArn = exampleAwsS3Bucket.Arn,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.mwaa.Environment;
    import com.pulumi.aws.mwaa.EnvironmentArgs;
    import com.pulumi.aws.mwaa.inputs.EnvironmentNetworkConfigurationArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new Environment("example", EnvironmentArgs.builder()
                .networkConfiguration(EnvironmentNetworkConfigurationArgs.builder()
                    .securityGroupIds(exampleAwsSecurityGroup.id())
                    .subnetIds(private_.stream().map(element -> element.id()).collect(toList()))
                    .build())
                .airflowConfigurationOptions(Map.ofEntries(
                    Map.entry("core.default_task_retries", "16"),
                    Map.entry("core.parallelism", "1")
                ))
                .dagS3Path("dags/")
                .executionRoleArn(exampleAwsIamRole.arn())
                .name("example")
                .sourceBucketArn(exampleAwsS3Bucket.arn())
                .build());
    
        }
    }
    
    Example coming soon!
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_mwaa_environment" "example" {
      network_configuration = {
        security_group_ids = [exampleAwsSecurityGroup.id]
        subnet_ids         = private[*].id
      }
      airflow_configuration_options = {
        "core.default_task_retries" = 16
        "core.parallelism"          = 1
      }
      dag_s3_path        = "dags/"
      execution_role_arn = exampleAwsIamRole.arn
      name               = "example"
      source_bucket_arn  = exampleAwsS3Bucket.arn
    }
    

    Example with logging configurations

    Note that Airflow task logs are enabled by default with the INFO log level.

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.mwaa.Environment("example", {
        loggingConfiguration: {
            dagProcessingLogs: {
                enabled: true,
                logLevel: "DEBUG",
            },
            schedulerLogs: {
                enabled: true,
                logLevel: "INFO",
            },
            taskLogs: {
                enabled: true,
                logLevel: "WARNING",
            },
            webserverLogs: {
                enabled: true,
                logLevel: "ERROR",
            },
            workerLogs: {
                enabled: true,
                logLevel: "CRITICAL",
            },
        },
        networkConfiguration: {
            securityGroupIds: [exampleAwsSecurityGroup.id],
            subnetIds: _private.map(__item => __item.id),
        },
        dagS3Path: "dags/",
        executionRoleArn: exampleAwsIamRole.arn,
        name: "example",
        sourceBucketArn: exampleAwsS3Bucket.arn,
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.mwaa.Environment("example",
        logging_configuration={
            "dag_processing_logs": {
                "enabled": True,
                "log_level": "DEBUG",
            },
            "scheduler_logs": {
                "enabled": True,
                "log_level": "INFO",
            },
            "task_logs": {
                "enabled": True,
                "log_level": "WARNING",
            },
            "webserver_logs": {
                "enabled": True,
                "log_level": "ERROR",
            },
            "worker_logs": {
                "enabled": True,
                "log_level": "CRITICAL",
            },
        },
        network_configuration={
            "security_group_ids": [example_aws_security_group["id"]],
            "subnet_ids": [__item["id"] for __item in private],
        },
        dag_s3_path="dags/",
        execution_role_arn=example_aws_iam_role["arn"],
        name="example",
        source_bucket_arn=example_aws_s3_bucket["arn"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/mwaa"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
    _, err := mwaa.NewEnvironment(ctx, "example", &mwaa.EnvironmentArgs{
    LoggingConfiguration: &mwaa.EnvironmentLoggingConfigurationArgs{
    DagProcessingLogs: &mwaa.EnvironmentLoggingConfigurationDagProcessingLogsArgs{
    Enabled: pulumi.Bool(true),
    LogLevel: pulumi.String("DEBUG"),
    },
    SchedulerLogs: &mwaa.EnvironmentLoggingConfigurationSchedulerLogsArgs{
    Enabled: pulumi.Bool(true),
    LogLevel: pulumi.String("INFO"),
    },
    TaskLogs: &mwaa.EnvironmentLoggingConfigurationTaskLogsArgs{
    Enabled: pulumi.Bool(true),
    LogLevel: pulumi.String("WARNING"),
    },
    WebserverLogs: &mwaa.EnvironmentLoggingConfigurationWebserverLogsArgs{
    Enabled: pulumi.Bool(true),
    LogLevel: pulumi.String("ERROR"),
    },
    WorkerLogs: &mwaa.EnvironmentLoggingConfigurationWorkerLogsArgs{
    Enabled: pulumi.Bool(true),
    LogLevel: pulumi.String("CRITICAL"),
    },
    },
    NetworkConfiguration: &mwaa.EnvironmentNetworkConfigurationArgs{
    SecurityGroupIds: pulumi.StringArray{
    exampleAwsSecurityGroup.Id,
    },
    SubnetIds: pulumi.StringArray(%!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:25,24-37)),
    },
    DagS3Path: pulumi.String("dags/"),
    ExecutionRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
    Name: pulumi.String("example"),
    SourceBucketArn: pulumi.Any(exampleAwsS3Bucket.Arn),
    })
    if err != nil {
    return err
    }
    return nil
    })
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.Mwaa.Environment("example", new()
        {
            LoggingConfiguration = new Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationArgs
            {
                DagProcessingLogs = new Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationDagProcessingLogsArgs
                {
                    Enabled = true,
                    LogLevel = "DEBUG",
                },
                SchedulerLogs = new Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationSchedulerLogsArgs
                {
                    Enabled = true,
                    LogLevel = "INFO",
                },
                TaskLogs = new Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationTaskLogsArgs
                {
                    Enabled = true,
                    LogLevel = "WARNING",
                },
                WebserverLogs = new Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationWebserverLogsArgs
                {
                    Enabled = true,
                    LogLevel = "ERROR",
                },
                WorkerLogs = new Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationWorkerLogsArgs
                {
                    Enabled = true,
                    LogLevel = "CRITICAL",
                },
            },
            NetworkConfiguration = new Aws.Mwaa.Inputs.EnvironmentNetworkConfigurationArgs
            {
                SecurityGroupIds = new[]
                {
                    exampleAwsSecurityGroup.Id,
                },
                SubnetIds = @private.Select(__item => __item.Id).ToList(),
            },
            DagS3Path = "dags/",
            ExecutionRoleArn = exampleAwsIamRole.Arn,
            Name = "example",
            SourceBucketArn = exampleAwsS3Bucket.Arn,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.mwaa.Environment;
    import com.pulumi.aws.mwaa.EnvironmentArgs;
    import com.pulumi.aws.mwaa.inputs.EnvironmentLoggingConfigurationArgs;
    import com.pulumi.aws.mwaa.inputs.EnvironmentLoggingConfigurationDagProcessingLogsArgs;
    import com.pulumi.aws.mwaa.inputs.EnvironmentLoggingConfigurationSchedulerLogsArgs;
    import com.pulumi.aws.mwaa.inputs.EnvironmentLoggingConfigurationTaskLogsArgs;
    import com.pulumi.aws.mwaa.inputs.EnvironmentLoggingConfigurationWebserverLogsArgs;
    import com.pulumi.aws.mwaa.inputs.EnvironmentLoggingConfigurationWorkerLogsArgs;
    import com.pulumi.aws.mwaa.inputs.EnvironmentNetworkConfigurationArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new Environment("example", EnvironmentArgs.builder()
                .loggingConfiguration(EnvironmentLoggingConfigurationArgs.builder()
                    .dagProcessingLogs(EnvironmentLoggingConfigurationDagProcessingLogsArgs.builder()
                        .enabled(true)
                        .logLevel("DEBUG")
                        .build())
                    .schedulerLogs(EnvironmentLoggingConfigurationSchedulerLogsArgs.builder()
                        .enabled(true)
                        .logLevel("INFO")
                        .build())
                    .taskLogs(EnvironmentLoggingConfigurationTaskLogsArgs.builder()
                        .enabled(true)
                        .logLevel("WARNING")
                        .build())
                    .webserverLogs(EnvironmentLoggingConfigurationWebserverLogsArgs.builder()
                        .enabled(true)
                        .logLevel("ERROR")
                        .build())
                    .workerLogs(EnvironmentLoggingConfigurationWorkerLogsArgs.builder()
                        .enabled(true)
                        .logLevel("CRITICAL")
                        .build())
                    .build())
                .networkConfiguration(EnvironmentNetworkConfigurationArgs.builder()
                    .securityGroupIds(exampleAwsSecurityGroup.id())
                    .subnetIds(private_.stream().map(element -> element.id()).collect(toList()))
                    .build())
                .dagS3Path("dags/")
                .executionRoleArn(exampleAwsIamRole.arn())
                .name("example")
                .sourceBucketArn(exampleAwsS3Bucket.arn())
                .build());
    
        }
    }
    
    Example coming soon!
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_mwaa_environment" "example" {
      logging_configuration = {
        dag_processing_logs = {
          enabled   = true
          log_level = "DEBUG"
        }
        scheduler_logs = {
          enabled   = true
          log_level = "INFO"
        }
        task_logs = {
          enabled   = true
          log_level = "WARNING"
        }
        webserver_logs = {
          enabled   = true
          log_level = "ERROR"
        }
        worker_logs = {
          enabled   = true
          log_level = "CRITICAL"
        }
      }
      network_configuration = {
        security_group_ids = [exampleAwsSecurityGroup.id]
        subnet_ids         = private[*].id
      }
      dag_s3_path        = "dags/"
      execution_role_arn = exampleAwsIamRole.arn
      name               = "example"
      source_bucket_arn  = exampleAwsS3Bucket.arn
    }
    

    Example with tags

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.mwaa.Environment("example", {
        networkConfiguration: {
            securityGroupIds: [exampleAwsSecurityGroup.id],
            subnetIds: _private.map(__item => __item.id),
        },
        dagS3Path: "dags/",
        executionRoleArn: exampleAwsIamRole.arn,
        name: "example",
        sourceBucketArn: exampleAwsS3Bucket.arn,
        tags: {
            Name: "example",
            Environment: "production",
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.mwaa.Environment("example",
        network_configuration={
            "security_group_ids": [example_aws_security_group["id"]],
            "subnet_ids": [__item["id"] for __item in private],
        },
        dag_s3_path="dags/",
        execution_role_arn=example_aws_iam_role["arn"],
        name="example",
        source_bucket_arn=example_aws_s3_bucket["arn"],
        tags={
            "Name": "example",
            "Environment": "production",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/mwaa"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
    _, err := mwaa.NewEnvironment(ctx, "example", &mwaa.EnvironmentArgs{
    NetworkConfiguration: &mwaa.EnvironmentNetworkConfigurationArgs{
    SecurityGroupIds: pulumi.StringArray{
    exampleAwsSecurityGroup.Id,
    },
    SubnetIds: pulumi.StringArray(%!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:3,24-37)),
    },
    DagS3Path: pulumi.String("dags/"),
    ExecutionRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
    Name: pulumi.String("example"),
    SourceBucketArn: pulumi.Any(exampleAwsS3Bucket.Arn),
    Tags: pulumi.StringMap{
    "Name": pulumi.String("example"),
    "Environment": pulumi.String("production"),
    },
    })
    if err != nil {
    return err
    }
    return nil
    })
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.Mwaa.Environment("example", new()
        {
            NetworkConfiguration = new Aws.Mwaa.Inputs.EnvironmentNetworkConfigurationArgs
            {
                SecurityGroupIds = new[]
                {
                    exampleAwsSecurityGroup.Id,
                },
                SubnetIds = @private.Select(__item => __item.Id).ToList(),
            },
            DagS3Path = "dags/",
            ExecutionRoleArn = exampleAwsIamRole.Arn,
            Name = "example",
            SourceBucketArn = exampleAwsS3Bucket.Arn,
            Tags = 
            {
                { "Name", "example" },
                { "Environment", "production" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.mwaa.Environment;
    import com.pulumi.aws.mwaa.EnvironmentArgs;
    import com.pulumi.aws.mwaa.inputs.EnvironmentNetworkConfigurationArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new Environment("example", EnvironmentArgs.builder()
                .networkConfiguration(EnvironmentNetworkConfigurationArgs.builder()
                    .securityGroupIds(exampleAwsSecurityGroup.id())
                    .subnetIds(private_.stream().map(element -> element.id()).collect(toList()))
                    .build())
                .dagS3Path("dags/")
                .executionRoleArn(exampleAwsIamRole.arn())
                .name("example")
                .sourceBucketArn(exampleAwsS3Bucket.arn())
                .tags(Map.ofEntries(
                    Map.entry("Name", "example"),
                    Map.entry("Environment", "production")
                ))
                .build());
    
        }
    }
    
    Example coming soon!
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_mwaa_environment" "example" {
      network_configuration = {
        security_group_ids = [exampleAwsSecurityGroup.id]
        subnet_ids         = private[*].id
      }
      dag_s3_path        = "dags/"
      execution_role_arn = exampleAwsIamRole.arn
      name               = "example"
      source_bucket_arn  = exampleAwsS3Bucket.arn
      tags = {
        "Name"        = "example"
        "Environment" = "production"
      }
    }
    

    Create Environment Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Environment(name: string, args: EnvironmentArgs, opts?: CustomResourceOptions);
    @overload
    def Environment(resource_name: str,
                    args: EnvironmentArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def Environment(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    execution_role_arn: Optional[str] = None,
                    source_bucket_arn: Optional[str] = None,
                    dag_s3_path: Optional[str] = None,
                    network_configuration: Optional[EnvironmentNetworkConfigurationArgs] = None,
                    name: Optional[str] = None,
                    plugins_s3_path: Optional[str] = None,
                    kms_key: Optional[str] = None,
                    logging_configuration: Optional[EnvironmentLoggingConfigurationArgs] = None,
                    max_webservers: Optional[int] = None,
                    max_workers: Optional[int] = None,
                    min_webservers: Optional[int] = None,
                    min_workers: Optional[int] = None,
                    airflow_configuration_options: Optional[Mapping[str, str]] = None,
                    endpoint_management: Optional[str] = None,
                    plugins_s3_object_version: Optional[str] = None,
                    environment_class: Optional[str] = None,
                    region: Optional[str] = None,
                    requirements_s3_object_version: Optional[str] = None,
                    requirements_s3_path: Optional[str] = None,
                    schedulers: Optional[int] = None,
                    airflow_version: Optional[str] = None,
                    startup_script_s3_object_version: Optional[str] = None,
                    startup_script_s3_path: Optional[str] = None,
                    tags: Optional[Mapping[str, str]] = None,
                    webserver_access_mode: Optional[str] = None,
                    weekly_maintenance_window_start: Optional[str] = None,
                    worker_replacement_strategy: Optional[str] = None)
    func NewEnvironment(ctx *Context, name string, args EnvironmentArgs, opts ...ResourceOption) (*Environment, error)
    public Environment(string name, EnvironmentArgs args, CustomResourceOptions? opts = null)
    public Environment(String name, EnvironmentArgs args)
    public Environment(String name, EnvironmentArgs args, CustomResourceOptions options)
    
    type: aws:mwaa:Environment
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws_mwaa_environment" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args EnvironmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args EnvironmentArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args EnvironmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EnvironmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EnvironmentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var exampleenvironmentResourceResourceFromMwaaenvironment = new Aws.Mwaa.Environment("exampleenvironmentResourceResourceFromMwaaenvironment", new()
    {
        ExecutionRoleArn = "string",
        SourceBucketArn = "string",
        DagS3Path = "string",
        NetworkConfiguration = new Aws.Mwaa.Inputs.EnvironmentNetworkConfigurationArgs
        {
            SecurityGroupIds = new[]
            {
                "string",
            },
            SubnetIds = new[]
            {
                "string",
            },
        },
        Name = "string",
        PluginsS3Path = "string",
        KmsKey = "string",
        LoggingConfiguration = new Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationArgs
        {
            DagProcessingLogs = new Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationDagProcessingLogsArgs
            {
                CloudWatchLogGroupArn = "string",
                Enabled = false,
                LogLevel = "string",
            },
            SchedulerLogs = new Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationSchedulerLogsArgs
            {
                CloudWatchLogGroupArn = "string",
                Enabled = false,
                LogLevel = "string",
            },
            TaskLogs = new Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationTaskLogsArgs
            {
                CloudWatchLogGroupArn = "string",
                Enabled = false,
                LogLevel = "string",
            },
            WebserverLogs = new Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationWebserverLogsArgs
            {
                CloudWatchLogGroupArn = "string",
                Enabled = false,
                LogLevel = "string",
            },
            WorkerLogs = new Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationWorkerLogsArgs
            {
                CloudWatchLogGroupArn = "string",
                Enabled = false,
                LogLevel = "string",
            },
        },
        MaxWebservers = 0,
        MaxWorkers = 0,
        MinWebservers = 0,
        MinWorkers = 0,
        AirflowConfigurationOptions = 
        {
            { "string", "string" },
        },
        EndpointManagement = "string",
        PluginsS3ObjectVersion = "string",
        EnvironmentClass = "string",
        Region = "string",
        RequirementsS3ObjectVersion = "string",
        RequirementsS3Path = "string",
        Schedulers = 0,
        AirflowVersion = "string",
        StartupScriptS3ObjectVersion = "string",
        StartupScriptS3Path = "string",
        Tags = 
        {
            { "string", "string" },
        },
        WebserverAccessMode = "string",
        WeeklyMaintenanceWindowStart = "string",
        WorkerReplacementStrategy = "string",
    });
    
    example, err := mwaa.NewEnvironment(ctx, "exampleenvironmentResourceResourceFromMwaaenvironment", &mwaa.EnvironmentArgs{
    	ExecutionRoleArn: pulumi.String("string"),
    	SourceBucketArn:  pulumi.String("string"),
    	DagS3Path:        pulumi.String("string"),
    	NetworkConfiguration: &mwaa.EnvironmentNetworkConfigurationArgs{
    		SecurityGroupIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		SubnetIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	Name:          pulumi.String("string"),
    	PluginsS3Path: pulumi.String("string"),
    	KmsKey:        pulumi.String("string"),
    	LoggingConfiguration: &mwaa.EnvironmentLoggingConfigurationArgs{
    		DagProcessingLogs: &mwaa.EnvironmentLoggingConfigurationDagProcessingLogsArgs{
    			CloudWatchLogGroupArn: pulumi.String("string"),
    			Enabled:               pulumi.Bool(false),
    			LogLevel:              pulumi.String("string"),
    		},
    		SchedulerLogs: &mwaa.EnvironmentLoggingConfigurationSchedulerLogsArgs{
    			CloudWatchLogGroupArn: pulumi.String("string"),
    			Enabled:               pulumi.Bool(false),
    			LogLevel:              pulumi.String("string"),
    		},
    		TaskLogs: &mwaa.EnvironmentLoggingConfigurationTaskLogsArgs{
    			CloudWatchLogGroupArn: pulumi.String("string"),
    			Enabled:               pulumi.Bool(false),
    			LogLevel:              pulumi.String("string"),
    		},
    		WebserverLogs: &mwaa.EnvironmentLoggingConfigurationWebserverLogsArgs{
    			CloudWatchLogGroupArn: pulumi.String("string"),
    			Enabled:               pulumi.Bool(false),
    			LogLevel:              pulumi.String("string"),
    		},
    		WorkerLogs: &mwaa.EnvironmentLoggingConfigurationWorkerLogsArgs{
    			CloudWatchLogGroupArn: pulumi.String("string"),
    			Enabled:               pulumi.Bool(false),
    			LogLevel:              pulumi.String("string"),
    		},
    	},
    	MaxWebservers: pulumi.Int(0),
    	MaxWorkers:    pulumi.Int(0),
    	MinWebservers: pulumi.Int(0),
    	MinWorkers:    pulumi.Int(0),
    	AirflowConfigurationOptions: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	EndpointManagement:           pulumi.String("string"),
    	PluginsS3ObjectVersion:       pulumi.String("string"),
    	EnvironmentClass:             pulumi.String("string"),
    	Region:                       pulumi.String("string"),
    	RequirementsS3ObjectVersion:  pulumi.String("string"),
    	RequirementsS3Path:           pulumi.String("string"),
    	Schedulers:                   pulumi.Int(0),
    	AirflowVersion:               pulumi.String("string"),
    	StartupScriptS3ObjectVersion: pulumi.String("string"),
    	StartupScriptS3Path:          pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	WebserverAccessMode:          pulumi.String("string"),
    	WeeklyMaintenanceWindowStart: pulumi.String("string"),
    	WorkerReplacementStrategy:    pulumi.String("string"),
    })
    
    resource "aws_mwaa_environment" "exampleenvironmentResourceResourceFromMwaaenvironment" {
      lifecycle {
        create_before_destroy = true
      }
      execution_role_arn = "string"
      source_bucket_arn  = "string"
      dag_s3_path        = "string"
      network_configuration = {
        security_group_ids = ["string"]
        subnet_ids         = ["string"]
      }
      name            = "string"
      plugins_s3_path = "string"
      kms_key         = "string"
      logging_configuration = {
        dag_processing_logs = {
          cloud_watch_log_group_arn = "string"
          enabled                   = false
          log_level                 = "string"
        }
        scheduler_logs = {
          cloud_watch_log_group_arn = "string"
          enabled                   = false
          log_level                 = "string"
        }
        task_logs = {
          cloud_watch_log_group_arn = "string"
          enabled                   = false
          log_level                 = "string"
        }
        webserver_logs = {
          cloud_watch_log_group_arn = "string"
          enabled                   = false
          log_level                 = "string"
        }
        worker_logs = {
          cloud_watch_log_group_arn = "string"
          enabled                   = false
          log_level                 = "string"
        }
      }
      max_webservers = 0
      max_workers    = 0
      min_webservers = 0
      min_workers    = 0
      airflow_configuration_options = {
        "string" = "string"
      }
      endpoint_management              = "string"
      plugins_s3_object_version        = "string"
      environment_class                = "string"
      region                           = "string"
      requirements_s3_object_version   = "string"
      requirements_s3_path             = "string"
      schedulers                       = 0
      airflow_version                  = "string"
      startup_script_s3_object_version = "string"
      startup_script_s3_path           = "string"
      tags = {
        "string" = "string"
      }
      webserver_access_mode           = "string"
      weekly_maintenance_window_start = "string"
      worker_replacement_strategy     = "string"
    }
    
    var exampleenvironmentResourceResourceFromMwaaenvironment = new com.pulumi.aws.mwaa.Environment("exampleenvironmentResourceResourceFromMwaaenvironment", com.pulumi.aws.mwaa.EnvironmentArgs.builder()
        .executionRoleArn("string")
        .sourceBucketArn("string")
        .dagS3Path("string")
        .networkConfiguration(EnvironmentNetworkConfigurationArgs.builder()
            .securityGroupIds("string")
            .subnetIds("string")
            .build())
        .name("string")
        .pluginsS3Path("string")
        .kmsKey("string")
        .loggingConfiguration(EnvironmentLoggingConfigurationArgs.builder()
            .dagProcessingLogs(EnvironmentLoggingConfigurationDagProcessingLogsArgs.builder()
                .cloudWatchLogGroupArn("string")
                .enabled(false)
                .logLevel("string")
                .build())
            .schedulerLogs(EnvironmentLoggingConfigurationSchedulerLogsArgs.builder()
                .cloudWatchLogGroupArn("string")
                .enabled(false)
                .logLevel("string")
                .build())
            .taskLogs(EnvironmentLoggingConfigurationTaskLogsArgs.builder()
                .cloudWatchLogGroupArn("string")
                .enabled(false)
                .logLevel("string")
                .build())
            .webserverLogs(EnvironmentLoggingConfigurationWebserverLogsArgs.builder()
                .cloudWatchLogGroupArn("string")
                .enabled(false)
                .logLevel("string")
                .build())
            .workerLogs(EnvironmentLoggingConfigurationWorkerLogsArgs.builder()
                .cloudWatchLogGroupArn("string")
                .enabled(false)
                .logLevel("string")
                .build())
            .build())
        .maxWebservers(0)
        .maxWorkers(0)
        .minWebservers(0)
        .minWorkers(0)
        .airflowConfigurationOptions(Map.of("string", "string"))
        .endpointManagement("string")
        .pluginsS3ObjectVersion("string")
        .environmentClass("string")
        .region("string")
        .requirementsS3ObjectVersion("string")
        .requirementsS3Path("string")
        .schedulers(0)
        .airflowVersion("string")
        .startupScriptS3ObjectVersion("string")
        .startupScriptS3Path("string")
        .tags(Map.of("string", "string"))
        .webserverAccessMode("string")
        .weeklyMaintenanceWindowStart("string")
        .workerReplacementStrategy("string")
        .build());
    
    exampleenvironment_resource_resource_from_mwaaenvironment = aws.mwaa.Environment("exampleenvironmentResourceResourceFromMwaaenvironment",
        execution_role_arn="string",
        source_bucket_arn="string",
        dag_s3_path="string",
        network_configuration={
            "security_group_ids": ["string"],
            "subnet_ids": ["string"],
        },
        name="string",
        plugins_s3_path="string",
        kms_key="string",
        logging_configuration={
            "dag_processing_logs": {
                "cloud_watch_log_group_arn": "string",
                "enabled": False,
                "log_level": "string",
            },
            "scheduler_logs": {
                "cloud_watch_log_group_arn": "string",
                "enabled": False,
                "log_level": "string",
            },
            "task_logs": {
                "cloud_watch_log_group_arn": "string",
                "enabled": False,
                "log_level": "string",
            },
            "webserver_logs": {
                "cloud_watch_log_group_arn": "string",
                "enabled": False,
                "log_level": "string",
            },
            "worker_logs": {
                "cloud_watch_log_group_arn": "string",
                "enabled": False,
                "log_level": "string",
            },
        },
        max_webservers=0,
        max_workers=0,
        min_webservers=0,
        min_workers=0,
        airflow_configuration_options={
            "string": "string",
        },
        endpoint_management="string",
        plugins_s3_object_version="string",
        environment_class="string",
        region="string",
        requirements_s3_object_version="string",
        requirements_s3_path="string",
        schedulers=0,
        airflow_version="string",
        startup_script_s3_object_version="string",
        startup_script_s3_path="string",
        tags={
            "string": "string",
        },
        webserver_access_mode="string",
        weekly_maintenance_window_start="string",
        worker_replacement_strategy="string")
    
    const exampleenvironmentResourceResourceFromMwaaenvironment = new aws.mwaa.Environment("exampleenvironmentResourceResourceFromMwaaenvironment", {
        executionRoleArn: "string",
        sourceBucketArn: "string",
        dagS3Path: "string",
        networkConfiguration: {
            securityGroupIds: ["string"],
            subnetIds: ["string"],
        },
        name: "string",
        pluginsS3Path: "string",
        kmsKey: "string",
        loggingConfiguration: {
            dagProcessingLogs: {
                cloudWatchLogGroupArn: "string",
                enabled: false,
                logLevel: "string",
            },
            schedulerLogs: {
                cloudWatchLogGroupArn: "string",
                enabled: false,
                logLevel: "string",
            },
            taskLogs: {
                cloudWatchLogGroupArn: "string",
                enabled: false,
                logLevel: "string",
            },
            webserverLogs: {
                cloudWatchLogGroupArn: "string",
                enabled: false,
                logLevel: "string",
            },
            workerLogs: {
                cloudWatchLogGroupArn: "string",
                enabled: false,
                logLevel: "string",
            },
        },
        maxWebservers: 0,
        maxWorkers: 0,
        minWebservers: 0,
        minWorkers: 0,
        airflowConfigurationOptions: {
            string: "string",
        },
        endpointManagement: "string",
        pluginsS3ObjectVersion: "string",
        environmentClass: "string",
        region: "string",
        requirementsS3ObjectVersion: "string",
        requirementsS3Path: "string",
        schedulers: 0,
        airflowVersion: "string",
        startupScriptS3ObjectVersion: "string",
        startupScriptS3Path: "string",
        tags: {
            string: "string",
        },
        webserverAccessMode: "string",
        weeklyMaintenanceWindowStart: "string",
        workerReplacementStrategy: "string",
    });
    
    type: aws:mwaa:Environment
    properties:
        airflowConfigurationOptions:
            string: string
        airflowVersion: string
        dagS3Path: string
        endpointManagement: string
        environmentClass: string
        executionRoleArn: string
        kmsKey: string
        loggingConfiguration:
            dagProcessingLogs:
                cloudWatchLogGroupArn: string
                enabled: false
                logLevel: string
            schedulerLogs:
                cloudWatchLogGroupArn: string
                enabled: false
                logLevel: string
            taskLogs:
                cloudWatchLogGroupArn: string
                enabled: false
                logLevel: string
            webserverLogs:
                cloudWatchLogGroupArn: string
                enabled: false
                logLevel: string
            workerLogs:
                cloudWatchLogGroupArn: string
                enabled: false
                logLevel: string
        maxWebservers: 0
        maxWorkers: 0
        minWebservers: 0
        minWorkers: 0
        name: string
        networkConfiguration:
            securityGroupIds:
                - string
            subnetIds:
                - string
        pluginsS3ObjectVersion: string
        pluginsS3Path: string
        region: string
        requirementsS3ObjectVersion: string
        requirementsS3Path: string
        schedulers: 0
        sourceBucketArn: string
        startupScriptS3ObjectVersion: string
        startupScriptS3Path: string
        tags:
            string: string
        webserverAccessMode: string
        weeklyMaintenanceWindowStart: string
        workerReplacementStrategy: string
    

    Environment Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Environment resource accepts the following input properties:

    DagS3Path string
    Relative path to the DAG folder on your Amazon S3 storage bucket. For example, dags. For more information, see Importing DAGs on Amazon MWAA.
    ExecutionRoleArn string
    ARN of the task execution role that the Amazon MWAA and its environment can assume. Check the official AWS documentation for the detailed role specification.
    NetworkConfiguration EnvironmentNetworkConfiguration
    Network configuration for your Apache Airflow Environment. This includes two private subnets as well as security groups for the Airflow environment. Each subnet requires internet connection, otherwise the deployment will fail. See networkConfiguration Block for details.
    SourceBucketArn string
    ARN of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
    AirflowConfigurationOptions Dictionary<string, string>
    Airflow override options. Check the Official documentation for all possible configuration options.
    AirflowVersion string
    Airflow version of your environment, will be set by default to the latest version that MWAA supports.
    EndpointManagement string
    Whether the VPC endpoints configured for the environment are created and managed by the customer or by AWS. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to CUSTOMER, you must create, and manage, the VPC endpoints for your VPC. Defaults to SERVICE if not set.
    EnvironmentClass string
    Environment class for the cluster. Possible options are mw1.micro, mw1.small, mw1.medium, mw1.large. Will be set by default to mw1.small. Please check the AWS Pricing for more information about the environment classes.
    KmsKey string
    ARN of your KMS key that you want to use for encryption. Will be set to the ARN of the managed KMS key aws/airflow by default. Please check the Official Documentation for more information.
    LoggingConfiguration EnvironmentLoggingConfiguration
    Apache Airflow logs you want to send to Amazon CloudWatch Logs. See loggingConfiguration Block for details.
    MaxWebservers int
    Maximum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    MaxWorkers int
    Maximum number of workers that can be automatically scaled up. Value need to be between 1 and 25. Will be 10 by default.
    MinWebservers int
    Minimum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    MinWorkers int
    Minimum number of workers that you want to run in your environment. Will be 1 by default.
    Name string
    Name of the Apache Airflow Environment.
    PluginsS3ObjectVersion string
    Version of the plugins.zip file you want to use.
    PluginsS3Path string
    Relative path to the plugins.zip file on your Amazon S3 storage bucket. For example, plugins.zip. If a relative path is provided in the request, then pluginsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    RequirementsS3ObjectVersion string
    Version of the requirements.txt file you want to use.
    RequirementsS3Path string
    Relative path to the requirements.txt file on your Amazon S3 storage bucket. For example, requirements.txt. If a relative path is provided in the request, then requirementsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    Schedulers int
    Number of schedulers that you want to run in your environment. v2.0.2 and above accepts 2 - 5, default 2. v1.10.12 accepts 1.
    StartupScriptS3ObjectVersion string
    Version of the startup shell script you want to use. You must specify the version ID that Amazon S3 assigns to the file every time you update the script.
    StartupScriptS3Path string
    Relative path to the script hosted in your bucket. The script runs as your environment starts before starting the Apache Airflow process. Use this script to install dependencies, modify configuration options, and set environment variables. See Using a startup script. Supported for environment versions 2.x and later.
    Tags Dictionary<string, string>
    Map of resource tags to associate with the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    WebserverAccessMode string
    Whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY (default), PUBLIC_ONLY and PUBLIC_AND_PRIVATE.
    WeeklyMaintenanceWindowStart string
    Start date for the weekly maintenance window.
    WorkerReplacementStrategy string
    Worker replacement strategy. Valid values: FORCED, GRACEFUL.
    DagS3Path string
    Relative path to the DAG folder on your Amazon S3 storage bucket. For example, dags. For more information, see Importing DAGs on Amazon MWAA.
    ExecutionRoleArn string
    ARN of the task execution role that the Amazon MWAA and its environment can assume. Check the official AWS documentation for the detailed role specification.
    NetworkConfiguration EnvironmentNetworkConfigurationArgs
    Network configuration for your Apache Airflow Environment. This includes two private subnets as well as security groups for the Airflow environment. Each subnet requires internet connection, otherwise the deployment will fail. See networkConfiguration Block for details.
    SourceBucketArn string
    ARN of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
    AirflowConfigurationOptions map[string]string
    Airflow override options. Check the Official documentation for all possible configuration options.
    AirflowVersion string
    Airflow version of your environment, will be set by default to the latest version that MWAA supports.
    EndpointManagement string
    Whether the VPC endpoints configured for the environment are created and managed by the customer or by AWS. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to CUSTOMER, you must create, and manage, the VPC endpoints for your VPC. Defaults to SERVICE if not set.
    EnvironmentClass string
    Environment class for the cluster. Possible options are mw1.micro, mw1.small, mw1.medium, mw1.large. Will be set by default to mw1.small. Please check the AWS Pricing for more information about the environment classes.
    KmsKey string
    ARN of your KMS key that you want to use for encryption. Will be set to the ARN of the managed KMS key aws/airflow by default. Please check the Official Documentation for more information.
    LoggingConfiguration EnvironmentLoggingConfigurationArgs
    Apache Airflow logs you want to send to Amazon CloudWatch Logs. See loggingConfiguration Block for details.
    MaxWebservers int
    Maximum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    MaxWorkers int
    Maximum number of workers that can be automatically scaled up. Value need to be between 1 and 25. Will be 10 by default.
    MinWebservers int
    Minimum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    MinWorkers int
    Minimum number of workers that you want to run in your environment. Will be 1 by default.
    Name string
    Name of the Apache Airflow Environment.
    PluginsS3ObjectVersion string
    Version of the plugins.zip file you want to use.
    PluginsS3Path string
    Relative path to the plugins.zip file on your Amazon S3 storage bucket. For example, plugins.zip. If a relative path is provided in the request, then pluginsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    RequirementsS3ObjectVersion string
    Version of the requirements.txt file you want to use.
    RequirementsS3Path string
    Relative path to the requirements.txt file on your Amazon S3 storage bucket. For example, requirements.txt. If a relative path is provided in the request, then requirementsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    Schedulers int
    Number of schedulers that you want to run in your environment. v2.0.2 and above accepts 2 - 5, default 2. v1.10.12 accepts 1.
    StartupScriptS3ObjectVersion string
    Version of the startup shell script you want to use. You must specify the version ID that Amazon S3 assigns to the file every time you update the script.
    StartupScriptS3Path string
    Relative path to the script hosted in your bucket. The script runs as your environment starts before starting the Apache Airflow process. Use this script to install dependencies, modify configuration options, and set environment variables. See Using a startup script. Supported for environment versions 2.x and later.
    Tags map[string]string
    Map of resource tags to associate with the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    WebserverAccessMode string
    Whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY (default), PUBLIC_ONLY and PUBLIC_AND_PRIVATE.
    WeeklyMaintenanceWindowStart string
    Start date for the weekly maintenance window.
    WorkerReplacementStrategy string
    Worker replacement strategy. Valid values: FORCED, GRACEFUL.
    dag_s3_path string
    Relative path to the DAG folder on your Amazon S3 storage bucket. For example, dags. For more information, see Importing DAGs on Amazon MWAA.
    execution_role_arn string
    ARN of the task execution role that the Amazon MWAA and its environment can assume. Check the official AWS documentation for the detailed role specification.
    network_configuration object
    Network configuration for your Apache Airflow Environment. This includes two private subnets as well as security groups for the Airflow environment. Each subnet requires internet connection, otherwise the deployment will fail. See networkConfiguration Block for details.
    source_bucket_arn string
    ARN of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
    airflow_configuration_options map(string)
    Airflow override options. Check the Official documentation for all possible configuration options.
    airflow_version string
    Airflow version of your environment, will be set by default to the latest version that MWAA supports.
    endpoint_management string
    Whether the VPC endpoints configured for the environment are created and managed by the customer or by AWS. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to CUSTOMER, you must create, and manage, the VPC endpoints for your VPC. Defaults to SERVICE if not set.
    environment_class string
    Environment class for the cluster. Possible options are mw1.micro, mw1.small, mw1.medium, mw1.large. Will be set by default to mw1.small. Please check the AWS Pricing for more information about the environment classes.
    kms_key string
    ARN of your KMS key that you want to use for encryption. Will be set to the ARN of the managed KMS key aws/airflow by default. Please check the Official Documentation for more information.
    logging_configuration object
    Apache Airflow logs you want to send to Amazon CloudWatch Logs. See loggingConfiguration Block for details.
    max_webservers number
    Maximum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    max_workers number
    Maximum number of workers that can be automatically scaled up. Value need to be between 1 and 25. Will be 10 by default.
    min_webservers number
    Minimum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    min_workers number
    Minimum number of workers that you want to run in your environment. Will be 1 by default.
    name string
    Name of the Apache Airflow Environment.
    plugins_s3_object_version string
    Version of the plugins.zip file you want to use.
    plugins_s3_path string
    Relative path to the plugins.zip file on your Amazon S3 storage bucket. For example, plugins.zip. If a relative path is provided in the request, then pluginsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    requirements_s3_object_version string
    Version of the requirements.txt file you want to use.
    requirements_s3_path string
    Relative path to the requirements.txt file on your Amazon S3 storage bucket. For example, requirements.txt. If a relative path is provided in the request, then requirementsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    schedulers number
    Number of schedulers that you want to run in your environment. v2.0.2 and above accepts 2 - 5, default 2. v1.10.12 accepts 1.
    startup_script_s3_object_version string
    Version of the startup shell script you want to use. You must specify the version ID that Amazon S3 assigns to the file every time you update the script.
    startup_script_s3_path string
    Relative path to the script hosted in your bucket. The script runs as your environment starts before starting the Apache Airflow process. Use this script to install dependencies, modify configuration options, and set environment variables. See Using a startup script. Supported for environment versions 2.x and later.
    tags map(string)
    Map of resource tags to associate with the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    webserver_access_mode string
    Whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY (default), PUBLIC_ONLY and PUBLIC_AND_PRIVATE.
    weekly_maintenance_window_start string
    Start date for the weekly maintenance window.
    worker_replacement_strategy string
    Worker replacement strategy. Valid values: FORCED, GRACEFUL.
    dagS3Path String
    Relative path to the DAG folder on your Amazon S3 storage bucket. For example, dags. For more information, see Importing DAGs on Amazon MWAA.
    executionRoleArn String
    ARN of the task execution role that the Amazon MWAA and its environment can assume. Check the official AWS documentation for the detailed role specification.
    networkConfiguration EnvironmentNetworkConfiguration
    Network configuration for your Apache Airflow Environment. This includes two private subnets as well as security groups for the Airflow environment. Each subnet requires internet connection, otherwise the deployment will fail. See networkConfiguration Block for details.
    sourceBucketArn String
    ARN of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
    airflowConfigurationOptions Map<String,String>
    Airflow override options. Check the Official documentation for all possible configuration options.
    airflowVersion String
    Airflow version of your environment, will be set by default to the latest version that MWAA supports.
    endpointManagement String
    Whether the VPC endpoints configured for the environment are created and managed by the customer or by AWS. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to CUSTOMER, you must create, and manage, the VPC endpoints for your VPC. Defaults to SERVICE if not set.
    environmentClass String
    Environment class for the cluster. Possible options are mw1.micro, mw1.small, mw1.medium, mw1.large. Will be set by default to mw1.small. Please check the AWS Pricing for more information about the environment classes.
    kmsKey String
    ARN of your KMS key that you want to use for encryption. Will be set to the ARN of the managed KMS key aws/airflow by default. Please check the Official Documentation for more information.
    loggingConfiguration EnvironmentLoggingConfiguration
    Apache Airflow logs you want to send to Amazon CloudWatch Logs. See loggingConfiguration Block for details.
    maxWebservers Integer
    Maximum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    maxWorkers Integer
    Maximum number of workers that can be automatically scaled up. Value need to be between 1 and 25. Will be 10 by default.
    minWebservers Integer
    Minimum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    minWorkers Integer
    Minimum number of workers that you want to run in your environment. Will be 1 by default.
    name String
    Name of the Apache Airflow Environment.
    pluginsS3ObjectVersion String
    Version of the plugins.zip file you want to use.
    pluginsS3Path String
    Relative path to the plugins.zip file on your Amazon S3 storage bucket. For example, plugins.zip. If a relative path is provided in the request, then pluginsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    requirementsS3ObjectVersion String
    Version of the requirements.txt file you want to use.
    requirementsS3Path String
    Relative path to the requirements.txt file on your Amazon S3 storage bucket. For example, requirements.txt. If a relative path is provided in the request, then requirementsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    schedulers Integer
    Number of schedulers that you want to run in your environment. v2.0.2 and above accepts 2 - 5, default 2. v1.10.12 accepts 1.
    startupScriptS3ObjectVersion String
    Version of the startup shell script you want to use. You must specify the version ID that Amazon S3 assigns to the file every time you update the script.
    startupScriptS3Path String
    Relative path to the script hosted in your bucket. The script runs as your environment starts before starting the Apache Airflow process. Use this script to install dependencies, modify configuration options, and set environment variables. See Using a startup script. Supported for environment versions 2.x and later.
    tags Map<String,String>
    Map of resource tags to associate with the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    webserverAccessMode String
    Whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY (default), PUBLIC_ONLY and PUBLIC_AND_PRIVATE.
    weeklyMaintenanceWindowStart String
    Start date for the weekly maintenance window.
    workerReplacementStrategy String
    Worker replacement strategy. Valid values: FORCED, GRACEFUL.
    dagS3Path string
    Relative path to the DAG folder on your Amazon S3 storage bucket. For example, dags. For more information, see Importing DAGs on Amazon MWAA.
    executionRoleArn string
    ARN of the task execution role that the Amazon MWAA and its environment can assume. Check the official AWS documentation for the detailed role specification.
    networkConfiguration EnvironmentNetworkConfiguration
    Network configuration for your Apache Airflow Environment. This includes two private subnets as well as security groups for the Airflow environment. Each subnet requires internet connection, otherwise the deployment will fail. See networkConfiguration Block for details.
    sourceBucketArn string
    ARN of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
    airflowConfigurationOptions {[key: string]: string}
    Airflow override options. Check the Official documentation for all possible configuration options.
    airflowVersion string
    Airflow version of your environment, will be set by default to the latest version that MWAA supports.
    endpointManagement string
    Whether the VPC endpoints configured for the environment are created and managed by the customer or by AWS. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to CUSTOMER, you must create, and manage, the VPC endpoints for your VPC. Defaults to SERVICE if not set.
    environmentClass string
    Environment class for the cluster. Possible options are mw1.micro, mw1.small, mw1.medium, mw1.large. Will be set by default to mw1.small. Please check the AWS Pricing for more information about the environment classes.
    kmsKey string
    ARN of your KMS key that you want to use for encryption. Will be set to the ARN of the managed KMS key aws/airflow by default. Please check the Official Documentation for more information.
    loggingConfiguration EnvironmentLoggingConfiguration
    Apache Airflow logs you want to send to Amazon CloudWatch Logs. See loggingConfiguration Block for details.
    maxWebservers number
    Maximum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    maxWorkers number
    Maximum number of workers that can be automatically scaled up. Value need to be between 1 and 25. Will be 10 by default.
    minWebservers number
    Minimum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    minWorkers number
    Minimum number of workers that you want to run in your environment. Will be 1 by default.
    name string
    Name of the Apache Airflow Environment.
    pluginsS3ObjectVersion string
    Version of the plugins.zip file you want to use.
    pluginsS3Path string
    Relative path to the plugins.zip file on your Amazon S3 storage bucket. For example, plugins.zip. If a relative path is provided in the request, then pluginsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    requirementsS3ObjectVersion string
    Version of the requirements.txt file you want to use.
    requirementsS3Path string
    Relative path to the requirements.txt file on your Amazon S3 storage bucket. For example, requirements.txt. If a relative path is provided in the request, then requirementsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    schedulers number
    Number of schedulers that you want to run in your environment. v2.0.2 and above accepts 2 - 5, default 2. v1.10.12 accepts 1.
    startupScriptS3ObjectVersion string
    Version of the startup shell script you want to use. You must specify the version ID that Amazon S3 assigns to the file every time you update the script.
    startupScriptS3Path string
    Relative path to the script hosted in your bucket. The script runs as your environment starts before starting the Apache Airflow process. Use this script to install dependencies, modify configuration options, and set environment variables. See Using a startup script. Supported for environment versions 2.x and later.
    tags {[key: string]: string}
    Map of resource tags to associate with the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    webserverAccessMode string
    Whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY (default), PUBLIC_ONLY and PUBLIC_AND_PRIVATE.
    weeklyMaintenanceWindowStart string
    Start date for the weekly maintenance window.
    workerReplacementStrategy string
    Worker replacement strategy. Valid values: FORCED, GRACEFUL.
    dag_s3_path str
    Relative path to the DAG folder on your Amazon S3 storage bucket. For example, dags. For more information, see Importing DAGs on Amazon MWAA.
    execution_role_arn str
    ARN of the task execution role that the Amazon MWAA and its environment can assume. Check the official AWS documentation for the detailed role specification.
    network_configuration EnvironmentNetworkConfigurationArgs
    Network configuration for your Apache Airflow Environment. This includes two private subnets as well as security groups for the Airflow environment. Each subnet requires internet connection, otherwise the deployment will fail. See networkConfiguration Block for details.
    source_bucket_arn str
    ARN of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
    airflow_configuration_options Mapping[str, str]
    Airflow override options. Check the Official documentation for all possible configuration options.
    airflow_version str
    Airflow version of your environment, will be set by default to the latest version that MWAA supports.
    endpoint_management str
    Whether the VPC endpoints configured for the environment are created and managed by the customer or by AWS. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to CUSTOMER, you must create, and manage, the VPC endpoints for your VPC. Defaults to SERVICE if not set.
    environment_class str
    Environment class for the cluster. Possible options are mw1.micro, mw1.small, mw1.medium, mw1.large. Will be set by default to mw1.small. Please check the AWS Pricing for more information about the environment classes.
    kms_key str
    ARN of your KMS key that you want to use for encryption. Will be set to the ARN of the managed KMS key aws/airflow by default. Please check the Official Documentation for more information.
    logging_configuration EnvironmentLoggingConfigurationArgs
    Apache Airflow logs you want to send to Amazon CloudWatch Logs. See loggingConfiguration Block for details.
    max_webservers int
    Maximum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    max_workers int
    Maximum number of workers that can be automatically scaled up. Value need to be between 1 and 25. Will be 10 by default.
    min_webservers int
    Minimum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    min_workers int
    Minimum number of workers that you want to run in your environment. Will be 1 by default.
    name str
    Name of the Apache Airflow Environment.
    plugins_s3_object_version str
    Version of the plugins.zip file you want to use.
    plugins_s3_path str
    Relative path to the plugins.zip file on your Amazon S3 storage bucket. For example, plugins.zip. If a relative path is provided in the request, then pluginsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    requirements_s3_object_version str
    Version of the requirements.txt file you want to use.
    requirements_s3_path str
    Relative path to the requirements.txt file on your Amazon S3 storage bucket. For example, requirements.txt. If a relative path is provided in the request, then requirementsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    schedulers int
    Number of schedulers that you want to run in your environment. v2.0.2 and above accepts 2 - 5, default 2. v1.10.12 accepts 1.
    startup_script_s3_object_version str
    Version of the startup shell script you want to use. You must specify the version ID that Amazon S3 assigns to the file every time you update the script.
    startup_script_s3_path str
    Relative path to the script hosted in your bucket. The script runs as your environment starts before starting the Apache Airflow process. Use this script to install dependencies, modify configuration options, and set environment variables. See Using a startup script. Supported for environment versions 2.x and later.
    tags Mapping[str, str]
    Map of resource tags to associate with the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    webserver_access_mode str
    Whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY (default), PUBLIC_ONLY and PUBLIC_AND_PRIVATE.
    weekly_maintenance_window_start str
    Start date for the weekly maintenance window.
    worker_replacement_strategy str
    Worker replacement strategy. Valid values: FORCED, GRACEFUL.
    dagS3Path String
    Relative path to the DAG folder on your Amazon S3 storage bucket. For example, dags. For more information, see Importing DAGs on Amazon MWAA.
    executionRoleArn String
    ARN of the task execution role that the Amazon MWAA and its environment can assume. Check the official AWS documentation for the detailed role specification.
    networkConfiguration Property Map
    Network configuration for your Apache Airflow Environment. This includes two private subnets as well as security groups for the Airflow environment. Each subnet requires internet connection, otherwise the deployment will fail. See networkConfiguration Block for details.
    sourceBucketArn String
    ARN of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
    airflowConfigurationOptions Map<String>
    Airflow override options. Check the Official documentation for all possible configuration options.
    airflowVersion String
    Airflow version of your environment, will be set by default to the latest version that MWAA supports.
    endpointManagement String
    Whether the VPC endpoints configured for the environment are created and managed by the customer or by AWS. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to CUSTOMER, you must create, and manage, the VPC endpoints for your VPC. Defaults to SERVICE if not set.
    environmentClass String
    Environment class for the cluster. Possible options are mw1.micro, mw1.small, mw1.medium, mw1.large. Will be set by default to mw1.small. Please check the AWS Pricing for more information about the environment classes.
    kmsKey String
    ARN of your KMS key that you want to use for encryption. Will be set to the ARN of the managed KMS key aws/airflow by default. Please check the Official Documentation for more information.
    loggingConfiguration Property Map
    Apache Airflow logs you want to send to Amazon CloudWatch Logs. See loggingConfiguration Block for details.
    maxWebservers Number
    Maximum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    maxWorkers Number
    Maximum number of workers that can be automatically scaled up. Value need to be between 1 and 25. Will be 10 by default.
    minWebservers Number
    Minimum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    minWorkers Number
    Minimum number of workers that you want to run in your environment. Will be 1 by default.
    name String
    Name of the Apache Airflow Environment.
    pluginsS3ObjectVersion String
    Version of the plugins.zip file you want to use.
    pluginsS3Path String
    Relative path to the plugins.zip file on your Amazon S3 storage bucket. For example, plugins.zip. If a relative path is provided in the request, then pluginsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    requirementsS3ObjectVersion String
    Version of the requirements.txt file you want to use.
    requirementsS3Path String
    Relative path to the requirements.txt file on your Amazon S3 storage bucket. For example, requirements.txt. If a relative path is provided in the request, then requirementsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    schedulers Number
    Number of schedulers that you want to run in your environment. v2.0.2 and above accepts 2 - 5, default 2. v1.10.12 accepts 1.
    startupScriptS3ObjectVersion String
    Version of the startup shell script you want to use. You must specify the version ID that Amazon S3 assigns to the file every time you update the script.
    startupScriptS3Path String
    Relative path to the script hosted in your bucket. The script runs as your environment starts before starting the Apache Airflow process. Use this script to install dependencies, modify configuration options, and set environment variables. See Using a startup script. Supported for environment versions 2.x and later.
    tags Map<String>
    Map of resource tags to associate with the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    webserverAccessMode String
    Whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY (default), PUBLIC_ONLY and PUBLIC_AND_PRIVATE.
    weeklyMaintenanceWindowStart String
    Start date for the weekly maintenance window.
    workerReplacementStrategy String
    Worker replacement strategy. Valid values: FORCED, GRACEFUL.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Environment resource produces the following output properties:

    Arn string
    ARN of the MWAA Environment.
    CreatedAt string
    Date and time the environment was last updated.
    DatabaseVpcEndpointService string
    VPC endpoint for the environment's Amazon RDS database.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdateds List<EnvironmentLastUpdated>
    Information about the last update of the environment. See lastUpdated Block for details.
    ServiceRoleArn string
    Service Role ARN of the Amazon MWAA Environment.
    Status string
    Status of the last update.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    WebserverUrl string
    Webserver URL of the MWAA Environment.
    WebserverVpcEndpointService string
    VPC endpoint for the environment's web server.
    Arn string
    ARN of the MWAA Environment.
    CreatedAt string
    Date and time the environment was last updated.
    DatabaseVpcEndpointService string
    VPC endpoint for the environment's Amazon RDS database.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdateds []EnvironmentLastUpdated
    Information about the last update of the environment. See lastUpdated Block for details.
    ServiceRoleArn string
    Service Role ARN of the Amazon MWAA Environment.
    Status string
    Status of the last update.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    WebserverUrl string
    Webserver URL of the MWAA Environment.
    WebserverVpcEndpointService string
    VPC endpoint for the environment's web server.
    arn string
    ARN of the MWAA Environment.
    created_at string
    Date and time the environment was last updated.
    database_vpc_endpoint_service string
    VPC endpoint for the environment's Amazon RDS database.
    id string
    The provider-assigned unique ID for this managed resource.
    last_updateds list(object)
    Information about the last update of the environment. See lastUpdated Block for details.
    service_role_arn string
    Service Role ARN of the Amazon MWAA Environment.
    status string
    Status of the last update.
    tags_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    webserver_url string
    Webserver URL of the MWAA Environment.
    webserver_vpc_endpoint_service string
    VPC endpoint for the environment's web server.
    arn String
    ARN of the MWAA Environment.
    createdAt String
    Date and time the environment was last updated.
    databaseVpcEndpointService String
    VPC endpoint for the environment's Amazon RDS database.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdateds List<EnvironmentLastUpdated>
    Information about the last update of the environment. See lastUpdated Block for details.
    serviceRoleArn String
    Service Role ARN of the Amazon MWAA Environment.
    status String
    Status of the last update.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    webserverUrl String
    Webserver URL of the MWAA Environment.
    webserverVpcEndpointService String
    VPC endpoint for the environment's web server.
    arn string
    ARN of the MWAA Environment.
    createdAt string
    Date and time the environment was last updated.
    databaseVpcEndpointService string
    VPC endpoint for the environment's Amazon RDS database.
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdateds EnvironmentLastUpdated[]
    Information about the last update of the environment. See lastUpdated Block for details.
    serviceRoleArn string
    Service Role ARN of the Amazon MWAA Environment.
    status string
    Status of the last update.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    webserverUrl string
    Webserver URL of the MWAA Environment.
    webserverVpcEndpointService string
    VPC endpoint for the environment's web server.
    arn str
    ARN of the MWAA Environment.
    created_at str
    Date and time the environment was last updated.
    database_vpc_endpoint_service str
    VPC endpoint for the environment's Amazon RDS database.
    id str
    The provider-assigned unique ID for this managed resource.
    last_updateds Sequence[EnvironmentLastUpdated]
    Information about the last update of the environment. See lastUpdated Block for details.
    service_role_arn str
    Service Role ARN of the Amazon MWAA Environment.
    status str
    Status of the last update.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    webserver_url str
    Webserver URL of the MWAA Environment.
    webserver_vpc_endpoint_service str
    VPC endpoint for the environment's web server.
    arn String
    ARN of the MWAA Environment.
    createdAt String
    Date and time the environment was last updated.
    databaseVpcEndpointService String
    VPC endpoint for the environment's Amazon RDS database.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdateds List<Property Map>
    Information about the last update of the environment. See lastUpdated Block for details.
    serviceRoleArn String
    Service Role ARN of the Amazon MWAA Environment.
    status String
    Status of the last update.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    webserverUrl String
    Webserver URL of the MWAA Environment.
    webserverVpcEndpointService String
    VPC endpoint for the environment's web server.

    Look up Existing Environment Resource

    Get an existing Environment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: EnvironmentState, opts?: CustomResourceOptions): Environment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            airflow_configuration_options: Optional[Mapping[str, str]] = None,
            airflow_version: Optional[str] = None,
            arn: Optional[str] = None,
            created_at: Optional[str] = None,
            dag_s3_path: Optional[str] = None,
            database_vpc_endpoint_service: Optional[str] = None,
            endpoint_management: Optional[str] = None,
            environment_class: Optional[str] = None,
            execution_role_arn: Optional[str] = None,
            kms_key: Optional[str] = None,
            last_updateds: Optional[Sequence[EnvironmentLastUpdatedArgs]] = None,
            logging_configuration: Optional[EnvironmentLoggingConfigurationArgs] = None,
            max_webservers: Optional[int] = None,
            max_workers: Optional[int] = None,
            min_webservers: Optional[int] = None,
            min_workers: Optional[int] = None,
            name: Optional[str] = None,
            network_configuration: Optional[EnvironmentNetworkConfigurationArgs] = None,
            plugins_s3_object_version: Optional[str] = None,
            plugins_s3_path: Optional[str] = None,
            region: Optional[str] = None,
            requirements_s3_object_version: Optional[str] = None,
            requirements_s3_path: Optional[str] = None,
            schedulers: Optional[int] = None,
            service_role_arn: Optional[str] = None,
            source_bucket_arn: Optional[str] = None,
            startup_script_s3_object_version: Optional[str] = None,
            startup_script_s3_path: Optional[str] = None,
            status: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None,
            webserver_access_mode: Optional[str] = None,
            webserver_url: Optional[str] = None,
            webserver_vpc_endpoint_service: Optional[str] = None,
            weekly_maintenance_window_start: Optional[str] = None,
            worker_replacement_strategy: Optional[str] = None) -> Environment
    func GetEnvironment(ctx *Context, name string, id IDInput, state *EnvironmentState, opts ...ResourceOption) (*Environment, error)
    public static Environment Get(string name, Input<string> id, EnvironmentState? state, CustomResourceOptions? opts = null)
    public static Environment get(String name, Output<String> id, EnvironmentState state, CustomResourceOptions options)
    resources:  _:    type: aws:mwaa:Environment    get:      id: ${id}
    import {
      to = aws_mwaa_environment.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AirflowConfigurationOptions Dictionary<string, string>
    Airflow override options. Check the Official documentation for all possible configuration options.
    AirflowVersion string
    Airflow version of your environment, will be set by default to the latest version that MWAA supports.
    Arn string
    ARN of the MWAA Environment.
    CreatedAt string
    Date and time the environment was last updated.
    DagS3Path string
    Relative path to the DAG folder on your Amazon S3 storage bucket. For example, dags. For more information, see Importing DAGs on Amazon MWAA.
    DatabaseVpcEndpointService string
    VPC endpoint for the environment's Amazon RDS database.
    EndpointManagement string
    Whether the VPC endpoints configured for the environment are created and managed by the customer or by AWS. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to CUSTOMER, you must create, and manage, the VPC endpoints for your VPC. Defaults to SERVICE if not set.
    EnvironmentClass string
    Environment class for the cluster. Possible options are mw1.micro, mw1.small, mw1.medium, mw1.large. Will be set by default to mw1.small. Please check the AWS Pricing for more information about the environment classes.
    ExecutionRoleArn string
    ARN of the task execution role that the Amazon MWAA and its environment can assume. Check the official AWS documentation for the detailed role specification.
    KmsKey string
    ARN of your KMS key that you want to use for encryption. Will be set to the ARN of the managed KMS key aws/airflow by default. Please check the Official Documentation for more information.
    LastUpdateds List<EnvironmentLastUpdated>
    Information about the last update of the environment. See lastUpdated Block for details.
    LoggingConfiguration EnvironmentLoggingConfiguration
    Apache Airflow logs you want to send to Amazon CloudWatch Logs. See loggingConfiguration Block for details.
    MaxWebservers int
    Maximum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    MaxWorkers int
    Maximum number of workers that can be automatically scaled up. Value need to be between 1 and 25. Will be 10 by default.
    MinWebservers int
    Minimum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    MinWorkers int
    Minimum number of workers that you want to run in your environment. Will be 1 by default.
    Name string
    Name of the Apache Airflow Environment.
    NetworkConfiguration EnvironmentNetworkConfiguration
    Network configuration for your Apache Airflow Environment. This includes two private subnets as well as security groups for the Airflow environment. Each subnet requires internet connection, otherwise the deployment will fail. See networkConfiguration Block for details.
    PluginsS3ObjectVersion string
    Version of the plugins.zip file you want to use.
    PluginsS3Path string
    Relative path to the plugins.zip file on your Amazon S3 storage bucket. For example, plugins.zip. If a relative path is provided in the request, then pluginsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    RequirementsS3ObjectVersion string
    Version of the requirements.txt file you want to use.
    RequirementsS3Path string
    Relative path to the requirements.txt file on your Amazon S3 storage bucket. For example, requirements.txt. If a relative path is provided in the request, then requirementsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    Schedulers int
    Number of schedulers that you want to run in your environment. v2.0.2 and above accepts 2 - 5, default 2. v1.10.12 accepts 1.
    ServiceRoleArn string
    Service Role ARN of the Amazon MWAA Environment.
    SourceBucketArn string
    ARN of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
    StartupScriptS3ObjectVersion string
    Version of the startup shell script you want to use. You must specify the version ID that Amazon S3 assigns to the file every time you update the script.
    StartupScriptS3Path string
    Relative path to the script hosted in your bucket. The script runs as your environment starts before starting the Apache Airflow process. Use this script to install dependencies, modify configuration options, and set environment variables. See Using a startup script. Supported for environment versions 2.x and later.
    Status string
    Status of the last update.
    Tags Dictionary<string, string>
    Map of resource tags to associate with the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    WebserverAccessMode string
    Whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY (default), PUBLIC_ONLY and PUBLIC_AND_PRIVATE.
    WebserverUrl string
    Webserver URL of the MWAA Environment.
    WebserverVpcEndpointService string
    VPC endpoint for the environment's web server.
    WeeklyMaintenanceWindowStart string
    Start date for the weekly maintenance window.
    WorkerReplacementStrategy string
    Worker replacement strategy. Valid values: FORCED, GRACEFUL.
    AirflowConfigurationOptions map[string]string
    Airflow override options. Check the Official documentation for all possible configuration options.
    AirflowVersion string
    Airflow version of your environment, will be set by default to the latest version that MWAA supports.
    Arn string
    ARN of the MWAA Environment.
    CreatedAt string
    Date and time the environment was last updated.
    DagS3Path string
    Relative path to the DAG folder on your Amazon S3 storage bucket. For example, dags. For more information, see Importing DAGs on Amazon MWAA.
    DatabaseVpcEndpointService string
    VPC endpoint for the environment's Amazon RDS database.
    EndpointManagement string
    Whether the VPC endpoints configured for the environment are created and managed by the customer or by AWS. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to CUSTOMER, you must create, and manage, the VPC endpoints for your VPC. Defaults to SERVICE if not set.
    EnvironmentClass string
    Environment class for the cluster. Possible options are mw1.micro, mw1.small, mw1.medium, mw1.large. Will be set by default to mw1.small. Please check the AWS Pricing for more information about the environment classes.
    ExecutionRoleArn string
    ARN of the task execution role that the Amazon MWAA and its environment can assume. Check the official AWS documentation for the detailed role specification.
    KmsKey string
    ARN of your KMS key that you want to use for encryption. Will be set to the ARN of the managed KMS key aws/airflow by default. Please check the Official Documentation for more information.
    LastUpdateds []EnvironmentLastUpdatedArgs
    Information about the last update of the environment. See lastUpdated Block for details.
    LoggingConfiguration EnvironmentLoggingConfigurationArgs
    Apache Airflow logs you want to send to Amazon CloudWatch Logs. See loggingConfiguration Block for details.
    MaxWebservers int
    Maximum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    MaxWorkers int
    Maximum number of workers that can be automatically scaled up. Value need to be between 1 and 25. Will be 10 by default.
    MinWebservers int
    Minimum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    MinWorkers int
    Minimum number of workers that you want to run in your environment. Will be 1 by default.
    Name string
    Name of the Apache Airflow Environment.
    NetworkConfiguration EnvironmentNetworkConfigurationArgs
    Network configuration for your Apache Airflow Environment. This includes two private subnets as well as security groups for the Airflow environment. Each subnet requires internet connection, otherwise the deployment will fail. See networkConfiguration Block for details.
    PluginsS3ObjectVersion string
    Version of the plugins.zip file you want to use.
    PluginsS3Path string
    Relative path to the plugins.zip file on your Amazon S3 storage bucket. For example, plugins.zip. If a relative path is provided in the request, then pluginsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    RequirementsS3ObjectVersion string
    Version of the requirements.txt file you want to use.
    RequirementsS3Path string
    Relative path to the requirements.txt file on your Amazon S3 storage bucket. For example, requirements.txt. If a relative path is provided in the request, then requirementsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    Schedulers int
    Number of schedulers that you want to run in your environment. v2.0.2 and above accepts 2 - 5, default 2. v1.10.12 accepts 1.
    ServiceRoleArn string
    Service Role ARN of the Amazon MWAA Environment.
    SourceBucketArn string
    ARN of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
    StartupScriptS3ObjectVersion string
    Version of the startup shell script you want to use. You must specify the version ID that Amazon S3 assigns to the file every time you update the script.
    StartupScriptS3Path string
    Relative path to the script hosted in your bucket. The script runs as your environment starts before starting the Apache Airflow process. Use this script to install dependencies, modify configuration options, and set environment variables. See Using a startup script. Supported for environment versions 2.x and later.
    Status string
    Status of the last update.
    Tags map[string]string
    Map of resource tags to associate with the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    WebserverAccessMode string
    Whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY (default), PUBLIC_ONLY and PUBLIC_AND_PRIVATE.
    WebserverUrl string
    Webserver URL of the MWAA Environment.
    WebserverVpcEndpointService string
    VPC endpoint for the environment's web server.
    WeeklyMaintenanceWindowStart string
    Start date for the weekly maintenance window.
    WorkerReplacementStrategy string
    Worker replacement strategy. Valid values: FORCED, GRACEFUL.
    airflow_configuration_options map(string)
    Airflow override options. Check the Official documentation for all possible configuration options.
    airflow_version string
    Airflow version of your environment, will be set by default to the latest version that MWAA supports.
    arn string
    ARN of the MWAA Environment.
    created_at string
    Date and time the environment was last updated.
    dag_s3_path string
    Relative path to the DAG folder on your Amazon S3 storage bucket. For example, dags. For more information, see Importing DAGs on Amazon MWAA.
    database_vpc_endpoint_service string
    VPC endpoint for the environment's Amazon RDS database.
    endpoint_management string
    Whether the VPC endpoints configured for the environment are created and managed by the customer or by AWS. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to CUSTOMER, you must create, and manage, the VPC endpoints for your VPC. Defaults to SERVICE if not set.
    environment_class string
    Environment class for the cluster. Possible options are mw1.micro, mw1.small, mw1.medium, mw1.large. Will be set by default to mw1.small. Please check the AWS Pricing for more information about the environment classes.
    execution_role_arn string
    ARN of the task execution role that the Amazon MWAA and its environment can assume. Check the official AWS documentation for the detailed role specification.
    kms_key string
    ARN of your KMS key that you want to use for encryption. Will be set to the ARN of the managed KMS key aws/airflow by default. Please check the Official Documentation for more information.
    last_updateds list(object)
    Information about the last update of the environment. See lastUpdated Block for details.
    logging_configuration object
    Apache Airflow logs you want to send to Amazon CloudWatch Logs. See loggingConfiguration Block for details.
    max_webservers number
    Maximum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    max_workers number
    Maximum number of workers that can be automatically scaled up. Value need to be between 1 and 25. Will be 10 by default.
    min_webservers number
    Minimum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    min_workers number
    Minimum number of workers that you want to run in your environment. Will be 1 by default.
    name string
    Name of the Apache Airflow Environment.
    network_configuration object
    Network configuration for your Apache Airflow Environment. This includes two private subnets as well as security groups for the Airflow environment. Each subnet requires internet connection, otherwise the deployment will fail. See networkConfiguration Block for details.
    plugins_s3_object_version string
    Version of the plugins.zip file you want to use.
    plugins_s3_path string
    Relative path to the plugins.zip file on your Amazon S3 storage bucket. For example, plugins.zip. If a relative path is provided in the request, then pluginsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    requirements_s3_object_version string
    Version of the requirements.txt file you want to use.
    requirements_s3_path string
    Relative path to the requirements.txt file on your Amazon S3 storage bucket. For example, requirements.txt. If a relative path is provided in the request, then requirementsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    schedulers number
    Number of schedulers that you want to run in your environment. v2.0.2 and above accepts 2 - 5, default 2. v1.10.12 accepts 1.
    service_role_arn string
    Service Role ARN of the Amazon MWAA Environment.
    source_bucket_arn string
    ARN of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
    startup_script_s3_object_version string
    Version of the startup shell script you want to use. You must specify the version ID that Amazon S3 assigns to the file every time you update the script.
    startup_script_s3_path string
    Relative path to the script hosted in your bucket. The script runs as your environment starts before starting the Apache Airflow process. Use this script to install dependencies, modify configuration options, and set environment variables. See Using a startup script. Supported for environment versions 2.x and later.
    status string
    Status of the last update.
    tags map(string)
    Map of resource tags to associate with the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    webserver_access_mode string
    Whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY (default), PUBLIC_ONLY and PUBLIC_AND_PRIVATE.
    webserver_url string
    Webserver URL of the MWAA Environment.
    webserver_vpc_endpoint_service string
    VPC endpoint for the environment's web server.
    weekly_maintenance_window_start string
    Start date for the weekly maintenance window.
    worker_replacement_strategy string
    Worker replacement strategy. Valid values: FORCED, GRACEFUL.
    airflowConfigurationOptions Map<String,String>
    Airflow override options. Check the Official documentation for all possible configuration options.
    airflowVersion String
    Airflow version of your environment, will be set by default to the latest version that MWAA supports.
    arn String
    ARN of the MWAA Environment.
    createdAt String
    Date and time the environment was last updated.
    dagS3Path String
    Relative path to the DAG folder on your Amazon S3 storage bucket. For example, dags. For more information, see Importing DAGs on Amazon MWAA.
    databaseVpcEndpointService String
    VPC endpoint for the environment's Amazon RDS database.
    endpointManagement String
    Whether the VPC endpoints configured for the environment are created and managed by the customer or by AWS. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to CUSTOMER, you must create, and manage, the VPC endpoints for your VPC. Defaults to SERVICE if not set.
    environmentClass String
    Environment class for the cluster. Possible options are mw1.micro, mw1.small, mw1.medium, mw1.large. Will be set by default to mw1.small. Please check the AWS Pricing for more information about the environment classes.
    executionRoleArn String
    ARN of the task execution role that the Amazon MWAA and its environment can assume. Check the official AWS documentation for the detailed role specification.
    kmsKey String
    ARN of your KMS key that you want to use for encryption. Will be set to the ARN of the managed KMS key aws/airflow by default. Please check the Official Documentation for more information.
    lastUpdateds List<EnvironmentLastUpdated>
    Information about the last update of the environment. See lastUpdated Block for details.
    loggingConfiguration EnvironmentLoggingConfiguration
    Apache Airflow logs you want to send to Amazon CloudWatch Logs. See loggingConfiguration Block for details.
    maxWebservers Integer
    Maximum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    maxWorkers Integer
    Maximum number of workers that can be automatically scaled up. Value need to be between 1 and 25. Will be 10 by default.
    minWebservers Integer
    Minimum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    minWorkers Integer
    Minimum number of workers that you want to run in your environment. Will be 1 by default.
    name String
    Name of the Apache Airflow Environment.
    networkConfiguration EnvironmentNetworkConfiguration
    Network configuration for your Apache Airflow Environment. This includes two private subnets as well as security groups for the Airflow environment. Each subnet requires internet connection, otherwise the deployment will fail. See networkConfiguration Block for details.
    pluginsS3ObjectVersion String
    Version of the plugins.zip file you want to use.
    pluginsS3Path String
    Relative path to the plugins.zip file on your Amazon S3 storage bucket. For example, plugins.zip. If a relative path is provided in the request, then pluginsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    requirementsS3ObjectVersion String
    Version of the requirements.txt file you want to use.
    requirementsS3Path String
    Relative path to the requirements.txt file on your Amazon S3 storage bucket. For example, requirements.txt. If a relative path is provided in the request, then requirementsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    schedulers Integer
    Number of schedulers that you want to run in your environment. v2.0.2 and above accepts 2 - 5, default 2. v1.10.12 accepts 1.
    serviceRoleArn String
    Service Role ARN of the Amazon MWAA Environment.
    sourceBucketArn String
    ARN of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
    startupScriptS3ObjectVersion String
    Version of the startup shell script you want to use. You must specify the version ID that Amazon S3 assigns to the file every time you update the script.
    startupScriptS3Path String
    Relative path to the script hosted in your bucket. The script runs as your environment starts before starting the Apache Airflow process. Use this script to install dependencies, modify configuration options, and set environment variables. See Using a startup script. Supported for environment versions 2.x and later.
    status String
    Status of the last update.
    tags Map<String,String>
    Map of resource tags to associate with the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    webserverAccessMode String
    Whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY (default), PUBLIC_ONLY and PUBLIC_AND_PRIVATE.
    webserverUrl String
    Webserver URL of the MWAA Environment.
    webserverVpcEndpointService String
    VPC endpoint for the environment's web server.
    weeklyMaintenanceWindowStart String
    Start date for the weekly maintenance window.
    workerReplacementStrategy String
    Worker replacement strategy. Valid values: FORCED, GRACEFUL.
    airflowConfigurationOptions {[key: string]: string}
    Airflow override options. Check the Official documentation for all possible configuration options.
    airflowVersion string
    Airflow version of your environment, will be set by default to the latest version that MWAA supports.
    arn string
    ARN of the MWAA Environment.
    createdAt string
    Date and time the environment was last updated.
    dagS3Path string
    Relative path to the DAG folder on your Amazon S3 storage bucket. For example, dags. For more information, see Importing DAGs on Amazon MWAA.
    databaseVpcEndpointService string
    VPC endpoint for the environment's Amazon RDS database.
    endpointManagement string
    Whether the VPC endpoints configured for the environment are created and managed by the customer or by AWS. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to CUSTOMER, you must create, and manage, the VPC endpoints for your VPC. Defaults to SERVICE if not set.
    environmentClass string
    Environment class for the cluster. Possible options are mw1.micro, mw1.small, mw1.medium, mw1.large. Will be set by default to mw1.small. Please check the AWS Pricing for more information about the environment classes.
    executionRoleArn string
    ARN of the task execution role that the Amazon MWAA and its environment can assume. Check the official AWS documentation for the detailed role specification.
    kmsKey string
    ARN of your KMS key that you want to use for encryption. Will be set to the ARN of the managed KMS key aws/airflow by default. Please check the Official Documentation for more information.
    lastUpdateds EnvironmentLastUpdated[]
    Information about the last update of the environment. See lastUpdated Block for details.
    loggingConfiguration EnvironmentLoggingConfiguration
    Apache Airflow logs you want to send to Amazon CloudWatch Logs. See loggingConfiguration Block for details.
    maxWebservers number
    Maximum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    maxWorkers number
    Maximum number of workers that can be automatically scaled up. Value need to be between 1 and 25. Will be 10 by default.
    minWebservers number
    Minimum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    minWorkers number
    Minimum number of workers that you want to run in your environment. Will be 1 by default.
    name string
    Name of the Apache Airflow Environment.
    networkConfiguration EnvironmentNetworkConfiguration
    Network configuration for your Apache Airflow Environment. This includes two private subnets as well as security groups for the Airflow environment. Each subnet requires internet connection, otherwise the deployment will fail. See networkConfiguration Block for details.
    pluginsS3ObjectVersion string
    Version of the plugins.zip file you want to use.
    pluginsS3Path string
    Relative path to the plugins.zip file on your Amazon S3 storage bucket. For example, plugins.zip. If a relative path is provided in the request, then pluginsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    requirementsS3ObjectVersion string
    Version of the requirements.txt file you want to use.
    requirementsS3Path string
    Relative path to the requirements.txt file on your Amazon S3 storage bucket. For example, requirements.txt. If a relative path is provided in the request, then requirementsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    schedulers number
    Number of schedulers that you want to run in your environment. v2.0.2 and above accepts 2 - 5, default 2. v1.10.12 accepts 1.
    serviceRoleArn string
    Service Role ARN of the Amazon MWAA Environment.
    sourceBucketArn string
    ARN of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
    startupScriptS3ObjectVersion string
    Version of the startup shell script you want to use. You must specify the version ID that Amazon S3 assigns to the file every time you update the script.
    startupScriptS3Path string
    Relative path to the script hosted in your bucket. The script runs as your environment starts before starting the Apache Airflow process. Use this script to install dependencies, modify configuration options, and set environment variables. See Using a startup script. Supported for environment versions 2.x and later.
    status string
    Status of the last update.
    tags {[key: string]: string}
    Map of resource tags to associate with the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    webserverAccessMode string
    Whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY (default), PUBLIC_ONLY and PUBLIC_AND_PRIVATE.
    webserverUrl string
    Webserver URL of the MWAA Environment.
    webserverVpcEndpointService string
    VPC endpoint for the environment's web server.
    weeklyMaintenanceWindowStart string
    Start date for the weekly maintenance window.
    workerReplacementStrategy string
    Worker replacement strategy. Valid values: FORCED, GRACEFUL.
    airflow_configuration_options Mapping[str, str]
    Airflow override options. Check the Official documentation for all possible configuration options.
    airflow_version str
    Airflow version of your environment, will be set by default to the latest version that MWAA supports.
    arn str
    ARN of the MWAA Environment.
    created_at str
    Date and time the environment was last updated.
    dag_s3_path str
    Relative path to the DAG folder on your Amazon S3 storage bucket. For example, dags. For more information, see Importing DAGs on Amazon MWAA.
    database_vpc_endpoint_service str
    VPC endpoint for the environment's Amazon RDS database.
    endpoint_management str
    Whether the VPC endpoints configured for the environment are created and managed by the customer or by AWS. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to CUSTOMER, you must create, and manage, the VPC endpoints for your VPC. Defaults to SERVICE if not set.
    environment_class str
    Environment class for the cluster. Possible options are mw1.micro, mw1.small, mw1.medium, mw1.large. Will be set by default to mw1.small. Please check the AWS Pricing for more information about the environment classes.
    execution_role_arn str
    ARN of the task execution role that the Amazon MWAA and its environment can assume. Check the official AWS documentation for the detailed role specification.
    kms_key str
    ARN of your KMS key that you want to use for encryption. Will be set to the ARN of the managed KMS key aws/airflow by default. Please check the Official Documentation for more information.
    last_updateds Sequence[EnvironmentLastUpdatedArgs]
    Information about the last update of the environment. See lastUpdated Block for details.
    logging_configuration EnvironmentLoggingConfigurationArgs
    Apache Airflow logs you want to send to Amazon CloudWatch Logs. See loggingConfiguration Block for details.
    max_webservers int
    Maximum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    max_workers int
    Maximum number of workers that can be automatically scaled up. Value need to be between 1 and 25. Will be 10 by default.
    min_webservers int
    Minimum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    min_workers int
    Minimum number of workers that you want to run in your environment. Will be 1 by default.
    name str
    Name of the Apache Airflow Environment.
    network_configuration EnvironmentNetworkConfigurationArgs
    Network configuration for your Apache Airflow Environment. This includes two private subnets as well as security groups for the Airflow environment. Each subnet requires internet connection, otherwise the deployment will fail. See networkConfiguration Block for details.
    plugins_s3_object_version str
    Version of the plugins.zip file you want to use.
    plugins_s3_path str
    Relative path to the plugins.zip file on your Amazon S3 storage bucket. For example, plugins.zip. If a relative path is provided in the request, then pluginsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    requirements_s3_object_version str
    Version of the requirements.txt file you want to use.
    requirements_s3_path str
    Relative path to the requirements.txt file on your Amazon S3 storage bucket. For example, requirements.txt. If a relative path is provided in the request, then requirementsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    schedulers int
    Number of schedulers that you want to run in your environment. v2.0.2 and above accepts 2 - 5, default 2. v1.10.12 accepts 1.
    service_role_arn str
    Service Role ARN of the Amazon MWAA Environment.
    source_bucket_arn str
    ARN of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
    startup_script_s3_object_version str
    Version of the startup shell script you want to use. You must specify the version ID that Amazon S3 assigns to the file every time you update the script.
    startup_script_s3_path str
    Relative path to the script hosted in your bucket. The script runs as your environment starts before starting the Apache Airflow process. Use this script to install dependencies, modify configuration options, and set environment variables. See Using a startup script. Supported for environment versions 2.x and later.
    status str
    Status of the last update.
    tags Mapping[str, str]
    Map of resource tags to associate with the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    webserver_access_mode str
    Whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY (default), PUBLIC_ONLY and PUBLIC_AND_PRIVATE.
    webserver_url str
    Webserver URL of the MWAA Environment.
    webserver_vpc_endpoint_service str
    VPC endpoint for the environment's web server.
    weekly_maintenance_window_start str
    Start date for the weekly maintenance window.
    worker_replacement_strategy str
    Worker replacement strategy. Valid values: FORCED, GRACEFUL.
    airflowConfigurationOptions Map<String>
    Airflow override options. Check the Official documentation for all possible configuration options.
    airflowVersion String
    Airflow version of your environment, will be set by default to the latest version that MWAA supports.
    arn String
    ARN of the MWAA Environment.
    createdAt String
    Date and time the environment was last updated.
    dagS3Path String
    Relative path to the DAG folder on your Amazon S3 storage bucket. For example, dags. For more information, see Importing DAGs on Amazon MWAA.
    databaseVpcEndpointService String
    VPC endpoint for the environment's Amazon RDS database.
    endpointManagement String
    Whether the VPC endpoints configured for the environment are created and managed by the customer or by AWS. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set to CUSTOMER, you must create, and manage, the VPC endpoints for your VPC. Defaults to SERVICE if not set.
    environmentClass String
    Environment class for the cluster. Possible options are mw1.micro, mw1.small, mw1.medium, mw1.large. Will be set by default to mw1.small. Please check the AWS Pricing for more information about the environment classes.
    executionRoleArn String
    ARN of the task execution role that the Amazon MWAA and its environment can assume. Check the official AWS documentation for the detailed role specification.
    kmsKey String
    ARN of your KMS key that you want to use for encryption. Will be set to the ARN of the managed KMS key aws/airflow by default. Please check the Official Documentation for more information.
    lastUpdateds List<Property Map>
    Information about the last update of the environment. See lastUpdated Block for details.
    loggingConfiguration Property Map
    Apache Airflow logs you want to send to Amazon CloudWatch Logs. See loggingConfiguration Block for details.
    maxWebservers Number
    Maximum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    maxWorkers Number
    Maximum number of workers that can be automatically scaled up. Value need to be between 1 and 25. Will be 10 by default.
    minWebservers Number
    Minimum number of web servers that you want to run in your environment. Value need to be between 2 and 5 if environmentClass is not mw1.micro, 1 otherwise.
    minWorkers Number
    Minimum number of workers that you want to run in your environment. Will be 1 by default.
    name String
    Name of the Apache Airflow Environment.
    networkConfiguration Property Map
    Network configuration for your Apache Airflow Environment. This includes two private subnets as well as security groups for the Airflow environment. Each subnet requires internet connection, otherwise the deployment will fail. See networkConfiguration Block for details.
    pluginsS3ObjectVersion String
    Version of the plugins.zip file you want to use.
    pluginsS3Path String
    Relative path to the plugins.zip file on your Amazon S3 storage bucket. For example, plugins.zip. If a relative path is provided in the request, then pluginsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    requirementsS3ObjectVersion String
    Version of the requirements.txt file you want to use.
    requirementsS3Path String
    Relative path to the requirements.txt file on your Amazon S3 storage bucket. For example, requirements.txt. If a relative path is provided in the request, then requirementsS3ObjectVersion is required. For more information, see Importing DAGs on Amazon MWAA.
    schedulers Number
    Number of schedulers that you want to run in your environment. v2.0.2 and above accepts 2 - 5, default 2. v1.10.12 accepts 1.
    serviceRoleArn String
    Service Role ARN of the Amazon MWAA Environment.
    sourceBucketArn String
    ARN of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
    startupScriptS3ObjectVersion String
    Version of the startup shell script you want to use. You must specify the version ID that Amazon S3 assigns to the file every time you update the script.
    startupScriptS3Path String
    Relative path to the script hosted in your bucket. The script runs as your environment starts before starting the Apache Airflow process. Use this script to install dependencies, modify configuration options, and set environment variables. See Using a startup script. Supported for environment versions 2.x and later.
    status String
    Status of the last update.
    tags Map<String>
    Map of resource tags to associate with the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    webserverAccessMode String
    Whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY (default), PUBLIC_ONLY and PUBLIC_AND_PRIVATE.
    webserverUrl String
    Webserver URL of the MWAA Environment.
    webserverVpcEndpointService String
    VPC endpoint for the environment's web server.
    weeklyMaintenanceWindowStart String
    Start date for the weekly maintenance window.
    workerReplacementStrategy String
    Worker replacement strategy. Valid values: FORCED, GRACEFUL.

    Supporting Types

    EnvironmentLastUpdated, EnvironmentLastUpdatedArgs

    CreatedAt string
    Date and time the environment was last updated.
    Errors List<EnvironmentLastUpdatedError>
    Error that occurred during the last update, if any. See last_updated.error Block for details.
    Status string
    Status of the last update.
    CreatedAt string
    Date and time the environment was last updated.
    Errors []EnvironmentLastUpdatedError
    Error that occurred during the last update, if any. See last_updated.error Block for details.
    Status string
    Status of the last update.
    created_at string
    Date and time the environment was last updated.
    errors list(object)
    Error that occurred during the last update, if any. See last_updated.error Block for details.
    status string
    Status of the last update.
    createdAt String
    Date and time the environment was last updated.
    errors List<EnvironmentLastUpdatedError>
    Error that occurred during the last update, if any. See last_updated.error Block for details.
    status String
    Status of the last update.
    createdAt string
    Date and time the environment was last updated.
    errors EnvironmentLastUpdatedError[]
    Error that occurred during the last update, if any. See last_updated.error Block for details.
    status string
    Status of the last update.
    created_at str
    Date and time the environment was last updated.
    errors Sequence[EnvironmentLastUpdatedError]
    Error that occurred during the last update, if any. See last_updated.error Block for details.
    status str
    Status of the last update.
    createdAt String
    Date and time the environment was last updated.
    errors List<Property Map>
    Error that occurred during the last update, if any. See last_updated.error Block for details.
    status String
    Status of the last update.

    EnvironmentLastUpdatedError, EnvironmentLastUpdatedErrorArgs

    ErrorCode string
    Error code of the last update error.
    ErrorMessage string
    Error message of the last update error.
    ErrorCode string
    Error code of the last update error.
    ErrorMessage string
    Error message of the last update error.
    error_code string
    Error code of the last update error.
    error_message string
    Error message of the last update error.
    errorCode String
    Error code of the last update error.
    errorMessage String
    Error message of the last update error.
    errorCode string
    Error code of the last update error.
    errorMessage string
    Error message of the last update error.
    error_code str
    Error code of the last update error.
    error_message str
    Error message of the last update error.
    errorCode String
    Error code of the last update error.
    errorMessage String
    Error message of the last update error.

    EnvironmentLoggingConfiguration, EnvironmentLoggingConfigurationArgs

    DagProcessingLogs EnvironmentLoggingConfigurationDagProcessingLogs
    Log configuration options for processing DAGs. See Module logging configuration blocks for details. Disabled by default.
    SchedulerLogs EnvironmentLoggingConfigurationSchedulerLogs
    Log configuration options for the schedulers. See Module logging configuration blocks for details. Disabled by default.
    TaskLogs EnvironmentLoggingConfigurationTaskLogs
    Log configuration options for DAG tasks. See Module logging configuration blocks for details. Enabled by default with INFO log level.
    WebserverLogs EnvironmentLoggingConfigurationWebserverLogs
    Log configuration options for the webservers. See Module logging configuration blocks for details. Disabled by default.
    WorkerLogs EnvironmentLoggingConfigurationWorkerLogs
    Log configuration options for the workers. See Module logging configuration blocks for details. Disabled by default.
    DagProcessingLogs EnvironmentLoggingConfigurationDagProcessingLogs
    Log configuration options for processing DAGs. See Module logging configuration blocks for details. Disabled by default.
    SchedulerLogs EnvironmentLoggingConfigurationSchedulerLogs
    Log configuration options for the schedulers. See Module logging configuration blocks for details. Disabled by default.
    TaskLogs EnvironmentLoggingConfigurationTaskLogs
    Log configuration options for DAG tasks. See Module logging configuration blocks for details. Enabled by default with INFO log level.
    WebserverLogs EnvironmentLoggingConfigurationWebserverLogs
    Log configuration options for the webservers. See Module logging configuration blocks for details. Disabled by default.
    WorkerLogs EnvironmentLoggingConfigurationWorkerLogs
    Log configuration options for the workers. See Module logging configuration blocks for details. Disabled by default.
    dag_processing_logs object
    Log configuration options for processing DAGs. See Module logging configuration blocks for details. Disabled by default.
    scheduler_logs object
    Log configuration options for the schedulers. See Module logging configuration blocks for details. Disabled by default.
    task_logs object
    Log configuration options for DAG tasks. See Module logging configuration blocks for details. Enabled by default with INFO log level.
    webserver_logs object
    Log configuration options for the webservers. See Module logging configuration blocks for details. Disabled by default.
    worker_logs object
    Log configuration options for the workers. See Module logging configuration blocks for details. Disabled by default.
    dagProcessingLogs EnvironmentLoggingConfigurationDagProcessingLogs
    Log configuration options for processing DAGs. See Module logging configuration blocks for details. Disabled by default.
    schedulerLogs EnvironmentLoggingConfigurationSchedulerLogs
    Log configuration options for the schedulers. See Module logging configuration blocks for details. Disabled by default.
    taskLogs EnvironmentLoggingConfigurationTaskLogs
    Log configuration options for DAG tasks. See Module logging configuration blocks for details. Enabled by default with INFO log level.
    webserverLogs EnvironmentLoggingConfigurationWebserverLogs
    Log configuration options for the webservers. See Module logging configuration blocks for details. Disabled by default.
    workerLogs EnvironmentLoggingConfigurationWorkerLogs
    Log configuration options for the workers. See Module logging configuration blocks for details. Disabled by default.
    dagProcessingLogs EnvironmentLoggingConfigurationDagProcessingLogs
    Log configuration options for processing DAGs. See Module logging configuration blocks for details. Disabled by default.
    schedulerLogs EnvironmentLoggingConfigurationSchedulerLogs
    Log configuration options for the schedulers. See Module logging configuration blocks for details. Disabled by default.
    taskLogs EnvironmentLoggingConfigurationTaskLogs
    Log configuration options for DAG tasks. See Module logging configuration blocks for details. Enabled by default with INFO log level.
    webserverLogs EnvironmentLoggingConfigurationWebserverLogs
    Log configuration options for the webservers. See Module logging configuration blocks for details. Disabled by default.
    workerLogs EnvironmentLoggingConfigurationWorkerLogs
    Log configuration options for the workers. See Module logging configuration blocks for details. Disabled by default.
    dag_processing_logs EnvironmentLoggingConfigurationDagProcessingLogs
    Log configuration options for processing DAGs. See Module logging configuration blocks for details. Disabled by default.
    scheduler_logs EnvironmentLoggingConfigurationSchedulerLogs
    Log configuration options for the schedulers. See Module logging configuration blocks for details. Disabled by default.
    task_logs EnvironmentLoggingConfigurationTaskLogs
    Log configuration options for DAG tasks. See Module logging configuration blocks for details. Enabled by default with INFO log level.
    webserver_logs EnvironmentLoggingConfigurationWebserverLogs
    Log configuration options for the webservers. See Module logging configuration blocks for details. Disabled by default.
    worker_logs EnvironmentLoggingConfigurationWorkerLogs
    Log configuration options for the workers. See Module logging configuration blocks for details. Disabled by default.
    dagProcessingLogs Property Map
    Log configuration options for processing DAGs. See Module logging configuration blocks for details. Disabled by default.
    schedulerLogs Property Map
    Log configuration options for the schedulers. See Module logging configuration blocks for details. Disabled by default.
    taskLogs Property Map
    Log configuration options for DAG tasks. See Module logging configuration blocks for details. Enabled by default with INFO log level.
    webserverLogs Property Map
    Log configuration options for the webservers. See Module logging configuration blocks for details. Disabled by default.
    workerLogs Property Map
    Log configuration options for the workers. See Module logging configuration blocks for details. Disabled by default.

    EnvironmentLoggingConfigurationDagProcessingLogs, EnvironmentLoggingConfigurationDagProcessingLogsArgs

    CloudWatchLogGroupArn string
    ARN of the CloudWatch Logs log group where the logs are published.
    Enabled bool
    Whether to enable the collection of logs.
    LogLevel string
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    CloudWatchLogGroupArn string
    ARN of the CloudWatch Logs log group where the logs are published.
    Enabled bool
    Whether to enable the collection of logs.
    LogLevel string
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    cloud_watch_log_group_arn string
    ARN of the CloudWatch Logs log group where the logs are published.
    enabled bool
    Whether to enable the collection of logs.
    log_level string
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    cloudWatchLogGroupArn String
    ARN of the CloudWatch Logs log group where the logs are published.
    enabled Boolean
    Whether to enable the collection of logs.
    logLevel String
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    cloudWatchLogGroupArn string
    ARN of the CloudWatch Logs log group where the logs are published.
    enabled boolean
    Whether to enable the collection of logs.
    logLevel string
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    cloud_watch_log_group_arn str
    ARN of the CloudWatch Logs log group where the logs are published.
    enabled bool
    Whether to enable the collection of logs.
    log_level str
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    cloudWatchLogGroupArn String
    ARN of the CloudWatch Logs log group where the logs are published.
    enabled Boolean
    Whether to enable the collection of logs.
    logLevel String
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

    EnvironmentLoggingConfigurationSchedulerLogs, EnvironmentLoggingConfigurationSchedulerLogsArgs

    CloudWatchLogGroupArn string
    ARN of the CloudWatch Logs log group where the logs are published.
    Enabled bool
    Whether to enable the collection of logs.
    LogLevel string
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    CloudWatchLogGroupArn string
    ARN of the CloudWatch Logs log group where the logs are published.
    Enabled bool
    Whether to enable the collection of logs.
    LogLevel string
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    cloud_watch_log_group_arn string
    ARN of the CloudWatch Logs log group where the logs are published.
    enabled bool
    Whether to enable the collection of logs.
    log_level string
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    cloudWatchLogGroupArn String
    ARN of the CloudWatch Logs log group where the logs are published.
    enabled Boolean
    Whether to enable the collection of logs.
    logLevel String
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    cloudWatchLogGroupArn string
    ARN of the CloudWatch Logs log group where the logs are published.
    enabled boolean
    Whether to enable the collection of logs.
    logLevel string
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    cloud_watch_log_group_arn str
    ARN of the CloudWatch Logs log group where the logs are published.
    enabled bool
    Whether to enable the collection of logs.
    log_level str
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    cloudWatchLogGroupArn String
    ARN of the CloudWatch Logs log group where the logs are published.
    enabled Boolean
    Whether to enable the collection of logs.
    logLevel String
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

    EnvironmentLoggingConfigurationTaskLogs, EnvironmentLoggingConfigurationTaskLogsArgs

    CloudWatchLogGroupArn string
    ARN of the CloudWatch Logs log group where the logs are published.
    Enabled bool
    Whether to enable the collection of logs.
    LogLevel string
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    CloudWatchLogGroupArn string
    ARN of the CloudWatch Logs log group where the logs are published.
    Enabled bool
    Whether to enable the collection of logs.
    LogLevel string
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    cloud_watch_log_group_arn string
    ARN of the CloudWatch Logs log group where the logs are published.
    enabled bool
    Whether to enable the collection of logs.
    log_level string
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    cloudWatchLogGroupArn String
    ARN of the CloudWatch Logs log group where the logs are published.
    enabled Boolean
    Whether to enable the collection of logs.
    logLevel String
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    cloudWatchLogGroupArn string
    ARN of the CloudWatch Logs log group where the logs are published.
    enabled boolean
    Whether to enable the collection of logs.
    logLevel string
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    cloud_watch_log_group_arn str
    ARN of the CloudWatch Logs log group where the logs are published.
    enabled bool
    Whether to enable the collection of logs.
    log_level str
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    cloudWatchLogGroupArn String
    ARN of the CloudWatch Logs log group where the logs are published.
    enabled Boolean
    Whether to enable the collection of logs.
    logLevel String
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

    EnvironmentLoggingConfigurationWebserverLogs, EnvironmentLoggingConfigurationWebserverLogsArgs

    CloudWatchLogGroupArn string
    ARN of the CloudWatch Logs log group where the logs are published.
    Enabled bool
    Whether to enable the collection of logs.
    LogLevel string
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    CloudWatchLogGroupArn string
    ARN of the CloudWatch Logs log group where the logs are published.
    Enabled bool
    Whether to enable the collection of logs.
    LogLevel string
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    cloud_watch_log_group_arn string
    ARN of the CloudWatch Logs log group where the logs are published.
    enabled bool
    Whether to enable the collection of logs.
    log_level string
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    cloudWatchLogGroupArn String
    ARN of the CloudWatch Logs log group where the logs are published.
    enabled Boolean
    Whether to enable the collection of logs.
    logLevel String
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    cloudWatchLogGroupArn string
    ARN of the CloudWatch Logs log group where the logs are published.
    enabled boolean
    Whether to enable the collection of logs.
    logLevel string
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    cloud_watch_log_group_arn str
    ARN of the CloudWatch Logs log group where the logs are published.
    enabled bool
    Whether to enable the collection of logs.
    log_level str
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    cloudWatchLogGroupArn String
    ARN of the CloudWatch Logs log group where the logs are published.
    enabled Boolean
    Whether to enable the collection of logs.
    logLevel String
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

    EnvironmentLoggingConfigurationWorkerLogs, EnvironmentLoggingConfigurationWorkerLogsArgs

    CloudWatchLogGroupArn string
    ARN of the CloudWatch Logs log group where the logs are published.
    Enabled bool
    Whether to enable the collection of logs.
    LogLevel string
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    CloudWatchLogGroupArn string
    ARN of the CloudWatch Logs log group where the logs are published.
    Enabled bool
    Whether to enable the collection of logs.
    LogLevel string
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    cloud_watch_log_group_arn string
    ARN of the CloudWatch Logs log group where the logs are published.
    enabled bool
    Whether to enable the collection of logs.
    log_level string
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    cloudWatchLogGroupArn String
    ARN of the CloudWatch Logs log group where the logs are published.
    enabled Boolean
    Whether to enable the collection of logs.
    logLevel String
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    cloudWatchLogGroupArn string
    ARN of the CloudWatch Logs log group where the logs are published.
    enabled boolean
    Whether to enable the collection of logs.
    logLevel string
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    cloud_watch_log_group_arn str
    ARN of the CloudWatch Logs log group where the logs are published.
    enabled bool
    Whether to enable the collection of logs.
    log_level str
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.
    cloudWatchLogGroupArn String
    ARN of the CloudWatch Logs log group where the logs are published.
    enabled Boolean
    Whether to enable the collection of logs.
    logLevel String
    Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

    EnvironmentNetworkConfiguration, EnvironmentNetworkConfigurationArgs

    SecurityGroupIds List<string>
    Security groups IDs for the environment. At least one of the security group needs to allow MWAA resources to talk to each other, otherwise MWAA cannot be provisioned.
    SubnetIds List<string>
    Private subnet IDs in which the environment should be created. MWAA requires two subnets.
    SecurityGroupIds []string
    Security groups IDs for the environment. At least one of the security group needs to allow MWAA resources to talk to each other, otherwise MWAA cannot be provisioned.
    SubnetIds []string
    Private subnet IDs in which the environment should be created. MWAA requires two subnets.
    security_group_ids list(string)
    Security groups IDs for the environment. At least one of the security group needs to allow MWAA resources to talk to each other, otherwise MWAA cannot be provisioned.
    subnet_ids list(string)
    Private subnet IDs in which the environment should be created. MWAA requires two subnets.
    securityGroupIds List<String>
    Security groups IDs for the environment. At least one of the security group needs to allow MWAA resources to talk to each other, otherwise MWAA cannot be provisioned.
    subnetIds List<String>
    Private subnet IDs in which the environment should be created. MWAA requires two subnets.
    securityGroupIds string[]
    Security groups IDs for the environment. At least one of the security group needs to allow MWAA resources to talk to each other, otherwise MWAA cannot be provisioned.
    subnetIds string[]
    Private subnet IDs in which the environment should be created. MWAA requires two subnets.
    security_group_ids Sequence[str]
    Security groups IDs for the environment. At least one of the security group needs to allow MWAA resources to talk to each other, otherwise MWAA cannot be provisioned.
    subnet_ids Sequence[str]
    Private subnet IDs in which the environment should be created. MWAA requires two subnets.
    securityGroupIds List<String>
    Security groups IDs for the environment. At least one of the security group needs to allow MWAA resources to talk to each other, otherwise MWAA cannot be provisioned.
    subnetIds List<String>
    Private subnet IDs in which the environment should be created. MWAA requires two subnets.

    Import

    Using pulumi import, import MWAA Environment using Name. For example:

    $ pulumi import aws:mwaa/environment:Environment example MyAirflowEnvironment
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo aws logo
    Viewing docs for AWS v7.51.0
    published on Thursday, Oct 15, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial