Environment

Creates a MWAA Environment resource.

Example Usage

Basic Usage

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 = aws_iam_role.Example.Arn,
        NetworkConfiguration = new Aws.Mwaa.Inputs.EnvironmentNetworkConfigurationArgs
        {
            SecurityGroupIds = new[]
            {
                aws_security_group.Example.Id,
            },
            SubnetIds = aws_subnet.Private.Select(__item => __item.Id).ToList(),
        },
        SourceBucketArn = aws_s3_bucket.Example.Arn,
    });

});

Coming soon!

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(aws_iam_role.example().arn())
            .networkConfiguration(EnvironmentNetworkConfigurationArgs.builder()
                .securityGroupIds(aws_security_group.example().id())
                .subnetIds(aws_subnet.private().stream().map(element -> element.id()).collect(toList()))
                .build())
            .sourceBucketArn(aws_s3_bucket.example().arn())
            .build());

    }
}
import pulumi
import pulumi_aws as aws

example = aws.mwaa.Environment("example",
    dag_s3_path="dags/",
    execution_role_arn=aws_iam_role["example"]["arn"],
    network_configuration=aws.mwaa.EnvironmentNetworkConfigurationArgs(
        security_group_ids=[aws_security_group["example"]["id"]],
        subnet_ids=[__item["id"] for __item in aws_subnet["private"]],
    ),
    source_bucket_arn=aws_s3_bucket["example"]["arn"])
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.mwaa.Environment("example", {
    dagS3Path: "dags/",
    executionRoleArn: aws_iam_role.example.arn,
    networkConfiguration: {
        securityGroupIds: [aws_security_group.example.id],
        subnetIds: aws_subnet["private"].map(__item => __item.id),
    },
    sourceBucketArn: aws_s3_bucket.example.arn,
});

Coming soon!

Example with Airflow configuration options

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 = aws_iam_role.Example.Arn,
        NetworkConfiguration = new Aws.Mwaa.Inputs.EnvironmentNetworkConfigurationArgs
        {
            SecurityGroupIds = new[]
            {
                aws_security_group.Example.Id,
            },
            SubnetIds = aws_subnet.Private.Select(__item => __item.Id).ToList(),
        },
        SourceBucketArn = aws_s3_bucket.Example.Arn,
    });

});

Coming soon!

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(aws_iam_role.example().arn())
            .networkConfiguration(EnvironmentNetworkConfigurationArgs.builder()
                .securityGroupIds(aws_security_group.example().id())
                .subnetIds(aws_subnet.private().stream().map(element -> element.id()).collect(toList()))
                .build())
            .sourceBucketArn(aws_s3_bucket.example().arn())
            .build());

    }
}
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=aws_iam_role["example"]["arn"],
    network_configuration=aws.mwaa.EnvironmentNetworkConfigurationArgs(
        security_group_ids=[aws_security_group["example"]["id"]],
        subnet_ids=[__item["id"] for __item in aws_subnet["private"]],
    ),
    source_bucket_arn=aws_s3_bucket["example"]["arn"])
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: aws_iam_role.example.arn,
    networkConfiguration: {
        securityGroupIds: [aws_security_group.example.id],
        subnetIds: aws_subnet["private"].map(__item => __item.id),
    },
    sourceBucketArn: aws_s3_bucket.example.arn,
});

Coming soon!

Example with logging configurations

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 = aws_iam_role.Example.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",
            },
        },
        NetworkConfiguration = new Aws.Mwaa.Inputs.EnvironmentNetworkConfigurationArgs
        {
            SecurityGroupIds = new[]
            {
                aws_security_group.Example.Id,
            },
            SubnetIds = aws_subnet.Private.Select(__item => __item.Id).ToList(),
        },
        SourceBucketArn = aws_s3_bucket.Example.Arn,
    });

});

Coming soon!

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(aws_iam_role.example().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())
            .networkConfiguration(EnvironmentNetworkConfigurationArgs.builder()
                .securityGroupIds(aws_security_group.example().id())
                .subnetIds(aws_subnet.private().stream().map(element -> element.id()).collect(toList()))
                .build())
            .sourceBucketArn(aws_s3_bucket.example().arn())
            .build());

    }
}
import pulumi
import pulumi_aws as aws

example = aws.mwaa.Environment("example",
    dag_s3_path="dags/",
    execution_role_arn=aws_iam_role["example"]["arn"],
    logging_configuration=aws.mwaa.EnvironmentLoggingConfigurationArgs(
        dag_processing_logs=aws.mwaa.EnvironmentLoggingConfigurationDagProcessingLogsArgs(
            enabled=True,
            log_level="DEBUG",
        ),
        scheduler_logs=aws.mwaa.EnvironmentLoggingConfigurationSchedulerLogsArgs(
            enabled=True,
            log_level="INFO",
        ),
        task_logs=aws.mwaa.EnvironmentLoggingConfigurationTaskLogsArgs(
            enabled=True,
            log_level="WARNING",
        ),
        webserver_logs=aws.mwaa.EnvironmentLoggingConfigurationWebserverLogsArgs(
            enabled=True,
            log_level="ERROR",
        ),
        worker_logs=aws.mwaa.EnvironmentLoggingConfigurationWorkerLogsArgs(
            enabled=True,
            log_level="CRITICAL",
        ),
    ),
    network_configuration=aws.mwaa.EnvironmentNetworkConfigurationArgs(
        security_group_ids=[aws_security_group["example"]["id"]],
        subnet_ids=[__item["id"] for __item in aws_subnet["private"]],
    ),
    source_bucket_arn=aws_s3_bucket["example"]["arn"])
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.mwaa.Environment("example", {
    dagS3Path: "dags/",
    executionRoleArn: aws_iam_role.example.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",
        },
    },
    networkConfiguration: {
        securityGroupIds: [aws_security_group.example.id],
        subnetIds: aws_subnet["private"].map(__item => __item.id),
    },
    sourceBucketArn: aws_s3_bucket.example.arn,
});

Coming soon!

Example with tags

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 = aws_iam_role.Example.Arn,
        NetworkConfiguration = new Aws.Mwaa.Inputs.EnvironmentNetworkConfigurationArgs
        {
            SecurityGroupIds = new[]
            {
                aws_security_group.Example.Id,
            },
            SubnetIds = aws_subnet.Private.Select(__item => __item.Id).ToList(),
        },
        SourceBucketArn = aws_s3_bucket.Example.Arn,
        Tags = 
        {
            { "Name", "example" },
            { "Environment", "production" },
        },
    });

});

Coming soon!

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(aws_iam_role.example().arn())
            .networkConfiguration(EnvironmentNetworkConfigurationArgs.builder()
                .securityGroupIds(aws_security_group.example().id())
                .subnetIds(aws_subnet.private().stream().map(element -> element.id()).collect(toList()))
                .build())
            .sourceBucketArn(aws_s3_bucket.example().arn())
            .tags(Map.ofEntries(
                Map.entry("Name", "example"),
                Map.entry("Environment", "production")
            ))
            .build());

    }
}
import pulumi
import pulumi_aws as aws

example = aws.mwaa.Environment("example",
    dag_s3_path="dags/",
    execution_role_arn=aws_iam_role["example"]["arn"],
    network_configuration=aws.mwaa.EnvironmentNetworkConfigurationArgs(
        security_group_ids=[aws_security_group["example"]["id"]],
        subnet_ids=[__item["id"] for __item in aws_subnet["private"]],
    ),
    source_bucket_arn=aws_s3_bucket["example"]["arn"],
    tags={
        "Name": "example",
        "Environment": "production",
    })
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.mwaa.Environment("example", {
    dagS3Path: "dags/",
    executionRoleArn: aws_iam_role.example.arn,
    networkConfiguration: {
        securityGroupIds: [aws_security_group.example.id],
        subnetIds: aws_subnet["private"].map(__item => __item.id),
    },
    sourceBucketArn: aws_s3_bucket.example.arn,
    tags: {
        Name: "example",
        Environment: "production",
    },
});

Coming soon!

Create Environment Resource

new Environment(name: string, args: EnvironmentArgs, opts?: CustomResourceOptions);
@overload
def Environment(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                airflow_configuration_options: Optional[Mapping[str, str]] = None,
                airflow_version: Optional[str] = None,
                dag_s3_path: Optional[str] = None,
                environment_class: Optional[str] = None,
                execution_role_arn: Optional[str] = None,
                kms_key: Optional[str] = None,
                logging_configuration: Optional[EnvironmentLoggingConfigurationArgs] = None,
                max_workers: 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,
                source_bucket_arn: Optional[str] = None,
                tags: Optional[Mapping[str, str]] = None,
                webserver_access_mode: Optional[str] = None,
                weekly_maintenance_window_start: Optional[str] = None)
@overload
def Environment(resource_name: str,
                args: EnvironmentArgs,
                opts: Optional[ResourceOptions] = 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.

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.

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 Pulumi.Aws.Mwaa.Inputs.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 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.

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 Pulumi.Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationArgs

The Apache Airflow logs you want to send to Amazon CloudWatch Logs.

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.

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.

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.

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.

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.

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.

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

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.

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.

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.

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 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 {[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.

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.

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.

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.

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.

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_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_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.

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.

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.

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.

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.

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

  • 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<Pulumi.Aws.Mwaa.Outputs.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.

WebserverUrl string

The webserver URL of the MWAA Environment

Arn string

The ARN of the MWAA Environment

CreatedAt string

The Created At date of the MWAA Environment

  • 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.

WebserverUrl string

The webserver URL of the MWAA Environment

arn String

The ARN of the MWAA Environment

createdAt String

The Created At date of the MWAA Environment

  • 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.

webserverUrl String

The webserver URL of the MWAA Environment

arn string

The ARN of the MWAA Environment

createdAt string

The Created At date of the MWAA Environment

  • 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.

webserverUrl string

The webserver URL of the MWAA Environment

arn str

The ARN of the MWAA Environment

created_at str

The Created At date of the MWAA Environment

  • 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.

webserver_url str

The webserver URL of the MWAA Environment

arn String

The ARN of the MWAA Environment

createdAt String

The Created At date of the MWAA Environment

  • 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.

webserverUrl String

The webserver URL of the MWAA Environment

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,
        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_workers: 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,
        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,
        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

  • 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
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.

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<Pulumi.Aws.Mwaa.Inputs.EnvironmentLastUpdatedArgs>
LoggingConfiguration Pulumi.Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationArgs

The Apache Airflow logs you want to send to Amazon CloudWatch Logs.

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.

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 Pulumi.Aws.Mwaa.Inputs.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.

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.

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

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

  • 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
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.

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.

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.

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.

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.

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

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

  • 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
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.

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<EnvironmentLastUpdatedArgs>
loggingConfiguration EnvironmentLoggingConfigurationArgs

The Apache Airflow logs you want to send to Amazon CloudWatch Logs.

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.

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

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.

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

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

  • 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
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.

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.

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.

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

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.

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

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

  • 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
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.

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_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_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.

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.

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

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

  • 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
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.

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.

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.

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.

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.

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

weeklyMaintenanceWindowStart String

Specifies the start date for the weekly maintenance window.

Supporting Types

EnvironmentLastUpdated

CreatedAt string

The Created At date of the MWAA Environment

  • 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
Errors List<Pulumi.Aws.Mwaa.Inputs.EnvironmentLastUpdatedError>
Status string

The status of the Amazon MWAA Environment

CreatedAt string

The Created At date of the MWAA Environment

  • 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
Errors []EnvironmentLastUpdatedError
Status string

The status of the Amazon MWAA Environment

createdAt String

The Created At date of the MWAA Environment

  • 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
errors List<EnvironmentLastUpdatedError>
status String

The status of the Amazon MWAA Environment

createdAt string

The Created At date of the MWAA Environment

  • 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
errors EnvironmentLastUpdatedError[]
status string

The status of the Amazon MWAA Environment

created_at str

The Created At date of the MWAA Environment

  • 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
errors Sequence[EnvironmentLastUpdatedError]
status str

The status of the Amazon MWAA Environment

createdAt String

The Created At date of the MWAA Environment

  • 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
errors List<Property Map>
status String

The status of the Amazon MWAA Environment

EnvironmentLastUpdatedError

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

EnvironmentLoggingConfiguration

DagProcessingLogs Pulumi.Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationDagProcessingLogs

(Optional) Log configuration options for processing DAGs. See Module logging configuration for more information. Disabled by default.

SchedulerLogs Pulumi.Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationSchedulerLogs

Log configuration options for the schedulers. See Module logging configuration for more information. Disabled by default.

TaskLogs Pulumi.Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationTaskLogs

Log configuration options for DAG tasks. See Module logging configuration for more information. Enabled by default with INFO log level.

WebserverLogs Pulumi.Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationWebserverLogs

Log configuration options for the webservers. See Module logging configuration for more information. Disabled by default.

WorkerLogs Pulumi.Aws.Mwaa.Inputs.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

CloudWatchLogGroupArn string
Enabled bool

Enabling or disabling the collection of logs

LogLevel string

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

CloudWatchLogGroupArn string
Enabled bool

Enabling or disabling the collection of logs

LogLevel string

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

cloudWatchLogGroupArn String
enabled Boolean

Enabling or disabling the collection of logs

logLevel String

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

cloudWatchLogGroupArn string
enabled boolean

Enabling or disabling the collection of logs

logLevel string

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

cloud_watch_log_group_arn str
enabled bool

Enabling or disabling the collection of logs

log_level str

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

cloudWatchLogGroupArn String
enabled Boolean

Enabling or disabling the collection of logs

logLevel String

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

EnvironmentLoggingConfigurationSchedulerLogs

CloudWatchLogGroupArn string
Enabled bool

Enabling or disabling the collection of logs

LogLevel string

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

CloudWatchLogGroupArn string
Enabled bool

Enabling or disabling the collection of logs

LogLevel string

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

cloudWatchLogGroupArn String
enabled Boolean

Enabling or disabling the collection of logs

logLevel String

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

cloudWatchLogGroupArn string
enabled boolean

Enabling or disabling the collection of logs

logLevel string

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

cloud_watch_log_group_arn str
enabled bool

Enabling or disabling the collection of logs

log_level str

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

cloudWatchLogGroupArn String
enabled Boolean

Enabling or disabling the collection of logs

logLevel String

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

EnvironmentLoggingConfigurationTaskLogs

CloudWatchLogGroupArn string
Enabled bool

Enabling or disabling the collection of logs

LogLevel string

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

CloudWatchLogGroupArn string
Enabled bool

Enabling or disabling the collection of logs

LogLevel string

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

cloudWatchLogGroupArn String
enabled Boolean

Enabling or disabling the collection of logs

logLevel String

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

cloudWatchLogGroupArn string
enabled boolean

Enabling or disabling the collection of logs

logLevel string

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

cloud_watch_log_group_arn str
enabled bool

Enabling or disabling the collection of logs

log_level str

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

cloudWatchLogGroupArn String
enabled Boolean

Enabling or disabling the collection of logs

logLevel String

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

EnvironmentLoggingConfigurationWebserverLogs

CloudWatchLogGroupArn string
Enabled bool

Enabling or disabling the collection of logs

LogLevel string

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

CloudWatchLogGroupArn string
Enabled bool

Enabling or disabling the collection of logs

LogLevel string

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

cloudWatchLogGroupArn String
enabled Boolean

Enabling or disabling the collection of logs

logLevel String

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

cloudWatchLogGroupArn string
enabled boolean

Enabling or disabling the collection of logs

logLevel string

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

cloud_watch_log_group_arn str
enabled bool

Enabling or disabling the collection of logs

log_level str

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

cloudWatchLogGroupArn String
enabled Boolean

Enabling or disabling the collection of logs

logLevel String

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

EnvironmentLoggingConfigurationWorkerLogs

CloudWatchLogGroupArn string
Enabled bool

Enabling or disabling the collection of logs

LogLevel string

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

CloudWatchLogGroupArn string
Enabled bool

Enabling or disabling the collection of logs

LogLevel string

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

cloudWatchLogGroupArn String
enabled Boolean

Enabling or disabling the collection of logs

logLevel String

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

cloudWatchLogGroupArn string
enabled boolean

Enabling or disabling the collection of logs

logLevel string

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

cloud_watch_log_group_arn str
enabled bool

Enabling or disabling the collection of logs

log_level str

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

cloudWatchLogGroupArn String
enabled Boolean

Enabling or disabling the collection of logs

logLevel String

Logging level. Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG. Will be INFO by default.

EnvironmentNetworkConfiguration

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

MWAA Environment can be imported using Name e.g.,

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

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.