1. Packages
  2. AWS Classic
  3. API Docs
  4. mwaa
  5. Environment

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws.mwaa.Environment

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 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.BucketV2).

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.mwaa.Environment("example", {
        dagS3Path: "dags/",
        executionRoleArn: exampleAwsIamRole.arn,
        name: "example",
        networkConfiguration: {
            securityGroupIds: [exampleAwsSecurityGroup.id],
            subnetIds: _private.map(__item => __item.id),
        },
        sourceBucketArn: exampleAwsS3Bucket.arn,
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.mwaa.Environment("example",
        dag_s3_path="dags/",
        execution_role_arn=example_aws_iam_role["arn"],
        name="example",
        network_configuration={
            "securityGroupIds": [example_aws_security_group["id"]],
            "subnetIds": [__item["id"] for __item in private],
        },
        source_bucket_arn=example_aws_s3_bucket["arn"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/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{
    DagS3Path: pulumi.String("dags/"),
    ExecutionRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
    Name: pulumi.String("example"),
    NetworkConfiguration: &mwaa.EnvironmentNetworkConfigurationArgs{
    SecurityGroupIds: pulumi.StringArray{
    exampleAwsSecurityGroup.Id,
    },
    SubnetIds: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:6,24-37),
    },
    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()
        {
            DagS3Path = "dags/",
            ExecutionRoleArn = exampleAwsIamRole.Arn,
            Name = "example",
            NetworkConfiguration = new Aws.Mwaa.Inputs.EnvironmentNetworkConfigurationArgs
            {
                SecurityGroupIds = new[]
                {
                    exampleAwsSecurityGroup.Id,
                },
                SubnetIds = @private.Select(__item => __item.Id).ToList(),
            },
            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.List;
    import java.util.ArrayList;
    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()
                .dagS3Path("dags/")
                .executionRoleArn(exampleAwsIamRole.arn())
                .name("example")
                .networkConfiguration(EnvironmentNetworkConfigurationArgs.builder()
                    .securityGroupIds(exampleAwsSecurityGroup.id())
                    .subnetIds(private_.stream().map(element -> element.id()).collect(toList()))
                    .build())
                .sourceBucketArn(exampleAwsS3Bucket.arn())
                .build());
    
        }
    }
    
    Coming soon!
    

    Example with Airflow configuration options

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.mwaa.Environment("example", {
        airflowConfigurationOptions: {
            "core.default_task_retries": "16",
            "core.parallelism": "1",
        },
        dagS3Path: "dags/",
        executionRoleArn: exampleAwsIamRole.arn,
        name: "example",
        networkConfiguration: {
            securityGroupIds: [exampleAwsSecurityGroup.id],
            subnetIds: _private.map(__item => __item.id),
        },
        sourceBucketArn: exampleAwsS3Bucket.arn,
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.mwaa.Environment("example",
        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",
        network_configuration={
            "securityGroupIds": [example_aws_security_group["id"]],
            "subnetIds": [__item["id"] for __item in private],
        },
        source_bucket_arn=example_aws_s3_bucket["arn"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/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{
    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"),
    NetworkConfiguration: &mwaa.EnvironmentNetworkConfigurationArgs{
    SecurityGroupIds: pulumi.StringArray{
    exampleAwsSecurityGroup.Id,
    },
    SubnetIds: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:10,24-37),
    },
    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()
        {
            AirflowConfigurationOptions = 
            {
                { "core.default_task_retries", "16" },
                { "core.parallelism", "1" },
            },
            DagS3Path = "dags/",
            ExecutionRoleArn = exampleAwsIamRole.Arn,
            Name = "example",
            NetworkConfiguration = new Aws.Mwaa.Inputs.EnvironmentNetworkConfigurationArgs
            {
                SecurityGroupIds = new[]
                {
                    exampleAwsSecurityGroup.Id,
                },
                SubnetIds = @private.Select(__item => __item.Id).ToList(),
            },
            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.List;
    import java.util.ArrayList;
    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()
                .airflowConfigurationOptions(Map.ofEntries(
                    Map.entry("core.default_task_retries", 16),
                    Map.entry("core.parallelism", 1)
                ))
                .dagS3Path("dags/")
                .executionRoleArn(exampleAwsIamRole.arn())
                .name("example")
                .networkConfiguration(EnvironmentNetworkConfigurationArgs.builder()
                    .securityGroupIds(exampleAwsSecurityGroup.id())
                    .subnetIds(private_.stream().map(element -> element.id()).collect(toList()))
                    .build())
                .sourceBucketArn(exampleAwsS3Bucket.arn())
                .build());
    
        }
    }
    
    Coming soon!
    

    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", {
        dagS3Path: "dags/",
        executionRoleArn: exampleAwsIamRole.arn,
        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",
            },
        },
        name: "example",
        networkConfiguration: {
            securityGroupIds: [exampleAwsSecurityGroup.id],
            subnetIds: _private.map(__item => __item.id),
        },
        sourceBucketArn: exampleAwsS3Bucket.arn,
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.mwaa.Environment("example",
        dag_s3_path="dags/",
        execution_role_arn=example_aws_iam_role["arn"],
        logging_configuration={
            "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",
            },
        },
        name="example",
        network_configuration={
            "securityGroupIds": [example_aws_security_group["id"]],
            "subnetIds": [__item["id"] for __item in private],
        },
        source_bucket_arn=example_aws_s3_bucket["arn"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/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{
    DagS3Path: pulumi.String("dags/"),
    ExecutionRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
    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"),
    },
    },
    Name: pulumi.String("example"),
    NetworkConfiguration: &mwaa.EnvironmentNetworkConfigurationArgs{
    SecurityGroupIds: pulumi.StringArray{
    exampleAwsSecurityGroup.Id,
    },
    SubnetIds: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:28,24-37),
    },
    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()
        {
            DagS3Path = "dags/",
            ExecutionRoleArn = exampleAwsIamRole.Arn,
            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",
                },
            },
            Name = "example",
            NetworkConfiguration = new Aws.Mwaa.Inputs.EnvironmentNetworkConfigurationArgs
            {
                SecurityGroupIds = new[]
                {
                    exampleAwsSecurityGroup.Id,
                },
                SubnetIds = @private.Select(__item => __item.Id).ToList(),
            },
            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.List;
    import java.util.ArrayList;
    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()
                .dagS3Path("dags/")
                .executionRoleArn(exampleAwsIamRole.arn())
                .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())
                .name("example")
                .networkConfiguration(EnvironmentNetworkConfigurationArgs.builder()
                    .securityGroupIds(exampleAwsSecurityGroup.id())
                    .subnetIds(private_.stream().map(element -> element.id()).collect(toList()))
                    .build())
                .sourceBucketArn(exampleAwsS3Bucket.arn())
                .build());
    
        }
    }
    
    Coming soon!
    

    Example with tags

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.mwaa.Environment("example", {
        dagS3Path: "dags/",
        executionRoleArn: exampleAwsIamRole.arn,
        name: "example",
        networkConfiguration: {
            securityGroupIds: [exampleAwsSecurityGroup.id],
            subnetIds: _private.map(__item => __item.id),
        },
        sourceBucketArn: exampleAwsS3Bucket.arn,
        tags: {
            Name: "example",
            Environment: "production",
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.mwaa.Environment("example",
        dag_s3_path="dags/",
        execution_role_arn=example_aws_iam_role["arn"],
        name="example",
        network_configuration={
            "securityGroupIds": [example_aws_security_group["id"]],
            "subnetIds": [__item["id"] for __item in private],
        },
        source_bucket_arn=example_aws_s3_bucket["arn"],
        tags={
            "Name": "example",
            "Environment": "production",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/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{
    DagS3Path: pulumi.String("dags/"),
    ExecutionRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
    Name: pulumi.String("example"),
    NetworkConfiguration: &mwaa.EnvironmentNetworkConfigurationArgs{
    SecurityGroupIds: pulumi.StringArray{
    exampleAwsSecurityGroup.Id,
    },
    SubnetIds: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:6,24-37),
    },
    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()
        {
            DagS3Path = "dags/",
            ExecutionRoleArn = exampleAwsIamRole.Arn,
            Name = "example",
            NetworkConfiguration = new Aws.Mwaa.Inputs.EnvironmentNetworkConfigurationArgs
            {
                SecurityGroupIds = new[]
                {
                    exampleAwsSecurityGroup.Id,
                },
                SubnetIds = @private.Select(__item => __item.Id).ToList(),
            },
            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.List;
    import java.util.ArrayList;
    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()
                .dagS3Path("dags/")
                .executionRoleArn(exampleAwsIamRole.arn())
                .name("example")
                .networkConfiguration(EnvironmentNetworkConfigurationArgs.builder()
                    .securityGroupIds(exampleAwsSecurityGroup.id())
                    .subnetIds(private_.stream().map(element -> element.id()).collect(toList()))
                    .build())
                .sourceBucketArn(exampleAwsS3Bucket.arn())
                .tags(Map.ofEntries(
                    Map.entry("Name", "example"),
                    Map.entry("Environment", "production")
                ))
                .build());
    
        }
    }
    
    Coming soon!
    

    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,
                    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)
    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.
    
    

    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",
        RequirementsS3ObjectVersion = "string",
        RequirementsS3Path = "string",
        Schedulers = 0,
        AirflowVersion = "string",
        StartupScriptS3ObjectVersion = "string",
        StartupScriptS3Path = "string",
        Tags = 
        {
            { "string", "string" },
        },
        WebserverAccessMode = "string",
        WeeklyMaintenanceWindowStart = "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"),
    	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"),
    })
    
    var exampleenvironmentResourceResourceFromMwaaenvironment = new Environment("exampleenvironmentResourceResourceFromMwaaenvironment", 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")
        .requirementsS3ObjectVersion("string")
        .requirementsS3Path("string")
        .schedulers(0)
        .airflowVersion("string")
        .startupScriptS3ObjectVersion("string")
        .startupScriptS3Path("string")
        .tags(Map.of("string", "string"))
        .webserverAccessMode("string")
        .weeklyMaintenanceWindowStart("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={
            "securityGroupIds": ["string"],
            "subnetIds": ["string"],
        },
        name="string",
        plugins_s3_path="string",
        kms_key="string",
        logging_configuration={
            "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",
            },
        },
        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",
        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")
    
    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",
        requirementsS3ObjectVersion: "string",
        requirementsS3Path: "string",
        schedulers: 0,
        airflowVersion: "string",
        startupScriptS3ObjectVersion: "string",
        startupScriptS3Path: "string",
        tags: {
            string: "string",
        },
        webserverAccessMode: "string",
        weeklyMaintenanceWindowStart: "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
        requirementsS3ObjectVersion: string
        requirementsS3Path: string
        schedulers: 0
        sourceBucketArn: string
        startupScriptS3ObjectVersion: string
        startupScriptS3Path: string
        tags:
            string: string
        webserverAccessMode: string
        weeklyMaintenanceWindowStart: 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

    The Environment resource accepts the following input properties:

    DagS3Path string
    The 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
    The Amazon Resource Name (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
    Specifies the 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 Network configuration below for details.
    SourceBucketArn string
    The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
    AirflowConfigurationOptions Dictionary<string, string>
    The airflow_configuration_options parameter specifies 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
    EnvironmentClass string
    Environment class for the cluster. Possible options are 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
    The Amazon Resource Name (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
    The Apache Airflow logs you want to send to Amazon CloudWatch Logs.
    MaxWebservers int
    MaxWorkers int
    The 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
    MinWorkers int
    The minimum number of workers that you want to run in your environment. Will be 1 by default.
    Name string
    The name of the Apache Airflow Environment
    PluginsS3ObjectVersion string
    The plugins.zip file version you want to use.
    PluginsS3Path string
    The 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 plugins_s3_object_version is required. For more information, see Importing DAGs on Amazon MWAA.
    RequirementsS3ObjectVersion string
    The requirements.txt file version you want to use.
    RequirementsS3Path string
    The 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 requirements_s3_object_version is required. For more information, see Importing DAGs on Amazon MWAA.
    Schedulers int
    The 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
    The 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
    The 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>
    A map of resource tags to associate with the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    WebserverAccessMode string
    Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY (default) and PUBLIC_ONLY.
    WeeklyMaintenanceWindowStart string
    Specifies the start date for the weekly maintenance window.
    DagS3Path string
    The 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
    The Amazon Resource Name (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
    Specifies the 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 Network configuration below for details.
    SourceBucketArn string
    The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
    AirflowConfigurationOptions map[string]string
    The airflow_configuration_options parameter specifies 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
    EnvironmentClass string
    Environment class for the cluster. Possible options are 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
    The Amazon Resource Name (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
    The Apache Airflow logs you want to send to Amazon CloudWatch Logs.
    MaxWebservers int
    MaxWorkers int
    The 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
    MinWorkers int
    The minimum number of workers that you want to run in your environment. Will be 1 by default.
    Name string
    The name of the Apache Airflow Environment
    PluginsS3ObjectVersion string
    The plugins.zip file version you want to use.
    PluginsS3Path string
    The 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 plugins_s3_object_version is required. For more information, see Importing DAGs on Amazon MWAA.
    RequirementsS3ObjectVersion string
    The requirements.txt file version you want to use.
    RequirementsS3Path string
    The 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 requirements_s3_object_version is required. For more information, see Importing DAGs on Amazon MWAA.
    Schedulers int
    The 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
    The 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
    The 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
    A map of resource tags to associate with the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    WebserverAccessMode string
    Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY (default) and PUBLIC_ONLY.
    WeeklyMaintenanceWindowStart string
    Specifies the start date for the weekly maintenance window.
    dagS3Path String
    The 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
    The Amazon Resource Name (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
    Specifies the 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 Network configuration below for details.
    sourceBucketArn String
    The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
    airflowConfigurationOptions Map<String,String>
    The airflow_configuration_options parameter specifies 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
    environmentClass String
    Environment class for the cluster. Possible options are 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
    The Amazon Resource Name (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
    The Apache Airflow logs you want to send to Amazon CloudWatch Logs.
    maxWebservers Integer
    maxWorkers Integer
    The 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
    minWorkers Integer
    The minimum number of workers that you want to run in your environment. Will be 1 by default.
    name String
    The name of the Apache Airflow Environment
    pluginsS3ObjectVersion String
    The plugins.zip file version you want to use.
    pluginsS3Path String
    The 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 plugins_s3_object_version is required. For more information, see Importing DAGs on Amazon MWAA.
    requirementsS3ObjectVersion String
    The requirements.txt file version you want to use.
    requirementsS3Path String
    The 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 requirements_s3_object_version is required. For more information, see Importing DAGs on Amazon MWAA.
    schedulers Integer
    The 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
    The 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
    The 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>
    A map of resource tags to associate with the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    webserverAccessMode String
    Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY (default) and PUBLIC_ONLY.
    weeklyMaintenanceWindowStart String
    Specifies the start date for the weekly maintenance window.
    dagS3Path string
    The 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
    The Amazon Resource Name (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
    Specifies the 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 Network configuration below for details.
    sourceBucketArn string
    The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
    airflowConfigurationOptions {[key: string]: string}
    The airflow_configuration_options parameter specifies 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
    environmentClass string
    Environment class for the cluster. Possible options are 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
    The Amazon Resource Name (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
    The Apache Airflow logs you want to send to Amazon CloudWatch Logs.
    maxWebservers number
    maxWorkers number
    The 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
    minWorkers number
    The minimum number of workers that you want to run in your environment. Will be 1 by default.
    name string
    The name of the Apache Airflow Environment
    pluginsS3ObjectVersion string
    The plugins.zip file version you want to use.
    pluginsS3Path string
    The 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 plugins_s3_object_version is required. For more information, see Importing DAGs on Amazon MWAA.
    requirementsS3ObjectVersion string
    The requirements.txt file version you want to use.
    requirementsS3Path string
    The 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 requirements_s3_object_version is required. For more information, see Importing DAGs on Amazon MWAA.
    schedulers number
    The 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
    The 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
    The 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}
    A map of resource tags to associate with the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    webserverAccessMode string
    Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY (default) and PUBLIC_ONLY.
    weeklyMaintenanceWindowStart string
    Specifies the start date for the weekly maintenance window.
    dag_s3_path str
    The 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
    The Amazon Resource Name (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
    Specifies the 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 Network configuration below for details.
    source_bucket_arn str
    The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
    airflow_configuration_options Mapping[str, str]
    The airflow_configuration_options parameter specifies 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
    environment_class str
    Environment class for the cluster. Possible options are 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
    The Amazon Resource Name (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
    The Apache Airflow logs you want to send to Amazon CloudWatch Logs.
    max_webservers int
    max_workers int
    The 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
    min_workers int
    The minimum number of workers that you want to run in your environment. Will be 1 by default.
    name str
    The name of the Apache Airflow Environment
    plugins_s3_object_version str
    The plugins.zip file version you want to use.
    plugins_s3_path str
    The 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 plugins_s3_object_version is required. For more information, see Importing DAGs on Amazon MWAA.
    requirements_s3_object_version str
    The requirements.txt file version you want to use.
    requirements_s3_path str
    The 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 requirements_s3_object_version is required. For more information, see Importing DAGs on Amazon MWAA.
    schedulers int
    The 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
    The 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
    The 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]
    A map of resource tags to associate with the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    webserver_access_mode str
    Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY (default) and PUBLIC_ONLY.
    weekly_maintenance_window_start str
    Specifies the start date for the weekly maintenance window.
    dagS3Path String
    The 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
    The Amazon Resource Name (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
    Specifies the 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 Network configuration below for details.
    sourceBucketArn String
    The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
    airflowConfigurationOptions Map<String>
    The airflow_configuration_options parameter specifies 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
    environmentClass String
    Environment class for the cluster. Possible options are 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
    The Amazon Resource Name (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
    The Apache Airflow logs you want to send to Amazon CloudWatch Logs.
    maxWebservers Number
    maxWorkers Number
    The 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
    minWorkers Number
    The minimum number of workers that you want to run in your environment. Will be 1 by default.
    name String
    The name of the Apache Airflow Environment
    pluginsS3ObjectVersion String
    The plugins.zip file version you want to use.
    pluginsS3Path String
    The 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 plugins_s3_object_version is required. For more information, see Importing DAGs on Amazon MWAA.
    requirementsS3ObjectVersion String
    The requirements.txt file version you want to use.
    requirementsS3Path String
    The 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 requirements_s3_object_version is required. For more information, see Importing DAGs on Amazon MWAA.
    schedulers Number
    The 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
    The 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
    The 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>
    A map of resource tags to associate with the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    webserverAccessMode String
    Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY (default) and PUBLIC_ONLY.
    weeklyMaintenanceWindowStart String
    Specifies the start date for the weekly maintenance window.

    Outputs

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

    Arn string
    The ARN of the MWAA Environment
    CreatedAt string
    The Created At date of the MWAA Environment
    DatabaseVpcEndpointService string
    The VPC endpoint for the environment's Amazon RDS database

    • logging_configuration[0].<LOG_CONFIGURATION_TYPE>[0].cloud_watch_log_group_arn - Provides the ARN for the CloudWatch group where the logs will be published
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdateds List<EnvironmentLastUpdated>
    ServiceRoleArn string
    The Service Role ARN of the Amazon MWAA Environment
    Status string
    The status of the Amazon MWAA Environment
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    WebserverUrl string
    The webserver URL of the MWAA Environment
    WebserverVpcEndpointService string
    The VPC endpoint for the environment's web server
    Arn string
    The ARN of the MWAA Environment
    CreatedAt string
    The Created At date of the MWAA Environment
    DatabaseVpcEndpointService string
    The VPC endpoint for the environment's Amazon RDS database

    • logging_configuration[0].<LOG_CONFIGURATION_TYPE>[0].cloud_watch_log_group_arn - Provides the ARN for the CloudWatch group where the logs will be published
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdateds []EnvironmentLastUpdated
    ServiceRoleArn string
    The Service Role ARN of the Amazon MWAA Environment
    Status string
    The status of the Amazon MWAA Environment
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    WebserverUrl string
    The webserver URL of the MWAA Environment
    WebserverVpcEndpointService string
    The VPC endpoint for the environment's web server
    arn String
    The ARN of the MWAA Environment
    createdAt String
    The Created At date of the MWAA Environment
    databaseVpcEndpointService String
    The VPC endpoint for the environment's Amazon RDS database

    • logging_configuration[0].<LOG_CONFIGURATION_TYPE>[0].cloud_watch_log_group_arn - Provides the ARN for the CloudWatch group where the logs will be published
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdateds List<EnvironmentLastUpdated>
    serviceRoleArn String
    The Service Role ARN of the Amazon MWAA Environment
    status String
    The status of the Amazon MWAA Environment
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    webserverUrl String
    The webserver URL of the MWAA Environment
    webserverVpcEndpointService String
    The VPC endpoint for the environment's web server
    arn string
    The ARN of the MWAA Environment
    createdAt string
    The Created At date of the MWAA Environment
    databaseVpcEndpointService string
    The VPC endpoint for the environment's Amazon RDS database

    • logging_configuration[0].<LOG_CONFIGURATION_TYPE>[0].cloud_watch_log_group_arn - Provides the ARN for the CloudWatch group where the logs will be published
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdateds EnvironmentLastUpdated[]
    serviceRoleArn string
    The Service Role ARN of the Amazon MWAA Environment
    status string
    The status of the Amazon MWAA Environment
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    webserverUrl string
    The webserver URL of the MWAA Environment
    webserverVpcEndpointService string
    The VPC endpoint for the environment's web server
    arn str
    The ARN of the MWAA Environment
    created_at str
    The Created At date of the MWAA Environment
    database_vpc_endpoint_service str
    The VPC endpoint for the environment's Amazon RDS database

    • logging_configuration[0].<LOG_CONFIGURATION_TYPE>[0].cloud_watch_log_group_arn - Provides the ARN for the CloudWatch group where the logs will be published
    id str
    The provider-assigned unique ID for this managed resource.
    last_updateds Sequence[EnvironmentLastUpdated]
    service_role_arn str
    The Service Role ARN of the Amazon MWAA Environment
    status str
    The status of the Amazon MWAA Environment
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    webserver_url str
    The webserver URL of the MWAA Environment
    webserver_vpc_endpoint_service str
    The VPC endpoint for the environment's web server
    arn String
    The ARN of the MWAA Environment
    createdAt String
    The Created At date of the MWAA Environment
    databaseVpcEndpointService String
    The VPC endpoint for the environment's Amazon RDS database

    • logging_configuration[0].<LOG_CONFIGURATION_TYPE>[0].cloud_watch_log_group_arn - Provides the ARN for the CloudWatch group where the logs will be published
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdateds List<Property Map>
    serviceRoleArn String
    The Service Role ARN of the Amazon MWAA Environment
    status String
    The status of the Amazon MWAA Environment
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    webserverUrl String
    The webserver URL of the MWAA Environment
    webserverVpcEndpointService String
    The 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,
            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) -> 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)
    Resource lookup is not supported in YAML
    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>
    The airflow_configuration_options parameter specifies 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
    The ARN of the MWAA Environment
    CreatedAt string
    The Created At date of the MWAA Environment
    DagS3Path string
    The 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
    The VPC endpoint for the environment's Amazon RDS database

    • logging_configuration[0].<LOG_CONFIGURATION_TYPE>[0].cloud_watch_log_group_arn - Provides the ARN for the CloudWatch group where the logs will be published
    EndpointManagement string
    EnvironmentClass string
    Environment class for the cluster. Possible options are 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
    The Amazon Resource Name (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
    The Amazon Resource Name (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>
    LoggingConfiguration EnvironmentLoggingConfiguration
    The Apache Airflow logs you want to send to Amazon CloudWatch Logs.
    MaxWebservers int
    MaxWorkers int
    The 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
    MinWorkers int
    The minimum number of workers that you want to run in your environment. Will be 1 by default.
    Name string
    The name of the Apache Airflow Environment
    NetworkConfiguration EnvironmentNetworkConfiguration
    Specifies the 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 Network configuration below for details.
    PluginsS3ObjectVersion string
    The plugins.zip file version you want to use.
    PluginsS3Path string
    The 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 plugins_s3_object_version is required. For more information, see Importing DAGs on Amazon MWAA.
    RequirementsS3ObjectVersion string
    The requirements.txt file version you want to use.
    RequirementsS3Path string
    The 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 requirements_s3_object_version is required. For more information, see Importing DAGs on Amazon MWAA.
    Schedulers int
    The 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
    The Service Role ARN of the Amazon MWAA Environment
    SourceBucketArn string
    The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
    StartupScriptS3ObjectVersion string
    The 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
    The 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
    The status of the Amazon MWAA Environment
    Tags Dictionary<string, string>
    A map of resource tags to associate with the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    WebserverAccessMode string
    Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY (default) and PUBLIC_ONLY.
    WebserverUrl string
    The webserver URL of the MWAA Environment
    WebserverVpcEndpointService string
    The VPC endpoint for the environment's web server
    WeeklyMaintenanceWindowStart string
    Specifies the start date for the weekly maintenance window.
    AirflowConfigurationOptions map[string]string
    The airflow_configuration_options parameter specifies 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
    The ARN of the MWAA Environment
    CreatedAt string
    The Created At date of the MWAA Environment
    DagS3Path string
    The 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
    The VPC endpoint for the environment's Amazon RDS database

    • logging_configuration[0].<LOG_CONFIGURATION_TYPE>[0].cloud_watch_log_group_arn - Provides the ARN for the CloudWatch group where the logs will be published
    EndpointManagement string
    EnvironmentClass string
    Environment class for the cluster. Possible options are 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
    The Amazon Resource Name (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
    The Amazon Resource Name (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
    LoggingConfiguration EnvironmentLoggingConfigurationArgs
    The Apache Airflow logs you want to send to Amazon CloudWatch Logs.
    MaxWebservers int
    MaxWorkers int
    The 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
    MinWorkers int
    The minimum number of workers that you want to run in your environment. Will be 1 by default.
    Name string
    The name of the Apache Airflow Environment
    NetworkConfiguration EnvironmentNetworkConfigurationArgs
    Specifies the 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 Network configuration below for details.
    PluginsS3ObjectVersion string
    The plugins.zip file version you want to use.
    PluginsS3Path string
    The 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 plugins_s3_object_version is required. For more information, see Importing DAGs on Amazon MWAA.
    RequirementsS3ObjectVersion string
    The requirements.txt file version you want to use.
    RequirementsS3Path string
    The 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 requirements_s3_object_version is required. For more information, see Importing DAGs on Amazon MWAA.
    Schedulers int
    The 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
    The Service Role ARN of the Amazon MWAA Environment
    SourceBucketArn string
    The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
    StartupScriptS3ObjectVersion string
    The 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
    The 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
    The status of the Amazon MWAA Environment
    Tags map[string]string
    A map of resource tags to associate with the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    WebserverAccessMode string
    Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY (default) and PUBLIC_ONLY.
    WebserverUrl string
    The webserver URL of the MWAA Environment
    WebserverVpcEndpointService string
    The VPC endpoint for the environment's web server
    WeeklyMaintenanceWindowStart string
    Specifies the start date for the weekly maintenance window.
    airflowConfigurationOptions Map<String,String>
    The airflow_configuration_options parameter specifies 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
    The ARN of the MWAA Environment
    createdAt String
    The Created At date of the MWAA Environment
    dagS3Path String
    The 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
    The VPC endpoint for the environment's Amazon RDS database

    • logging_configuration[0].<LOG_CONFIGURATION_TYPE>[0].cloud_watch_log_group_arn - Provides the ARN for the CloudWatch group where the logs will be published
    endpointManagement String
    environmentClass String
    Environment class for the cluster. Possible options are 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
    The Amazon Resource Name (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
    The Amazon Resource Name (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>
    loggingConfiguration EnvironmentLoggingConfiguration
    The Apache Airflow logs you want to send to Amazon CloudWatch Logs.
    maxWebservers Integer
    maxWorkers Integer
    The 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
    minWorkers Integer
    The minimum number of workers that you want to run in your environment. Will be 1 by default.
    name String
    The name of the Apache Airflow Environment
    networkConfiguration EnvironmentNetworkConfiguration
    Specifies the 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 Network configuration below for details.
    pluginsS3ObjectVersion String
    The plugins.zip file version you want to use.
    pluginsS3Path String
    The 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 plugins_s3_object_version is required. For more information, see Importing DAGs on Amazon MWAA.
    requirementsS3ObjectVersion String
    The requirements.txt file version you want to use.
    requirementsS3Path String
    The 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 requirements_s3_object_version is required. For more information, see Importing DAGs on Amazon MWAA.
    schedulers Integer
    The 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
    The Service Role ARN of the Amazon MWAA Environment
    sourceBucketArn String
    The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
    startupScriptS3ObjectVersion String
    The 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
    The 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
    The status of the Amazon MWAA Environment
    tags Map<String,String>
    A map of resource tags to associate with the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    webserverAccessMode String
    Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY (default) and PUBLIC_ONLY.
    webserverUrl String
    The webserver URL of the MWAA Environment
    webserverVpcEndpointService String
    The VPC endpoint for the environment's web server
    weeklyMaintenanceWindowStart String
    Specifies the start date for the weekly maintenance window.
    airflowConfigurationOptions {[key: string]: string}
    The airflow_configuration_options parameter specifies 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
    The ARN of the MWAA Environment
    createdAt string
    The Created At date of the MWAA Environment
    dagS3Path string
    The 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
    The VPC endpoint for the environment's Amazon RDS database

    • logging_configuration[0].<LOG_CONFIGURATION_TYPE>[0].cloud_watch_log_group_arn - Provides the ARN for the CloudWatch group where the logs will be published
    endpointManagement string
    environmentClass string
    Environment class for the cluster. Possible options are 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
    The Amazon Resource Name (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
    The Amazon Resource Name (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[]
    loggingConfiguration EnvironmentLoggingConfiguration
    The Apache Airflow logs you want to send to Amazon CloudWatch Logs.
    maxWebservers number
    maxWorkers number
    The 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
    minWorkers number
    The minimum number of workers that you want to run in your environment. Will be 1 by default.
    name string
    The name of the Apache Airflow Environment
    networkConfiguration EnvironmentNetworkConfiguration
    Specifies the 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 Network configuration below for details.
    pluginsS3ObjectVersion string
    The plugins.zip file version you want to use.
    pluginsS3Path string
    The 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 plugins_s3_object_version is required. For more information, see Importing DAGs on Amazon MWAA.
    requirementsS3ObjectVersion string
    The requirements.txt file version you want to use.
    requirementsS3Path string
    The 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 requirements_s3_object_version is required. For more information, see Importing DAGs on Amazon MWAA.
    schedulers number
    The 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
    The Service Role ARN of the Amazon MWAA Environment
    sourceBucketArn string
    The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
    startupScriptS3ObjectVersion string
    The 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
    The 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
    The status of the Amazon MWAA Environment
    tags {[key: string]: string}
    A map of resource tags to associate with the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    webserverAccessMode string
    Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY (default) and PUBLIC_ONLY.
    webserverUrl string
    The webserver URL of the MWAA Environment
    webserverVpcEndpointService string
    The VPC endpoint for the environment's web server
    weeklyMaintenanceWindowStart string
    Specifies the start date for the weekly maintenance window.
    airflow_configuration_options Mapping[str, str]
    The airflow_configuration_options parameter specifies 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
    The ARN of the MWAA Environment
    created_at str
    The Created At date of the MWAA Environment
    dag_s3_path str
    The 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
    The VPC endpoint for the environment's Amazon RDS database

    • logging_configuration[0].<LOG_CONFIGURATION_TYPE>[0].cloud_watch_log_group_arn - Provides the ARN for the CloudWatch group where the logs will be published
    endpoint_management str
    environment_class str
    Environment class for the cluster. Possible options are 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
    The Amazon Resource Name (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
    The Amazon Resource Name (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]
    logging_configuration EnvironmentLoggingConfigurationArgs
    The Apache Airflow logs you want to send to Amazon CloudWatch Logs.
    max_webservers int
    max_workers int
    The 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
    min_workers int
    The minimum number of workers that you want to run in your environment. Will be 1 by default.
    name str
    The name of the Apache Airflow Environment
    network_configuration EnvironmentNetworkConfigurationArgs
    Specifies the 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 Network configuration below for details.
    plugins_s3_object_version str
    The plugins.zip file version you want to use.
    plugins_s3_path str
    The 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 plugins_s3_object_version is required. For more information, see Importing DAGs on Amazon MWAA.
    requirements_s3_object_version str
    The requirements.txt file version you want to use.
    requirements_s3_path str
    The 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 requirements_s3_object_version is required. For more information, see Importing DAGs on Amazon MWAA.
    schedulers int
    The 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
    The Service Role ARN of the Amazon MWAA Environment
    source_bucket_arn str
    The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
    startup_script_s3_object_version str
    The 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
    The 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
    The status of the Amazon MWAA Environment
    tags Mapping[str, str]
    A map of resource tags to associate with the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    webserver_access_mode str
    Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY (default) and PUBLIC_ONLY.
    webserver_url str
    The webserver URL of the MWAA Environment
    webserver_vpc_endpoint_service str
    The VPC endpoint for the environment's web server
    weekly_maintenance_window_start str
    Specifies the start date for the weekly maintenance window.
    airflowConfigurationOptions Map<String>
    The airflow_configuration_options parameter specifies 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
    The ARN of the MWAA Environment
    createdAt String
    The Created At date of the MWAA Environment
    dagS3Path String
    The 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
    The VPC endpoint for the environment's Amazon RDS database

    • logging_configuration[0].<LOG_CONFIGURATION_TYPE>[0].cloud_watch_log_group_arn - Provides the ARN for the CloudWatch group where the logs will be published
    endpointManagement String
    environmentClass String
    Environment class for the cluster. Possible options are 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
    The Amazon Resource Name (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
    The Amazon Resource Name (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>
    loggingConfiguration Property Map
    The Apache Airflow logs you want to send to Amazon CloudWatch Logs.
    maxWebservers Number
    maxWorkers Number
    The 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
    minWorkers Number
    The minimum number of workers that you want to run in your environment. Will be 1 by default.
    name String
    The name of the Apache Airflow Environment
    networkConfiguration Property Map
    Specifies the 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 Network configuration below for details.
    pluginsS3ObjectVersion String
    The plugins.zip file version you want to use.
    pluginsS3Path String
    The 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 plugins_s3_object_version is required. For more information, see Importing DAGs on Amazon MWAA.
    requirementsS3ObjectVersion String
    The requirements.txt file version you want to use.
    requirementsS3Path String
    The 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 requirements_s3_object_version is required. For more information, see Importing DAGs on Amazon MWAA.
    schedulers Number
    The 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
    The Service Role ARN of the Amazon MWAA Environment
    sourceBucketArn String
    The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
    startupScriptS3ObjectVersion String
    The 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
    The 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
    The status of the Amazon MWAA Environment
    tags Map<String>
    A map of resource tags to associate with the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    webserverAccessMode String
    Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY (default) and PUBLIC_ONLY.
    webserverUrl String
    The webserver URL of the MWAA Environment
    webserverVpcEndpointService String
    The VPC endpoint for the environment's web server
    weeklyMaintenanceWindowStart String
    Specifies the start date for the weekly maintenance window.

    Supporting Types

    EnvironmentLastUpdated, EnvironmentLastUpdatedArgs

    CreatedAt string
    The Created At date of the MWAA Environment
    Errors List<EnvironmentLastUpdatedError>
    Status string
    The status of the Amazon MWAA Environment
    CreatedAt string
    The Created At date of the MWAA Environment
    Errors []EnvironmentLastUpdatedError
    Status string
    The status of the Amazon MWAA Environment
    createdAt String
    The Created At date of the MWAA Environment
    errors List<EnvironmentLastUpdatedError>
    status String
    The status of the Amazon MWAA Environment
    createdAt string
    The Created At date of the MWAA Environment
    errors EnvironmentLastUpdatedError[]
    status string
    The status of the Amazon MWAA Environment
    created_at str
    The Created At date of the MWAA Environment
    errors Sequence[EnvironmentLastUpdatedError]
    status str
    The status of the Amazon MWAA Environment
    createdAt String
    The Created At date of the MWAA Environment
    errors List<Property Map>
    status String
    The status of the Amazon MWAA Environment

    EnvironmentLastUpdatedError, EnvironmentLastUpdatedErrorArgs

    ErrorCode string
    ErrorMessage string
    ErrorCode string
    ErrorMessage string
    errorCode String
    errorMessage String
    errorCode string
    errorMessage string
    errorCode String
    errorMessage String

    EnvironmentLoggingConfiguration, EnvironmentLoggingConfigurationArgs

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

    EnvironmentLoggingConfigurationDagProcessingLogs, EnvironmentLoggingConfigurationDagProcessingLogsArgs

    EnvironmentLoggingConfigurationSchedulerLogs, EnvironmentLoggingConfigurationSchedulerLogsArgs

    EnvironmentLoggingConfigurationTaskLogs, EnvironmentLoggingConfigurationTaskLogsArgs

    EnvironmentLoggingConfigurationWebserverLogs, EnvironmentLoggingConfigurationWebserverLogsArgs

    EnvironmentLoggingConfigurationWorkerLogs, EnvironmentLoggingConfigurationWorkerLogsArgs

    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>
    The 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
    The 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>
    The 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[]
    The 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]
    The 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>
    The 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

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi