aws.mwaa.Environment
Explore with Pulumi AI
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={
        "security_group_ids": [example_aws_security_group["id"]],
        "subnet_ids": [__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: []pulumi.String(%!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={
        "security_group_ids": [example_aws_security_group["id"]],
        "subnet_ids": [__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: []pulumi.String(%!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={
        "dag_processing_logs": {
            "enabled": True,
            "log_level": "DEBUG",
        },
        "scheduler_logs": {
            "enabled": True,
            "log_level": "INFO",
        },
        "task_logs": {
            "enabled": True,
            "log_level": "WARNING",
        },
        "webserver_logs": {
            "enabled": True,
            "log_level": "ERROR",
        },
        "worker_logs": {
            "enabled": True,
            "log_level": "CRITICAL",
        },
    },
    name="example",
    network_configuration={
        "security_group_ids": [example_aws_security_group["id"]],
        "subnet_ids": [__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: []pulumi.String(%!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={
        "security_group_ids": [example_aws_security_group["id"]],
        "subnet_ids": [__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: []pulumi.String(%!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={
        "security_group_ids": ["string"],
        "subnet_ids": ["string"],
    },
    name="string",
    plugins_s3_path="string",
    kms_key="string",
    logging_configuration={
        "dag_processing_logs": {
            "cloud_watch_log_group_arn": "string",
            "enabled": False,
            "log_level": "string",
        },
        "scheduler_logs": {
            "cloud_watch_log_group_arn": "string",
            "enabled": False,
            "log_level": "string",
        },
        "task_logs": {
            "cloud_watch_log_group_arn": "string",
            "enabled": False,
            "log_level": "string",
        },
        "webserver_logs": {
            "cloud_watch_log_group_arn": "string",
            "enabled": False,
            "log_level": "string",
        },
        "worker_logs": {
            "cloud_watch_log_group_arn": "string",
            "enabled": False,
            "log_level": "string",
        },
    },
    max_webservers=0,
    max_workers=0,
    min_webservers=0,
    min_workers=0,
    airflow_configuration_options={
        "string": "string",
    },
    endpoint_management="string",
    plugins_s3_object_version="string",
    environment_class="string",
    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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Environment resource accepts the following input properties:
- DagS3Path string
- 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.
- ExecutionRole stringArn 
- 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 EnvironmentNetwork Configuration 
- 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_configurationBlock for details.
- SourceBucket stringArn 
- The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
- AirflowConfiguration Dictionary<string, string>Options 
- The airflow_configuration_optionsparameter 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
- Defines whether the VPC endpoints configured for the environment are created and managed by the customer or by AWS. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set toCUSTOMER, you must create, and manage, the VPC endpoints for your VPC. Defaults toSERVICEif not set.
- EnvironmentClass string
- Environment class for the cluster. Possible options are mw1.small,mw1.medium,mw1.large. Will be set by default tomw1.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/airflowby default. Please check the Official Documentation for more information.
- LoggingConfiguration EnvironmentLogging Configuration 
- The Apache Airflow logs you want to send to Amazon CloudWatch Logs. See logging_configurationBlock for details.
- MaxWebservers int
- The maximum number of web servers that you want to run in your environment. Value need to be between 2and5. Will be2by default.
- MaxWorkers int
- The maximum number of workers that can be automatically scaled up. Value need to be between 1and25. Will be10by default.
- MinWebservers int
- The minimum number of web servers that you want to run in your environment. Value need to be between 2and5. Will be2by default.
- MinWorkers int
- The minimum number of workers that you want to run in your environment. Will be 1by default.
- Name string
- The name of the Apache Airflow Environment
- PluginsS3Object stringVersion 
- 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.
- RequirementsS3Object stringVersion 
- 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, default2. v1.10.12 accepts1.
- StartupScript stringS3Object Version 
- 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.
- StartupScript stringS3Path 
- 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.
- Dictionary<string, string>
- A map of resource tags to associate with the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- WebserverAccess stringMode 
- Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY(default) andPUBLIC_ONLY.
- WeeklyMaintenance stringWindow Start 
- 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.
- ExecutionRole stringArn 
- 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 EnvironmentNetwork Configuration Args 
- 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_configurationBlock for details.
- SourceBucket stringArn 
- The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
- AirflowConfiguration map[string]stringOptions 
- The airflow_configuration_optionsparameter 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
- Defines whether the VPC endpoints configured for the environment are created and managed by the customer or by AWS. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set toCUSTOMER, you must create, and manage, the VPC endpoints for your VPC. Defaults toSERVICEif not set.
- EnvironmentClass string
- Environment class for the cluster. Possible options are mw1.small,mw1.medium,mw1.large. Will be set by default tomw1.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/airflowby default. Please check the Official Documentation for more information.
- LoggingConfiguration EnvironmentLogging Configuration Args 
- The Apache Airflow logs you want to send to Amazon CloudWatch Logs. See logging_configurationBlock for details.
- MaxWebservers int
- The maximum number of web servers that you want to run in your environment. Value need to be between 2and5. Will be2by default.
- MaxWorkers int
- The maximum number of workers that can be automatically scaled up. Value need to be between 1and25. Will be10by default.
- MinWebservers int
- The minimum number of web servers that you want to run in your environment. Value need to be between 2and5. Will be2by default.
- MinWorkers int
- The minimum number of workers that you want to run in your environment. Will be 1by default.
- Name string
- The name of the Apache Airflow Environment
- PluginsS3Object stringVersion 
- 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.
- RequirementsS3Object stringVersion 
- 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, default2. v1.10.12 accepts1.
- StartupScript stringS3Object Version 
- 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.
- StartupScript stringS3Path 
- 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.
- map[string]string
- A map of resource tags to associate with the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- WebserverAccess stringMode 
- Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY(default) andPUBLIC_ONLY.
- WeeklyMaintenance stringWindow Start 
- 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.
- executionRole StringArn 
- 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 EnvironmentNetwork Configuration 
- 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_configurationBlock for details.
- sourceBucket StringArn 
- The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
- airflowConfiguration Map<String,String>Options 
- The airflow_configuration_optionsparameter 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
- Defines whether the VPC endpoints configured for the environment are created and managed by the customer or by AWS. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set toCUSTOMER, you must create, and manage, the VPC endpoints for your VPC. Defaults toSERVICEif not set.
- environmentClass String
- Environment class for the cluster. Possible options are mw1.small,mw1.medium,mw1.large. Will be set by default tomw1.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/airflowby default. Please check the Official Documentation for more information.
- loggingConfiguration EnvironmentLogging Configuration 
- The Apache Airflow logs you want to send to Amazon CloudWatch Logs. See logging_configurationBlock for details.
- maxWebservers Integer
- The maximum number of web servers that you want to run in your environment. Value need to be between 2and5. Will be2by default.
- maxWorkers Integer
- The maximum number of workers that can be automatically scaled up. Value need to be between 1and25. Will be10by default.
- minWebservers Integer
- The minimum number of web servers that you want to run in your environment. Value need to be between 2and5. Will be2by default.
- minWorkers Integer
- The minimum number of workers that you want to run in your environment. Will be 1by default.
- name String
- The name of the Apache Airflow Environment
- pluginsS3Object StringVersion 
- 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.
- requirementsS3Object StringVersion 
- 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, default2. v1.10.12 accepts1.
- startupScript StringS3Object Version 
- 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.
- startupScript StringS3Path 
- 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.
- Map<String,String>
- A map of resource tags to associate with the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- webserverAccess StringMode 
- Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY(default) andPUBLIC_ONLY.
- weeklyMaintenance StringWindow Start 
- 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.
- executionRole stringArn 
- 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 EnvironmentNetwork Configuration 
- 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_configurationBlock for details.
- sourceBucket stringArn 
- The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
- airflowConfiguration {[key: string]: string}Options 
- The airflow_configuration_optionsparameter 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
- Defines whether the VPC endpoints configured for the environment are created and managed by the customer or by AWS. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set toCUSTOMER, you must create, and manage, the VPC endpoints for your VPC. Defaults toSERVICEif not set.
- environmentClass string
- Environment class for the cluster. Possible options are mw1.small,mw1.medium,mw1.large. Will be set by default tomw1.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/airflowby default. Please check the Official Documentation for more information.
- loggingConfiguration EnvironmentLogging Configuration 
- The Apache Airflow logs you want to send to Amazon CloudWatch Logs. See logging_configurationBlock for details.
- maxWebservers number
- The maximum number of web servers that you want to run in your environment. Value need to be between 2and5. Will be2by default.
- maxWorkers number
- The maximum number of workers that can be automatically scaled up. Value need to be between 1and25. Will be10by default.
- minWebservers number
- The minimum number of web servers that you want to run in your environment. Value need to be between 2and5. Will be2by default.
- minWorkers number
- The minimum number of workers that you want to run in your environment. Will be 1by default.
- name string
- The name of the Apache Airflow Environment
- pluginsS3Object stringVersion 
- 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.
- requirementsS3Object stringVersion 
- 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, default2. v1.10.12 accepts1.
- startupScript stringS3Object Version 
- 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.
- startupScript stringS3Path 
- 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.
- {[key: string]: string}
- A map of resource tags to associate with the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- webserverAccess stringMode 
- Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY(default) andPUBLIC_ONLY.
- weeklyMaintenance stringWindow Start 
- Specifies the start date for the weekly maintenance window.
- dag_s3_ strpath 
- 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_ strarn 
- 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 EnvironmentNetwork Configuration Args 
- 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_configurationBlock for details.
- source_bucket_ strarn 
- The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
- airflow_configuration_ Mapping[str, str]options 
- The airflow_configuration_optionsparameter 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
- Defines whether the VPC endpoints configured for the environment are created and managed by the customer or by AWS. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set toCUSTOMER, you must create, and manage, the VPC endpoints for your VPC. Defaults toSERVICEif not set.
- environment_class str
- Environment class for the cluster. Possible options are mw1.small,mw1.medium,mw1.large. Will be set by default tomw1.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/airflowby default. Please check the Official Documentation for more information.
- logging_configuration EnvironmentLogging Configuration Args 
- The Apache Airflow logs you want to send to Amazon CloudWatch Logs. See logging_configurationBlock for details.
- max_webservers int
- The maximum number of web servers that you want to run in your environment. Value need to be between 2and5. Will be2by default.
- max_workers int
- The maximum number of workers that can be automatically scaled up. Value need to be between 1and25. Will be10by default.
- min_webservers int
- The minimum number of web servers that you want to run in your environment. Value need to be between 2and5. Will be2by default.
- min_workers int
- The minimum number of workers that you want to run in your environment. Will be 1by default.
- name str
- The name of the Apache Airflow Environment
- plugins_s3_ strobject_ version 
- The plugins.zip file version you want to use.
- plugins_s3_ strpath 
- 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_ strobject_ version 
- The requirements.txt file version you want to use.
- requirements_s3_ strpath 
- 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, default2. v1.10.12 accepts1.
- startup_script_ strs3_ object_ version 
- 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_ strs3_ path 
- 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.
- Mapping[str, str]
- A map of resource tags to associate with the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- webserver_access_ strmode 
- Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY(default) andPUBLIC_ONLY.
- weekly_maintenance_ strwindow_ start 
- 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.
- executionRole StringArn 
- 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_configurationBlock for details.
- sourceBucket StringArn 
- The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
- airflowConfiguration Map<String>Options 
- The airflow_configuration_optionsparameter 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
- Defines whether the VPC endpoints configured for the environment are created and managed by the customer or by AWS. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set toCUSTOMER, you must create, and manage, the VPC endpoints for your VPC. Defaults toSERVICEif not set.
- environmentClass String
- Environment class for the cluster. Possible options are mw1.small,mw1.medium,mw1.large. Will be set by default tomw1.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/airflowby default. Please check the Official Documentation for more information.
- loggingConfiguration Property Map
- The Apache Airflow logs you want to send to Amazon CloudWatch Logs. See logging_configurationBlock for details.
- maxWebservers Number
- The maximum number of web servers that you want to run in your environment. Value need to be between 2and5. Will be2by default.
- maxWorkers Number
- The maximum number of workers that can be automatically scaled up. Value need to be between 1and25. Will be10by default.
- minWebservers Number
- The minimum number of web servers that you want to run in your environment. Value need to be between 2and5. Will be2by default.
- minWorkers Number
- The minimum number of workers that you want to run in your environment. Will be 1by default.
- name String
- The name of the Apache Airflow Environment
- pluginsS3Object StringVersion 
- 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.
- requirementsS3Object StringVersion 
- 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, default2. v1.10.12 accepts1.
- startupScript StringS3Object Version 
- 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.
- startupScript StringS3Path 
- 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.
- Map<String>
- A map of resource tags to associate with the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- webserverAccess StringMode 
- Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY(default) andPUBLIC_ONLY.
- weeklyMaintenance StringWindow Start 
- 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
- DatabaseVpc stringEndpoint Service 
- 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<EnvironmentLast Updated> 
- ServiceRole stringArn 
- The Service Role ARN of the Amazon MWAA Environment
- Status string
- The status of the Amazon MWAA Environment
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- WebserverUrl string
- The webserver URL of the MWAA Environment
- WebserverVpc stringEndpoint Service 
- 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
- DatabaseVpc stringEndpoint Service 
- 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 []EnvironmentLast Updated 
- ServiceRole stringArn 
- The Service Role ARN of the Amazon MWAA Environment
- Status string
- The status of the Amazon MWAA Environment
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- WebserverUrl string
- The webserver URL of the MWAA Environment
- WebserverVpc stringEndpoint Service 
- 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
- databaseVpc StringEndpoint Service 
- 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<EnvironmentLast Updated> 
- serviceRole StringArn 
- The Service Role ARN of the Amazon MWAA Environment
- status String
- The status of the Amazon MWAA Environment
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- webserverUrl String
- The webserver URL of the MWAA Environment
- webserverVpc StringEndpoint Service 
- 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
- databaseVpc stringEndpoint Service 
- 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 EnvironmentLast Updated[] 
- serviceRole stringArn 
- The Service Role ARN of the Amazon MWAA Environment
- status string
- The status of the Amazon MWAA Environment
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- webserverUrl string
- The webserver URL of the MWAA Environment
- webserverVpc stringEndpoint Service 
- 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_ strendpoint_ service 
- 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[EnvironmentLast Updated] 
- service_role_ strarn 
- The Service Role ARN of the Amazon MWAA Environment
- status str
- The status of the Amazon MWAA Environment
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- webserver_url str
- The webserver URL of the MWAA Environment
- webserver_vpc_ strendpoint_ service 
- 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
- databaseVpc StringEndpoint Service 
- 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>
- serviceRole StringArn 
- The Service Role ARN of the Amazon MWAA Environment
- status String
- The status of the Amazon MWAA Environment
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- webserverUrl String
- The webserver URL of the MWAA Environment
- webserverVpc StringEndpoint Service 
- 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) -> Environmentfunc GetEnvironment(ctx *Context, name string, id IDInput, state *EnvironmentState, opts ...ResourceOption) (*Environment, error)public static Environment Get(string name, Input<string> id, EnvironmentState? state, CustomResourceOptions? opts = null)public static Environment get(String name, Output<String> id, EnvironmentState state, CustomResourceOptions options)resources:  _:    type: aws:mwaa:Environment    get:      id: ${id}- 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.
- AirflowConfiguration Dictionary<string, string>Options 
- The airflow_configuration_optionsparameter 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.
- DatabaseVpc stringEndpoint Service 
- 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
- Defines whether the VPC endpoints configured for the environment are created and managed by the customer or by AWS. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set toCUSTOMER, you must create, and manage, the VPC endpoints for your VPC. Defaults toSERVICEif not set.
- EnvironmentClass string
- Environment class for the cluster. Possible options are mw1.small,mw1.medium,mw1.large. Will be set by default tomw1.small. Please check the AWS Pricing for more information about the environment classes.
- ExecutionRole stringArn 
- 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/airflowby default. Please check the Official Documentation for more information.
- LastUpdateds List<EnvironmentLast Updated> 
- LoggingConfiguration EnvironmentLogging Configuration 
- The Apache Airflow logs you want to send to Amazon CloudWatch Logs. See logging_configurationBlock for details.
- MaxWebservers int
- The maximum number of web servers that you want to run in your environment. Value need to be between 2and5. Will be2by default.
- MaxWorkers int
- The maximum number of workers that can be automatically scaled up. Value need to be between 1and25. Will be10by default.
- MinWebservers int
- The minimum number of web servers that you want to run in your environment. Value need to be between 2and5. Will be2by default.
- MinWorkers int
- The minimum number of workers that you want to run in your environment. Will be 1by default.
- Name string
- The name of the Apache Airflow Environment
- NetworkConfiguration EnvironmentNetwork Configuration 
- 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_configurationBlock for details.
- PluginsS3Object stringVersion 
- 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.
- RequirementsS3Object stringVersion 
- 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, default2. v1.10.12 accepts1.
- ServiceRole stringArn 
- The Service Role ARN of the Amazon MWAA Environment
- SourceBucket stringArn 
- The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
- StartupScript stringS3Object Version 
- 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.
- StartupScript stringS3Path 
- 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
- Dictionary<string, string>
- A map of resource tags to associate with the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- WebserverAccess stringMode 
- Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY(default) andPUBLIC_ONLY.
- WebserverUrl string
- The webserver URL of the MWAA Environment
- WebserverVpc stringEndpoint Service 
- The VPC endpoint for the environment's web server
- WeeklyMaintenance stringWindow Start 
- Specifies the start date for the weekly maintenance window.
- AirflowConfiguration map[string]stringOptions 
- The airflow_configuration_optionsparameter 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.
- DatabaseVpc stringEndpoint Service 
- 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
- Defines whether the VPC endpoints configured for the environment are created and managed by the customer or by AWS. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set toCUSTOMER, you must create, and manage, the VPC endpoints for your VPC. Defaults toSERVICEif not set.
- EnvironmentClass string
- Environment class for the cluster. Possible options are mw1.small,mw1.medium,mw1.large. Will be set by default tomw1.small. Please check the AWS Pricing for more information about the environment classes.
- ExecutionRole stringArn 
- 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/airflowby default. Please check the Official Documentation for more information.
- LastUpdateds []EnvironmentLast Updated Args 
- LoggingConfiguration EnvironmentLogging Configuration Args 
- The Apache Airflow logs you want to send to Amazon CloudWatch Logs. See logging_configurationBlock for details.
- MaxWebservers int
- The maximum number of web servers that you want to run in your environment. Value need to be between 2and5. Will be2by default.
- MaxWorkers int
- The maximum number of workers that can be automatically scaled up. Value need to be between 1and25. Will be10by default.
- MinWebservers int
- The minimum number of web servers that you want to run in your environment. Value need to be between 2and5. Will be2by default.
- MinWorkers int
- The minimum number of workers that you want to run in your environment. Will be 1by default.
- Name string
- The name of the Apache Airflow Environment
- NetworkConfiguration EnvironmentNetwork Configuration Args 
- 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_configurationBlock for details.
- PluginsS3Object stringVersion 
- 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.
- RequirementsS3Object stringVersion 
- 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, default2. v1.10.12 accepts1.
- ServiceRole stringArn 
- The Service Role ARN of the Amazon MWAA Environment
- SourceBucket stringArn 
- The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
- StartupScript stringS3Object Version 
- 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.
- StartupScript stringS3Path 
- 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
- map[string]string
- A map of resource tags to associate with the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- WebserverAccess stringMode 
- Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY(default) andPUBLIC_ONLY.
- WebserverUrl string
- The webserver URL of the MWAA Environment
- WebserverVpc stringEndpoint Service 
- The VPC endpoint for the environment's web server
- WeeklyMaintenance stringWindow Start 
- Specifies the start date for the weekly maintenance window.
- airflowConfiguration Map<String,String>Options 
- The airflow_configuration_optionsparameter 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.
- databaseVpc StringEndpoint Service 
- 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
- Defines whether the VPC endpoints configured for the environment are created and managed by the customer or by AWS. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set toCUSTOMER, you must create, and manage, the VPC endpoints for your VPC. Defaults toSERVICEif not set.
- environmentClass String
- Environment class for the cluster. Possible options are mw1.small,mw1.medium,mw1.large. Will be set by default tomw1.small. Please check the AWS Pricing for more information about the environment classes.
- executionRole StringArn 
- 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/airflowby default. Please check the Official Documentation for more information.
- lastUpdateds List<EnvironmentLast Updated> 
- loggingConfiguration EnvironmentLogging Configuration 
- The Apache Airflow logs you want to send to Amazon CloudWatch Logs. See logging_configurationBlock for details.
- maxWebservers Integer
- The maximum number of web servers that you want to run in your environment. Value need to be between 2and5. Will be2by default.
- maxWorkers Integer
- The maximum number of workers that can be automatically scaled up. Value need to be between 1and25. Will be10by default.
- minWebservers Integer
- The minimum number of web servers that you want to run in your environment. Value need to be between 2and5. Will be2by default.
- minWorkers Integer
- The minimum number of workers that you want to run in your environment. Will be 1by default.
- name String
- The name of the Apache Airflow Environment
- networkConfiguration EnvironmentNetwork Configuration 
- 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_configurationBlock for details.
- pluginsS3Object StringVersion 
- 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.
- requirementsS3Object StringVersion 
- 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, default2. v1.10.12 accepts1.
- serviceRole StringArn 
- The Service Role ARN of the Amazon MWAA Environment
- sourceBucket StringArn 
- The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
- startupScript StringS3Object Version 
- 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.
- startupScript StringS3Path 
- 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
- Map<String,String>
- A map of resource tags to associate with the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- webserverAccess StringMode 
- Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY(default) andPUBLIC_ONLY.
- webserverUrl String
- The webserver URL of the MWAA Environment
- webserverVpc StringEndpoint Service 
- The VPC endpoint for the environment's web server
- weeklyMaintenance StringWindow Start 
- Specifies the start date for the weekly maintenance window.
- airflowConfiguration {[key: string]: string}Options 
- The airflow_configuration_optionsparameter 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.
- databaseVpc stringEndpoint Service 
- 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
- Defines whether the VPC endpoints configured for the environment are created and managed by the customer or by AWS. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set toCUSTOMER, you must create, and manage, the VPC endpoints for your VPC. Defaults toSERVICEif not set.
- environmentClass string
- Environment class for the cluster. Possible options are mw1.small,mw1.medium,mw1.large. Will be set by default tomw1.small. Please check the AWS Pricing for more information about the environment classes.
- executionRole stringArn 
- 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/airflowby default. Please check the Official Documentation for more information.
- lastUpdateds EnvironmentLast Updated[] 
- loggingConfiguration EnvironmentLogging Configuration 
- The Apache Airflow logs you want to send to Amazon CloudWatch Logs. See logging_configurationBlock for details.
- maxWebservers number
- The maximum number of web servers that you want to run in your environment. Value need to be between 2and5. Will be2by default.
- maxWorkers number
- The maximum number of workers that can be automatically scaled up. Value need to be between 1and25. Will be10by default.
- minWebservers number
- The minimum number of web servers that you want to run in your environment. Value need to be between 2and5. Will be2by default.
- minWorkers number
- The minimum number of workers that you want to run in your environment. Will be 1by default.
- name string
- The name of the Apache Airflow Environment
- networkConfiguration EnvironmentNetwork Configuration 
- 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_configurationBlock for details.
- pluginsS3Object stringVersion 
- 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.
- requirementsS3Object stringVersion 
- 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, default2. v1.10.12 accepts1.
- serviceRole stringArn 
- The Service Role ARN of the Amazon MWAA Environment
- sourceBucket stringArn 
- The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
- startupScript stringS3Object Version 
- 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.
- startupScript stringS3Path 
- 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
- {[key: string]: string}
- A map of resource tags to associate with the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- webserverAccess stringMode 
- Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY(default) andPUBLIC_ONLY.
- webserverUrl string
- The webserver URL of the MWAA Environment
- webserverVpc stringEndpoint Service 
- The VPC endpoint for the environment's web server
- weeklyMaintenance stringWindow Start 
- Specifies the start date for the weekly maintenance window.
- airflow_configuration_ Mapping[str, str]options 
- The airflow_configuration_optionsparameter 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_ strpath 
- 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_ strendpoint_ service 
- 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
- Defines whether the VPC endpoints configured for the environment are created and managed by the customer or by AWS. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set toCUSTOMER, you must create, and manage, the VPC endpoints for your VPC. Defaults toSERVICEif not set.
- environment_class str
- Environment class for the cluster. Possible options are mw1.small,mw1.medium,mw1.large. Will be set by default tomw1.small. Please check the AWS Pricing for more information about the environment classes.
- execution_role_ strarn 
- 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/airflowby default. Please check the Official Documentation for more information.
- last_updateds Sequence[EnvironmentLast Updated Args] 
- logging_configuration EnvironmentLogging Configuration Args 
- The Apache Airflow logs you want to send to Amazon CloudWatch Logs. See logging_configurationBlock for details.
- max_webservers int
- The maximum number of web servers that you want to run in your environment. Value need to be between 2and5. Will be2by default.
- max_workers int
- The maximum number of workers that can be automatically scaled up. Value need to be between 1and25. Will be10by default.
- min_webservers int
- The minimum number of web servers that you want to run in your environment. Value need to be between 2and5. Will be2by default.
- min_workers int
- The minimum number of workers that you want to run in your environment. Will be 1by default.
- name str
- The name of the Apache Airflow Environment
- network_configuration EnvironmentNetwork Configuration Args 
- 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_configurationBlock for details.
- plugins_s3_ strobject_ version 
- The plugins.zip file version you want to use.
- plugins_s3_ strpath 
- 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_ strobject_ version 
- The requirements.txt file version you want to use.
- requirements_s3_ strpath 
- 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, default2. v1.10.12 accepts1.
- service_role_ strarn 
- The Service Role ARN of the Amazon MWAA Environment
- source_bucket_ strarn 
- The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
- startup_script_ strs3_ object_ version 
- 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_ strs3_ path 
- 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
- Mapping[str, str]
- A map of resource tags to associate with the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- webserver_access_ strmode 
- Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY(default) andPUBLIC_ONLY.
- webserver_url str
- The webserver URL of the MWAA Environment
- webserver_vpc_ strendpoint_ service 
- The VPC endpoint for the environment's web server
- weekly_maintenance_ strwindow_ start 
- Specifies the start date for the weekly maintenance window.
- airflowConfiguration Map<String>Options 
- The airflow_configuration_optionsparameter 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.
- databaseVpc StringEndpoint Service 
- 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
- Defines whether the VPC endpoints configured for the environment are created and managed by the customer or by AWS. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in your VPC. If set toCUSTOMER, you must create, and manage, the VPC endpoints for your VPC. Defaults toSERVICEif not set.
- environmentClass String
- Environment class for the cluster. Possible options are mw1.small,mw1.medium,mw1.large. Will be set by default tomw1.small. Please check the AWS Pricing for more information about the environment classes.
- executionRole StringArn 
- 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/airflowby 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. See logging_configurationBlock for details.
- maxWebservers Number
- The maximum number of web servers that you want to run in your environment. Value need to be between 2and5. Will be2by default.
- maxWorkers Number
- The maximum number of workers that can be automatically scaled up. Value need to be between 1and25. Will be10by default.
- minWebservers Number
- The minimum number of web servers that you want to run in your environment. Value need to be between 2and5. Will be2by default.
- minWorkers Number
- The minimum number of workers that you want to run in your environment. Will be 1by 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_configurationBlock for details.
- pluginsS3Object StringVersion 
- 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.
- requirementsS3Object StringVersion 
- 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, default2. v1.10.12 accepts1.
- serviceRole StringArn 
- The Service Role ARN of the Amazon MWAA Environment
- sourceBucket StringArn 
- The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
- startupScript StringS3Object Version 
- 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.
- startupScript StringS3Path 
- 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
- Map<String>
- A map of resource tags to associate with the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- webserverAccess StringMode 
- Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options: PRIVATE_ONLY(default) andPUBLIC_ONLY.
- webserverUrl String
- The webserver URL of the MWAA Environment
- webserverVpc StringEndpoint Service 
- The VPC endpoint for the environment's web server
- weeklyMaintenance StringWindow Start 
- 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<EnvironmentLast Updated Error> 
- Status string
- The status of the Amazon MWAA Environment
- CreatedAt string
- The Created At date of the MWAA Environment
- Errors
[]EnvironmentLast Updated Error 
- Status string
- The status of the Amazon MWAA Environment
- createdAt String
- The Created At date of the MWAA Environment
- errors
List<EnvironmentLast Updated Error> 
- status String
- The status of the Amazon MWAA Environment
- createdAt string
- The Created At date of the MWAA Environment
- errors
EnvironmentLast Updated Error[] 
- status string
- The status of the Amazon MWAA Environment
- created_at str
- The Created At date of the MWAA Environment
- errors
Sequence[EnvironmentLast Updated Error] 
- 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
- error_code str
- error_message str
- errorCode String
- errorMessage String
EnvironmentLoggingConfiguration, EnvironmentLoggingConfigurationArgs      
- DagProcessing EnvironmentLogs Logging Configuration Dag Processing Logs 
- (Optional) Log configuration options for processing DAGs. See Module logging configuration for more information. Disabled by default.
- SchedulerLogs EnvironmentLogging Configuration Scheduler Logs 
- Log configuration options for the schedulers. See Module logging configuration for more information. Disabled by default.
- TaskLogs EnvironmentLogging Configuration Task Logs 
- Log configuration options for DAG tasks. See Module logging configuration for more information. Enabled by default with INFOlog level.
- WebserverLogs EnvironmentLogging Configuration Webserver Logs 
- Log configuration options for the webservers. See Module logging configuration for more information. Disabled by default.
- WorkerLogs EnvironmentLogging Configuration Worker Logs 
- Log configuration options for the workers. See Module logging configuration for more information. Disabled by default.
- DagProcessing EnvironmentLogs Logging Configuration Dag Processing Logs 
- (Optional) Log configuration options for processing DAGs. See Module logging configuration for more information. Disabled by default.
- SchedulerLogs EnvironmentLogging Configuration Scheduler Logs 
- Log configuration options for the schedulers. See Module logging configuration for more information. Disabled by default.
- TaskLogs EnvironmentLogging Configuration Task Logs 
- Log configuration options for DAG tasks. See Module logging configuration for more information. Enabled by default with INFOlog level.
- WebserverLogs EnvironmentLogging Configuration Webserver Logs 
- Log configuration options for the webservers. See Module logging configuration for more information. Disabled by default.
- WorkerLogs EnvironmentLogging Configuration Worker Logs 
- Log configuration options for the workers. See Module logging configuration for more information. Disabled by default.
- dagProcessing EnvironmentLogs Logging Configuration Dag Processing Logs 
- (Optional) Log configuration options for processing DAGs. See Module logging configuration for more information. Disabled by default.
- schedulerLogs EnvironmentLogging Configuration Scheduler Logs 
- Log configuration options for the schedulers. See Module logging configuration for more information. Disabled by default.
- taskLogs EnvironmentLogging Configuration Task Logs 
- Log configuration options for DAG tasks. See Module logging configuration for more information. Enabled by default with INFOlog level.
- webserverLogs EnvironmentLogging Configuration Webserver Logs 
- Log configuration options for the webservers. See Module logging configuration for more information. Disabled by default.
- workerLogs EnvironmentLogging Configuration Worker Logs 
- Log configuration options for the workers. See Module logging configuration for more information. Disabled by default.
- dagProcessing EnvironmentLogs Logging Configuration Dag Processing Logs 
- (Optional) Log configuration options for processing DAGs. See Module logging configuration for more information. Disabled by default.
- schedulerLogs EnvironmentLogging Configuration Scheduler Logs 
- Log configuration options for the schedulers. See Module logging configuration for more information. Disabled by default.
- taskLogs EnvironmentLogging Configuration Task Logs 
- Log configuration options for DAG tasks. See Module logging configuration for more information. Enabled by default with INFOlog level.
- webserverLogs EnvironmentLogging Configuration Webserver Logs 
- Log configuration options for the webservers. See Module logging configuration for more information. Disabled by default.
- workerLogs EnvironmentLogging Configuration Worker Logs 
- Log configuration options for the workers. See Module logging configuration for more information. Disabled by default.
- dag_processing_ Environmentlogs Logging Configuration Dag Processing Logs 
- (Optional) Log configuration options for processing DAGs. See Module logging configuration for more information. Disabled by default.
- scheduler_logs EnvironmentLogging Configuration Scheduler Logs 
- Log configuration options for the schedulers. See Module logging configuration for more information. Disabled by default.
- task_logs EnvironmentLogging Configuration Task Logs 
- Log configuration options for DAG tasks. See Module logging configuration for more information. Enabled by default with INFOlog level.
- webserver_logs EnvironmentLogging Configuration Webserver Logs 
- Log configuration options for the webservers. See Module logging configuration for more information. Disabled by default.
- worker_logs EnvironmentLogging Configuration Worker Logs 
- Log configuration options for the workers. See Module logging configuration for more information. Disabled by default.
- dagProcessing Property MapLogs 
- (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 INFOlog 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            
- CloudWatch stringLog Group Arn 
- Enabled bool
- Enabling or disabling the collection of logs
- LogLevel string
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
- CloudWatch stringLog Group Arn 
- Enabled bool
- Enabling or disabling the collection of logs
- LogLevel string
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
- cloudWatch StringLog Group Arn 
- enabled Boolean
- Enabling or disabling the collection of logs
- logLevel String
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
- cloudWatch stringLog Group Arn 
- enabled boolean
- Enabling or disabling the collection of logs
- logLevel string
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
- cloud_watch_ strlog_ group_ arn 
- enabled bool
- Enabling or disabling the collection of logs
- log_level str
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
- cloudWatch StringLog Group Arn 
- enabled Boolean
- Enabling or disabling the collection of logs
- logLevel String
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
EnvironmentLoggingConfigurationSchedulerLogs, EnvironmentLoggingConfigurationSchedulerLogsArgs          
- CloudWatch stringLog Group Arn 
- Enabled bool
- Enabling or disabling the collection of logs
- LogLevel string
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
- CloudWatch stringLog Group Arn 
- Enabled bool
- Enabling or disabling the collection of logs
- LogLevel string
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
- cloudWatch StringLog Group Arn 
- enabled Boolean
- Enabling or disabling the collection of logs
- logLevel String
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
- cloudWatch stringLog Group Arn 
- enabled boolean
- Enabling or disabling the collection of logs
- logLevel string
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
- cloud_watch_ strlog_ group_ arn 
- enabled bool
- Enabling or disabling the collection of logs
- log_level str
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
- cloudWatch StringLog Group Arn 
- enabled Boolean
- Enabling or disabling the collection of logs
- logLevel String
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
EnvironmentLoggingConfigurationTaskLogs, EnvironmentLoggingConfigurationTaskLogsArgs          
- CloudWatch stringLog Group Arn 
- Enabled bool
- Enabling or disabling the collection of logs
- LogLevel string
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
- CloudWatch stringLog Group Arn 
- Enabled bool
- Enabling or disabling the collection of logs
- LogLevel string
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
- cloudWatch StringLog Group Arn 
- enabled Boolean
- Enabling or disabling the collection of logs
- logLevel String
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
- cloudWatch stringLog Group Arn 
- enabled boolean
- Enabling or disabling the collection of logs
- logLevel string
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
- cloud_watch_ strlog_ group_ arn 
- enabled bool
- Enabling or disabling the collection of logs
- log_level str
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
- cloudWatch StringLog Group Arn 
- enabled Boolean
- Enabling or disabling the collection of logs
- logLevel String
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
EnvironmentLoggingConfigurationWebserverLogs, EnvironmentLoggingConfigurationWebserverLogsArgs          
- CloudWatch stringLog Group Arn 
- Enabled bool
- Enabling or disabling the collection of logs
- LogLevel string
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
- CloudWatch stringLog Group Arn 
- Enabled bool
- Enabling or disabling the collection of logs
- LogLevel string
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
- cloudWatch StringLog Group Arn 
- enabled Boolean
- Enabling or disabling the collection of logs
- logLevel String
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
- cloudWatch stringLog Group Arn 
- enabled boolean
- Enabling or disabling the collection of logs
- logLevel string
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
- cloud_watch_ strlog_ group_ arn 
- enabled bool
- Enabling or disabling the collection of logs
- log_level str
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
- cloudWatch StringLog Group Arn 
- enabled Boolean
- Enabling or disabling the collection of logs
- logLevel String
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
EnvironmentLoggingConfigurationWorkerLogs, EnvironmentLoggingConfigurationWorkerLogsArgs          
- CloudWatch stringLog Group Arn 
- Enabled bool
- Enabling or disabling the collection of logs
- LogLevel string
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
- CloudWatch stringLog Group Arn 
- Enabled bool
- Enabling or disabling the collection of logs
- LogLevel string
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
- cloudWatch StringLog Group Arn 
- enabled Boolean
- Enabling or disabling the collection of logs
- logLevel String
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
- cloudWatch stringLog Group Arn 
- enabled boolean
- Enabling or disabling the collection of logs
- logLevel string
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
- cloud_watch_ strlog_ group_ arn 
- enabled bool
- Enabling or disabling the collection of logs
- log_level str
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
- cloudWatch StringLog Group Arn 
- enabled Boolean
- Enabling or disabling the collection of logs
- logLevel String
- Logging level. Valid values: CRITICAL,ERROR,WARNING,INFO,DEBUG. Will beINFOby default.
EnvironmentNetworkConfiguration, EnvironmentNetworkConfigurationArgs      
- SecurityGroup List<string>Ids 
- 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.
- SecurityGroup []stringIds 
- 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.
- securityGroup List<String>Ids 
- 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.
- securityGroup string[]Ids 
- 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_ Sequence[str]ids 
- 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.
- securityGroup List<String>Ids 
- 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 awsTerraform Provider.