Try AWS Native preview for resources not in the classic version.
aws.mwaa.Environment
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
Creates a MWAA Environment resource.
Example Usage
A MWAA Environment requires an IAM role (aws.iam.Role
), two subnets in the private zone (aws.ec2.Subnet
) and a versioned S3 bucket (aws.s3.BucketV2
).
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.mwaa.Environment("example", {
dagS3Path: "dags/",
executionRoleArn: exampleAwsIamRole.arn,
name: "example",
networkConfiguration: {
securityGroupIds: [exampleAwsSecurityGroup.id],
subnetIds: _private.map(__item => __item.id),
},
sourceBucketArn: exampleAwsS3Bucket.arn,
});
import pulumi
import pulumi_aws as aws
example = aws.mwaa.Environment("example",
dag_s3_path="dags/",
execution_role_arn=example_aws_iam_role["arn"],
name="example",
network_configuration={
"securityGroupIds": [example_aws_security_group["id"]],
"subnetIds": [__item["id"] for __item in private],
},
source_bucket_arn=example_aws_s3_bucket["arn"])
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/mwaa"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := mwaa.NewEnvironment(ctx, "example", &mwaa.EnvironmentArgs{
DagS3Path: pulumi.String("dags/"),
ExecutionRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
Name: pulumi.String("example"),
NetworkConfiguration: &mwaa.EnvironmentNetworkConfigurationArgs{
SecurityGroupIds: pulumi.StringArray{
exampleAwsSecurityGroup.Id,
},
SubnetIds: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:6,24-37),
},
SourceBucketArn: pulumi.Any(exampleAwsS3Bucket.Arn),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Mwaa.Environment("example", new()
{
DagS3Path = "dags/",
ExecutionRoleArn = exampleAwsIamRole.Arn,
Name = "example",
NetworkConfiguration = new Aws.Mwaa.Inputs.EnvironmentNetworkConfigurationArgs
{
SecurityGroupIds = new[]
{
exampleAwsSecurityGroup.Id,
},
SubnetIds = @private.Select(__item => __item.Id).ToList(),
},
SourceBucketArn = exampleAwsS3Bucket.Arn,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.mwaa.Environment;
import com.pulumi.aws.mwaa.EnvironmentArgs;
import com.pulumi.aws.mwaa.inputs.EnvironmentNetworkConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Environment("example", EnvironmentArgs.builder()
.dagS3Path("dags/")
.executionRoleArn(exampleAwsIamRole.arn())
.name("example")
.networkConfiguration(EnvironmentNetworkConfigurationArgs.builder()
.securityGroupIds(exampleAwsSecurityGroup.id())
.subnetIds(private_.stream().map(element -> element.id()).collect(toList()))
.build())
.sourceBucketArn(exampleAwsS3Bucket.arn())
.build());
}
}
Coming soon!
Example with Airflow configuration options
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.mwaa.Environment("example", {
airflowConfigurationOptions: {
"core.default_task_retries": "16",
"core.parallelism": "1",
},
dagS3Path: "dags/",
executionRoleArn: exampleAwsIamRole.arn,
name: "example",
networkConfiguration: {
securityGroupIds: [exampleAwsSecurityGroup.id],
subnetIds: _private.map(__item => __item.id),
},
sourceBucketArn: exampleAwsS3Bucket.arn,
});
import pulumi
import pulumi_aws as aws
example = aws.mwaa.Environment("example",
airflow_configuration_options={
"core.default_task_retries": "16",
"core.parallelism": "1",
},
dag_s3_path="dags/",
execution_role_arn=example_aws_iam_role["arn"],
name="example",
network_configuration={
"securityGroupIds": [example_aws_security_group["id"]],
"subnetIds": [__item["id"] for __item in private],
},
source_bucket_arn=example_aws_s3_bucket["arn"])
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/mwaa"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := mwaa.NewEnvironment(ctx, "example", &mwaa.EnvironmentArgs{
AirflowConfigurationOptions: pulumi.StringMap{
"core.default_task_retries": pulumi.String("16"),
"core.parallelism": pulumi.String("1"),
},
DagS3Path: pulumi.String("dags/"),
ExecutionRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
Name: pulumi.String("example"),
NetworkConfiguration: &mwaa.EnvironmentNetworkConfigurationArgs{
SecurityGroupIds: pulumi.StringArray{
exampleAwsSecurityGroup.Id,
},
SubnetIds: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:10,24-37),
},
SourceBucketArn: pulumi.Any(exampleAwsS3Bucket.Arn),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Mwaa.Environment("example", new()
{
AirflowConfigurationOptions =
{
{ "core.default_task_retries", "16" },
{ "core.parallelism", "1" },
},
DagS3Path = "dags/",
ExecutionRoleArn = exampleAwsIamRole.Arn,
Name = "example",
NetworkConfiguration = new Aws.Mwaa.Inputs.EnvironmentNetworkConfigurationArgs
{
SecurityGroupIds = new[]
{
exampleAwsSecurityGroup.Id,
},
SubnetIds = @private.Select(__item => __item.Id).ToList(),
},
SourceBucketArn = exampleAwsS3Bucket.Arn,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.mwaa.Environment;
import com.pulumi.aws.mwaa.EnvironmentArgs;
import com.pulumi.aws.mwaa.inputs.EnvironmentNetworkConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Environment("example", EnvironmentArgs.builder()
.airflowConfigurationOptions(Map.ofEntries(
Map.entry("core.default_task_retries", 16),
Map.entry("core.parallelism", 1)
))
.dagS3Path("dags/")
.executionRoleArn(exampleAwsIamRole.arn())
.name("example")
.networkConfiguration(EnvironmentNetworkConfigurationArgs.builder()
.securityGroupIds(exampleAwsSecurityGroup.id())
.subnetIds(private_.stream().map(element -> element.id()).collect(toList()))
.build())
.sourceBucketArn(exampleAwsS3Bucket.arn())
.build());
}
}
Coming soon!
Example with logging configurations
Note that Airflow task logs are enabled by default with the INFO
log level.
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.mwaa.Environment("example", {
dagS3Path: "dags/",
executionRoleArn: exampleAwsIamRole.arn,
loggingConfiguration: {
dagProcessingLogs: {
enabled: true,
logLevel: "DEBUG",
},
schedulerLogs: {
enabled: true,
logLevel: "INFO",
},
taskLogs: {
enabled: true,
logLevel: "WARNING",
},
webserverLogs: {
enabled: true,
logLevel: "ERROR",
},
workerLogs: {
enabled: true,
logLevel: "CRITICAL",
},
},
name: "example",
networkConfiguration: {
securityGroupIds: [exampleAwsSecurityGroup.id],
subnetIds: _private.map(__item => __item.id),
},
sourceBucketArn: exampleAwsS3Bucket.arn,
});
import pulumi
import pulumi_aws as aws
example = aws.mwaa.Environment("example",
dag_s3_path="dags/",
execution_role_arn=example_aws_iam_role["arn"],
logging_configuration={
"dagProcessingLogs": {
"enabled": True,
"logLevel": "DEBUG",
},
"schedulerLogs": {
"enabled": True,
"logLevel": "INFO",
},
"taskLogs": {
"enabled": True,
"logLevel": "WARNING",
},
"webserverLogs": {
"enabled": True,
"logLevel": "ERROR",
},
"workerLogs": {
"enabled": True,
"logLevel": "CRITICAL",
},
},
name="example",
network_configuration={
"securityGroupIds": [example_aws_security_group["id"]],
"subnetIds": [__item["id"] for __item in private],
},
source_bucket_arn=example_aws_s3_bucket["arn"])
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/mwaa"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := mwaa.NewEnvironment(ctx, "example", &mwaa.EnvironmentArgs{
DagS3Path: pulumi.String("dags/"),
ExecutionRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
LoggingConfiguration: &mwaa.EnvironmentLoggingConfigurationArgs{
DagProcessingLogs: &mwaa.EnvironmentLoggingConfigurationDagProcessingLogsArgs{
Enabled: pulumi.Bool(true),
LogLevel: pulumi.String("DEBUG"),
},
SchedulerLogs: &mwaa.EnvironmentLoggingConfigurationSchedulerLogsArgs{
Enabled: pulumi.Bool(true),
LogLevel: pulumi.String("INFO"),
},
TaskLogs: &mwaa.EnvironmentLoggingConfigurationTaskLogsArgs{
Enabled: pulumi.Bool(true),
LogLevel: pulumi.String("WARNING"),
},
WebserverLogs: &mwaa.EnvironmentLoggingConfigurationWebserverLogsArgs{
Enabled: pulumi.Bool(true),
LogLevel: pulumi.String("ERROR"),
},
WorkerLogs: &mwaa.EnvironmentLoggingConfigurationWorkerLogsArgs{
Enabled: pulumi.Bool(true),
LogLevel: pulumi.String("CRITICAL"),
},
},
Name: pulumi.String("example"),
NetworkConfiguration: &mwaa.EnvironmentNetworkConfigurationArgs{
SecurityGroupIds: pulumi.StringArray{
exampleAwsSecurityGroup.Id,
},
SubnetIds: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:28,24-37),
},
SourceBucketArn: pulumi.Any(exampleAwsS3Bucket.Arn),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Mwaa.Environment("example", new()
{
DagS3Path = "dags/",
ExecutionRoleArn = exampleAwsIamRole.Arn,
LoggingConfiguration = new Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationArgs
{
DagProcessingLogs = new Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationDagProcessingLogsArgs
{
Enabled = true,
LogLevel = "DEBUG",
},
SchedulerLogs = new Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationSchedulerLogsArgs
{
Enabled = true,
LogLevel = "INFO",
},
TaskLogs = new Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationTaskLogsArgs
{
Enabled = true,
LogLevel = "WARNING",
},
WebserverLogs = new Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationWebserverLogsArgs
{
Enabled = true,
LogLevel = "ERROR",
},
WorkerLogs = new Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationWorkerLogsArgs
{
Enabled = true,
LogLevel = "CRITICAL",
},
},
Name = "example",
NetworkConfiguration = new Aws.Mwaa.Inputs.EnvironmentNetworkConfigurationArgs
{
SecurityGroupIds = new[]
{
exampleAwsSecurityGroup.Id,
},
SubnetIds = @private.Select(__item => __item.Id).ToList(),
},
SourceBucketArn = exampleAwsS3Bucket.Arn,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.mwaa.Environment;
import com.pulumi.aws.mwaa.EnvironmentArgs;
import com.pulumi.aws.mwaa.inputs.EnvironmentLoggingConfigurationArgs;
import com.pulumi.aws.mwaa.inputs.EnvironmentLoggingConfigurationDagProcessingLogsArgs;
import com.pulumi.aws.mwaa.inputs.EnvironmentLoggingConfigurationSchedulerLogsArgs;
import com.pulumi.aws.mwaa.inputs.EnvironmentLoggingConfigurationTaskLogsArgs;
import com.pulumi.aws.mwaa.inputs.EnvironmentLoggingConfigurationWebserverLogsArgs;
import com.pulumi.aws.mwaa.inputs.EnvironmentLoggingConfigurationWorkerLogsArgs;
import com.pulumi.aws.mwaa.inputs.EnvironmentNetworkConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Environment("example", EnvironmentArgs.builder()
.dagS3Path("dags/")
.executionRoleArn(exampleAwsIamRole.arn())
.loggingConfiguration(EnvironmentLoggingConfigurationArgs.builder()
.dagProcessingLogs(EnvironmentLoggingConfigurationDagProcessingLogsArgs.builder()
.enabled(true)
.logLevel("DEBUG")
.build())
.schedulerLogs(EnvironmentLoggingConfigurationSchedulerLogsArgs.builder()
.enabled(true)
.logLevel("INFO")
.build())
.taskLogs(EnvironmentLoggingConfigurationTaskLogsArgs.builder()
.enabled(true)
.logLevel("WARNING")
.build())
.webserverLogs(EnvironmentLoggingConfigurationWebserverLogsArgs.builder()
.enabled(true)
.logLevel("ERROR")
.build())
.workerLogs(EnvironmentLoggingConfigurationWorkerLogsArgs.builder()
.enabled(true)
.logLevel("CRITICAL")
.build())
.build())
.name("example")
.networkConfiguration(EnvironmentNetworkConfigurationArgs.builder()
.securityGroupIds(exampleAwsSecurityGroup.id())
.subnetIds(private_.stream().map(element -> element.id()).collect(toList()))
.build())
.sourceBucketArn(exampleAwsS3Bucket.arn())
.build());
}
}
Coming soon!
Example with tags
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.mwaa.Environment("example", {
dagS3Path: "dags/",
executionRoleArn: exampleAwsIamRole.arn,
name: "example",
networkConfiguration: {
securityGroupIds: [exampleAwsSecurityGroup.id],
subnetIds: _private.map(__item => __item.id),
},
sourceBucketArn: exampleAwsS3Bucket.arn,
tags: {
Name: "example",
Environment: "production",
},
});
import pulumi
import pulumi_aws as aws
example = aws.mwaa.Environment("example",
dag_s3_path="dags/",
execution_role_arn=example_aws_iam_role["arn"],
name="example",
network_configuration={
"securityGroupIds": [example_aws_security_group["id"]],
"subnetIds": [__item["id"] for __item in private],
},
source_bucket_arn=example_aws_s3_bucket["arn"],
tags={
"Name": "example",
"Environment": "production",
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/mwaa"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := mwaa.NewEnvironment(ctx, "example", &mwaa.EnvironmentArgs{
DagS3Path: pulumi.String("dags/"),
ExecutionRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
Name: pulumi.String("example"),
NetworkConfiguration: &mwaa.EnvironmentNetworkConfigurationArgs{
SecurityGroupIds: pulumi.StringArray{
exampleAwsSecurityGroup.Id,
},
SubnetIds: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:6,24-37),
},
SourceBucketArn: pulumi.Any(exampleAwsS3Bucket.Arn),
Tags: pulumi.StringMap{
"Name": pulumi.String("example"),
"Environment": pulumi.String("production"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Mwaa.Environment("example", new()
{
DagS3Path = "dags/",
ExecutionRoleArn = exampleAwsIamRole.Arn,
Name = "example",
NetworkConfiguration = new Aws.Mwaa.Inputs.EnvironmentNetworkConfigurationArgs
{
SecurityGroupIds = new[]
{
exampleAwsSecurityGroup.Id,
},
SubnetIds = @private.Select(__item => __item.Id).ToList(),
},
SourceBucketArn = exampleAwsS3Bucket.Arn,
Tags =
{
{ "Name", "example" },
{ "Environment", "production" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.mwaa.Environment;
import com.pulumi.aws.mwaa.EnvironmentArgs;
import com.pulumi.aws.mwaa.inputs.EnvironmentNetworkConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Environment("example", EnvironmentArgs.builder()
.dagS3Path("dags/")
.executionRoleArn(exampleAwsIamRole.arn())
.name("example")
.networkConfiguration(EnvironmentNetworkConfigurationArgs.builder()
.securityGroupIds(exampleAwsSecurityGroup.id())
.subnetIds(private_.stream().map(element -> element.id()).collect(toList()))
.build())
.sourceBucketArn(exampleAwsS3Bucket.arn())
.tags(Map.ofEntries(
Map.entry("Name", "example"),
Map.entry("Environment", "production")
))
.build());
}
}
Coming soon!
Create Environment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Environment(name: string, args: EnvironmentArgs, opts?: CustomResourceOptions);
@overload
def Environment(resource_name: str,
args: EnvironmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Environment(resource_name: str,
opts: Optional[ResourceOptions] = None,
execution_role_arn: Optional[str] = None,
source_bucket_arn: Optional[str] = None,
dag_s3_path: Optional[str] = None,
network_configuration: Optional[EnvironmentNetworkConfigurationArgs] = None,
name: Optional[str] = None,
plugins_s3_path: Optional[str] = None,
kms_key: Optional[str] = None,
logging_configuration: Optional[EnvironmentLoggingConfigurationArgs] = None,
max_webservers: Optional[int] = None,
max_workers: Optional[int] = None,
min_webservers: Optional[int] = None,
min_workers: Optional[int] = None,
airflow_configuration_options: Optional[Mapping[str, str]] = None,
endpoint_management: Optional[str] = None,
plugins_s3_object_version: Optional[str] = None,
environment_class: Optional[str] = None,
requirements_s3_object_version: Optional[str] = None,
requirements_s3_path: Optional[str] = None,
schedulers: Optional[int] = None,
airflow_version: Optional[str] = None,
startup_script_s3_object_version: Optional[str] = None,
startup_script_s3_path: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
webserver_access_mode: Optional[str] = None,
weekly_maintenance_window_start: Optional[str] = None)
func NewEnvironment(ctx *Context, name string, args EnvironmentArgs, opts ...ResourceOption) (*Environment, error)
public Environment(string name, EnvironmentArgs args, CustomResourceOptions? opts = null)
public Environment(String name, EnvironmentArgs args)
public Environment(String name, EnvironmentArgs args, CustomResourceOptions options)
type: aws:mwaa:Environment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleenvironmentResourceResourceFromMwaaenvironment = new Aws.Mwaa.Environment("exampleenvironmentResourceResourceFromMwaaenvironment", new()
{
ExecutionRoleArn = "string",
SourceBucketArn = "string",
DagS3Path = "string",
NetworkConfiguration = new Aws.Mwaa.Inputs.EnvironmentNetworkConfigurationArgs
{
SecurityGroupIds = new[]
{
"string",
},
SubnetIds = new[]
{
"string",
},
},
Name = "string",
PluginsS3Path = "string",
KmsKey = "string",
LoggingConfiguration = new Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationArgs
{
DagProcessingLogs = new Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationDagProcessingLogsArgs
{
CloudWatchLogGroupArn = "string",
Enabled = false,
LogLevel = "string",
},
SchedulerLogs = new Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationSchedulerLogsArgs
{
CloudWatchLogGroupArn = "string",
Enabled = false,
LogLevel = "string",
},
TaskLogs = new Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationTaskLogsArgs
{
CloudWatchLogGroupArn = "string",
Enabled = false,
LogLevel = "string",
},
WebserverLogs = new Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationWebserverLogsArgs
{
CloudWatchLogGroupArn = "string",
Enabled = false,
LogLevel = "string",
},
WorkerLogs = new Aws.Mwaa.Inputs.EnvironmentLoggingConfigurationWorkerLogsArgs
{
CloudWatchLogGroupArn = "string",
Enabled = false,
LogLevel = "string",
},
},
MaxWebservers = 0,
MaxWorkers = 0,
MinWebservers = 0,
MinWorkers = 0,
AirflowConfigurationOptions =
{
{ "string", "string" },
},
EndpointManagement = "string",
PluginsS3ObjectVersion = "string",
EnvironmentClass = "string",
RequirementsS3ObjectVersion = "string",
RequirementsS3Path = "string",
Schedulers = 0,
AirflowVersion = "string",
StartupScriptS3ObjectVersion = "string",
StartupScriptS3Path = "string",
Tags =
{
{ "string", "string" },
},
WebserverAccessMode = "string",
WeeklyMaintenanceWindowStart = "string",
});
example, err := mwaa.NewEnvironment(ctx, "exampleenvironmentResourceResourceFromMwaaenvironment", &mwaa.EnvironmentArgs{
ExecutionRoleArn: pulumi.String("string"),
SourceBucketArn: pulumi.String("string"),
DagS3Path: pulumi.String("string"),
NetworkConfiguration: &mwaa.EnvironmentNetworkConfigurationArgs{
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
SubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
},
Name: pulumi.String("string"),
PluginsS3Path: pulumi.String("string"),
KmsKey: pulumi.String("string"),
LoggingConfiguration: &mwaa.EnvironmentLoggingConfigurationArgs{
DagProcessingLogs: &mwaa.EnvironmentLoggingConfigurationDagProcessingLogsArgs{
CloudWatchLogGroupArn: pulumi.String("string"),
Enabled: pulumi.Bool(false),
LogLevel: pulumi.String("string"),
},
SchedulerLogs: &mwaa.EnvironmentLoggingConfigurationSchedulerLogsArgs{
CloudWatchLogGroupArn: pulumi.String("string"),
Enabled: pulumi.Bool(false),
LogLevel: pulumi.String("string"),
},
TaskLogs: &mwaa.EnvironmentLoggingConfigurationTaskLogsArgs{
CloudWatchLogGroupArn: pulumi.String("string"),
Enabled: pulumi.Bool(false),
LogLevel: pulumi.String("string"),
},
WebserverLogs: &mwaa.EnvironmentLoggingConfigurationWebserverLogsArgs{
CloudWatchLogGroupArn: pulumi.String("string"),
Enabled: pulumi.Bool(false),
LogLevel: pulumi.String("string"),
},
WorkerLogs: &mwaa.EnvironmentLoggingConfigurationWorkerLogsArgs{
CloudWatchLogGroupArn: pulumi.String("string"),
Enabled: pulumi.Bool(false),
LogLevel: pulumi.String("string"),
},
},
MaxWebservers: pulumi.Int(0),
MaxWorkers: pulumi.Int(0),
MinWebservers: pulumi.Int(0),
MinWorkers: pulumi.Int(0),
AirflowConfigurationOptions: pulumi.StringMap{
"string": pulumi.String("string"),
},
EndpointManagement: pulumi.String("string"),
PluginsS3ObjectVersion: pulumi.String("string"),
EnvironmentClass: pulumi.String("string"),
RequirementsS3ObjectVersion: pulumi.String("string"),
RequirementsS3Path: pulumi.String("string"),
Schedulers: pulumi.Int(0),
AirflowVersion: pulumi.String("string"),
StartupScriptS3ObjectVersion: pulumi.String("string"),
StartupScriptS3Path: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
WebserverAccessMode: pulumi.String("string"),
WeeklyMaintenanceWindowStart: pulumi.String("string"),
})
var exampleenvironmentResourceResourceFromMwaaenvironment = new Environment("exampleenvironmentResourceResourceFromMwaaenvironment", EnvironmentArgs.builder()
.executionRoleArn("string")
.sourceBucketArn("string")
.dagS3Path("string")
.networkConfiguration(EnvironmentNetworkConfigurationArgs.builder()
.securityGroupIds("string")
.subnetIds("string")
.build())
.name("string")
.pluginsS3Path("string")
.kmsKey("string")
.loggingConfiguration(EnvironmentLoggingConfigurationArgs.builder()
.dagProcessingLogs(EnvironmentLoggingConfigurationDagProcessingLogsArgs.builder()
.cloudWatchLogGroupArn("string")
.enabled(false)
.logLevel("string")
.build())
.schedulerLogs(EnvironmentLoggingConfigurationSchedulerLogsArgs.builder()
.cloudWatchLogGroupArn("string")
.enabled(false)
.logLevel("string")
.build())
.taskLogs(EnvironmentLoggingConfigurationTaskLogsArgs.builder()
.cloudWatchLogGroupArn("string")
.enabled(false)
.logLevel("string")
.build())
.webserverLogs(EnvironmentLoggingConfigurationWebserverLogsArgs.builder()
.cloudWatchLogGroupArn("string")
.enabled(false)
.logLevel("string")
.build())
.workerLogs(EnvironmentLoggingConfigurationWorkerLogsArgs.builder()
.cloudWatchLogGroupArn("string")
.enabled(false)
.logLevel("string")
.build())
.build())
.maxWebservers(0)
.maxWorkers(0)
.minWebservers(0)
.minWorkers(0)
.airflowConfigurationOptions(Map.of("string", "string"))
.endpointManagement("string")
.pluginsS3ObjectVersion("string")
.environmentClass("string")
.requirementsS3ObjectVersion("string")
.requirementsS3Path("string")
.schedulers(0)
.airflowVersion("string")
.startupScriptS3ObjectVersion("string")
.startupScriptS3Path("string")
.tags(Map.of("string", "string"))
.webserverAccessMode("string")
.weeklyMaintenanceWindowStart("string")
.build());
exampleenvironment_resource_resource_from_mwaaenvironment = aws.mwaa.Environment("exampleenvironmentResourceResourceFromMwaaenvironment",
execution_role_arn="string",
source_bucket_arn="string",
dag_s3_path="string",
network_configuration={
"securityGroupIds": ["string"],
"subnetIds": ["string"],
},
name="string",
plugins_s3_path="string",
kms_key="string",
logging_configuration={
"dagProcessingLogs": {
"cloudWatchLogGroupArn": "string",
"enabled": False,
"logLevel": "string",
},
"schedulerLogs": {
"cloudWatchLogGroupArn": "string",
"enabled": False,
"logLevel": "string",
},
"taskLogs": {
"cloudWatchLogGroupArn": "string",
"enabled": False,
"logLevel": "string",
},
"webserverLogs": {
"cloudWatchLogGroupArn": "string",
"enabled": False,
"logLevel": "string",
},
"workerLogs": {
"cloudWatchLogGroupArn": "string",
"enabled": False,
"logLevel": "string",
},
},
max_webservers=0,
max_workers=0,
min_webservers=0,
min_workers=0,
airflow_configuration_options={
"string": "string",
},
endpoint_management="string",
plugins_s3_object_version="string",
environment_class="string",
requirements_s3_object_version="string",
requirements_s3_path="string",
schedulers=0,
airflow_version="string",
startup_script_s3_object_version="string",
startup_script_s3_path="string",
tags={
"string": "string",
},
webserver_access_mode="string",
weekly_maintenance_window_start="string")
const exampleenvironmentResourceResourceFromMwaaenvironment = new aws.mwaa.Environment("exampleenvironmentResourceResourceFromMwaaenvironment", {
executionRoleArn: "string",
sourceBucketArn: "string",
dagS3Path: "string",
networkConfiguration: {
securityGroupIds: ["string"],
subnetIds: ["string"],
},
name: "string",
pluginsS3Path: "string",
kmsKey: "string",
loggingConfiguration: {
dagProcessingLogs: {
cloudWatchLogGroupArn: "string",
enabled: false,
logLevel: "string",
},
schedulerLogs: {
cloudWatchLogGroupArn: "string",
enabled: false,
logLevel: "string",
},
taskLogs: {
cloudWatchLogGroupArn: "string",
enabled: false,
logLevel: "string",
},
webserverLogs: {
cloudWatchLogGroupArn: "string",
enabled: false,
logLevel: "string",
},
workerLogs: {
cloudWatchLogGroupArn: "string",
enabled: false,
logLevel: "string",
},
},
maxWebservers: 0,
maxWorkers: 0,
minWebservers: 0,
minWorkers: 0,
airflowConfigurationOptions: {
string: "string",
},
endpointManagement: "string",
pluginsS3ObjectVersion: "string",
environmentClass: "string",
requirementsS3ObjectVersion: "string",
requirementsS3Path: "string",
schedulers: 0,
airflowVersion: "string",
startupScriptS3ObjectVersion: "string",
startupScriptS3Path: "string",
tags: {
string: "string",
},
webserverAccessMode: "string",
weeklyMaintenanceWindowStart: "string",
});
type: aws:mwaa:Environment
properties:
airflowConfigurationOptions:
string: string
airflowVersion: string
dagS3Path: string
endpointManagement: string
environmentClass: string
executionRoleArn: string
kmsKey: string
loggingConfiguration:
dagProcessingLogs:
cloudWatchLogGroupArn: string
enabled: false
logLevel: string
schedulerLogs:
cloudWatchLogGroupArn: string
enabled: false
logLevel: string
taskLogs:
cloudWatchLogGroupArn: string
enabled: false
logLevel: string
webserverLogs:
cloudWatchLogGroupArn: string
enabled: false
logLevel: string
workerLogs:
cloudWatchLogGroupArn: string
enabled: false
logLevel: string
maxWebservers: 0
maxWorkers: 0
minWebservers: 0
minWorkers: 0
name: string
networkConfiguration:
securityGroupIds:
- string
subnetIds:
- string
pluginsS3ObjectVersion: string
pluginsS3Path: string
requirementsS3ObjectVersion: string
requirementsS3Path: string
schedulers: 0
sourceBucketArn: string
startupScriptS3ObjectVersion: string
startupScriptS3Path: string
tags:
string: string
webserverAccessMode: string
weeklyMaintenanceWindowStart: string
Environment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Environment resource accepts the following input properties:
- Dag
S3Path 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.
- Execution
Role 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.
- Network
Configuration 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 configuration below for details.
- Source
Bucket stringArn - The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
- Airflow
Configuration Dictionary<string, string>Options - The
airflow_configuration_options
parameter specifies airflow override options. Check the Official documentation for all possible configuration options. - Airflow
Version string - Airflow version of your environment, will be set by default to the latest version that MWAA supports.
- Endpoint
Management string - Environment
Class 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. - Kms
Key string - The Amazon Resource Name (ARN) of your KMS key that you want to use for encryption. Will be set to the ARN of the managed KMS key
aws/airflow
by default. Please check the Official Documentation for more information. - Logging
Configuration EnvironmentLogging Configuration - The Apache Airflow logs you want to send to Amazon CloudWatch Logs.
- Max
Webservers int - Max
Workers int - The maximum number of workers that can be automatically scaled up. Value need to be between
1
and25
. Will be10
by default. - Min
Webservers int - Min
Workers int - The minimum number of workers that you want to run in your environment. Will be
1
by default. - Name string
- The name of the Apache Airflow Environment
- Plugins
S3Object stringVersion - The plugins.zip file version you want to use.
- Plugins
S3Path 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.
- Requirements
S3Object stringVersion - The requirements.txt file version you want to use.
- Requirements
S3Path 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
. - Startup
Script 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.
- Startup
Script 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_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Webserver
Access stringMode - Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options:
PRIVATE_ONLY
(default) andPUBLIC_ONLY
. - Weekly
Maintenance stringWindow Start - Specifies the start date for the weekly maintenance window.
- Dag
S3Path 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.
- Execution
Role 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.
- 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 configuration below for details.
- Source
Bucket stringArn - The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
- Airflow
Configuration map[string]stringOptions - The
airflow_configuration_options
parameter specifies airflow override options. Check the Official documentation for all possible configuration options. - Airflow
Version string - Airflow version of your environment, will be set by default to the latest version that MWAA supports.
- Endpoint
Management string - Environment
Class 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. - Kms
Key string - The Amazon Resource Name (ARN) of your KMS key that you want to use for encryption. Will be set to the ARN of the managed KMS key
aws/airflow
by default. Please check the Official Documentation for more information. - Logging
Configuration EnvironmentLogging Configuration Args - The Apache Airflow logs you want to send to Amazon CloudWatch Logs.
- Max
Webservers int - Max
Workers int - The maximum number of workers that can be automatically scaled up. Value need to be between
1
and25
. Will be10
by default. - Min
Webservers int - Min
Workers int - The minimum number of workers that you want to run in your environment. Will be
1
by default. - Name string
- The name of the Apache Airflow Environment
- Plugins
S3Object stringVersion - The plugins.zip file version you want to use.
- Plugins
S3Path 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.
- Requirements
S3Object stringVersion - The requirements.txt file version you want to use.
- Requirements
S3Path 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
. - Startup
Script 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.
- Startup
Script 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_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Webserver
Access stringMode - Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options:
PRIVATE_ONLY
(default) andPUBLIC_ONLY
. - Weekly
Maintenance stringWindow Start - Specifies the start date for the weekly maintenance window.
- dag
S3Path 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.
- execution
Role 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.
- network
Configuration 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 configuration below for details.
- source
Bucket StringArn - The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
- airflow
Configuration Map<String,String>Options - The
airflow_configuration_options
parameter specifies airflow override options. Check the Official documentation for all possible configuration options. - airflow
Version String - Airflow version of your environment, will be set by default to the latest version that MWAA supports.
- endpoint
Management String - environment
Class 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. - kms
Key String - The Amazon Resource Name (ARN) of your KMS key that you want to use for encryption. Will be set to the ARN of the managed KMS key
aws/airflow
by default. Please check the Official Documentation for more information. - logging
Configuration EnvironmentLogging Configuration - The Apache Airflow logs you want to send to Amazon CloudWatch Logs.
- max
Webservers Integer - max
Workers Integer - The maximum number of workers that can be automatically scaled up. Value need to be between
1
and25
. Will be10
by default. - min
Webservers Integer - min
Workers Integer - The minimum number of workers that you want to run in your environment. Will be
1
by default. - name String
- The name of the Apache Airflow Environment
- plugins
S3Object StringVersion - The plugins.zip file version you want to use.
- plugins
S3Path 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.
- requirements
S3Object StringVersion - The requirements.txt file version you want to use.
- requirements
S3Path 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
. - startup
Script 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.
- startup
Script 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_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - webserver
Access StringMode - Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options:
PRIVATE_ONLY
(default) andPUBLIC_ONLY
. - weekly
Maintenance StringWindow Start - Specifies the start date for the weekly maintenance window.
- dag
S3Path 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.
- execution
Role 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.
- network
Configuration 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 configuration below for details.
- source
Bucket stringArn - The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
- airflow
Configuration {[key: string]: string}Options - The
airflow_configuration_options
parameter specifies airflow override options. Check the Official documentation for all possible configuration options. - airflow
Version string - Airflow version of your environment, will be set by default to the latest version that MWAA supports.
- endpoint
Management string - environment
Class 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. - kms
Key string - The Amazon Resource Name (ARN) of your KMS key that you want to use for encryption. Will be set to the ARN of the managed KMS key
aws/airflow
by default. Please check the Official Documentation for more information. - logging
Configuration EnvironmentLogging Configuration - The Apache Airflow logs you want to send to Amazon CloudWatch Logs.
- max
Webservers number - max
Workers number - The maximum number of workers that can be automatically scaled up. Value need to be between
1
and25
. Will be10
by default. - min
Webservers number - min
Workers number - The minimum number of workers that you want to run in your environment. Will be
1
by default. - name string
- The name of the Apache Airflow Environment
- plugins
S3Object stringVersion - The plugins.zip file version you want to use.
- plugins
S3Path 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.
- requirements
S3Object stringVersion - The requirements.txt file version you want to use.
- requirements
S3Path 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
. - startup
Script 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.
- startup
Script 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_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - webserver
Access stringMode - Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options:
PRIVATE_ONLY
(default) andPUBLIC_ONLY
. - weekly
Maintenance 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 configuration below 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_options
parameter specifies airflow override options. Check the Official documentation for all possible configuration options. - airflow_
version str - Airflow version of your environment, will be set by default to the latest version that MWAA supports.
- endpoint_
management str - environment_
class str - Environment class for the cluster. Possible options are
mw1.small
,mw1.medium
,mw1.large
. Will be set by default 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/airflow
by 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.
- max_
webservers int - max_
workers int - The maximum number of workers that can be automatically scaled up. Value need to be between
1
and25
. Will be10
by default. - min_
webservers int - min_
workers int - The minimum number of workers that you want to run in your environment. Will be
1
by default. - name str
- The name of the Apache Airflow Environment
- plugins_
s3_ 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_tags
configuration 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.
- dag
S3Path 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.
- execution
Role 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.
- network
Configuration Property Map - Specifies the network configuration for your Apache Airflow Environment. This includes two private subnets as well as security groups for the Airflow environment. Each subnet requires internet connection, otherwise the deployment will fail. See Network configuration below for details.
- source
Bucket StringArn - The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
- airflow
Configuration Map<String>Options - The
airflow_configuration_options
parameter specifies airflow override options. Check the Official documentation for all possible configuration options. - airflow
Version String - Airflow version of your environment, will be set by default to the latest version that MWAA supports.
- endpoint
Management String - environment
Class 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. - kms
Key String - The Amazon Resource Name (ARN) of your KMS key that you want to use for encryption. Will be set to the ARN of the managed KMS key
aws/airflow
by default. Please check the Official Documentation for more information. - logging
Configuration Property Map - The Apache Airflow logs you want to send to Amazon CloudWatch Logs.
- max
Webservers Number - max
Workers Number - The maximum number of workers that can be automatically scaled up. Value need to be between
1
and25
. Will be10
by default. - min
Webservers Number - min
Workers Number - The minimum number of workers that you want to run in your environment. Will be
1
by default. - name String
- The name of the Apache Airflow Environment
- plugins
S3Object StringVersion - The plugins.zip file version you want to use.
- plugins
S3Path 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.
- requirements
S3Object StringVersion - The requirements.txt file version you want to use.
- requirements
S3Path 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
. - startup
Script 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.
- startup
Script 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_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - webserver
Access StringMode - Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options:
PRIVATE_ONLY
(default) andPUBLIC_ONLY
. - weekly
Maintenance 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
- Created
At string - The Created At date of the MWAA Environment
- Database
Vpc 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.
- Last
Updateds List<EnvironmentLast Updated> - Service
Role 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_tags
configuration block. - Webserver
Url string - The webserver URL of the MWAA Environment
- Webserver
Vpc stringEndpoint Service - The VPC endpoint for the environment's web server
- Arn string
- The ARN of the MWAA Environment
- Created
At string - The Created At date of the MWAA Environment
- Database
Vpc 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.
- Last
Updateds []EnvironmentLast Updated - Service
Role 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_tags
configuration block. - Webserver
Url string - The webserver URL of the MWAA Environment
- Webserver
Vpc stringEndpoint Service - The VPC endpoint for the environment's web server
- arn String
- The ARN of the MWAA Environment
- created
At String - The Created At date of the MWAA Environment
- database
Vpc 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.
- last
Updateds List<EnvironmentLast Updated> - service
Role 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_tags
configuration block. - webserver
Url String - The webserver URL of the MWAA Environment
- webserver
Vpc StringEndpoint Service - The VPC endpoint for the environment's web server
- arn string
- The ARN of the MWAA Environment
- created
At string - The Created At date of the MWAA Environment
- database
Vpc 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.
- last
Updateds EnvironmentLast Updated[] - service
Role 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_tags
configuration block. - webserver
Url string - The webserver URL of the MWAA Environment
- webserver
Vpc 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_tags
configuration 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
- created
At String - The Created At date of the MWAA Environment
- database
Vpc 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.
- last
Updateds List<Property Map> - service
Role 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_tags
configuration block. - webserver
Url String - The webserver URL of the MWAA Environment
- webserver
Vpc 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) -> Environment
func GetEnvironment(ctx *Context, name string, id IDInput, state *EnvironmentState, opts ...ResourceOption) (*Environment, error)
public static Environment Get(string name, Input<string> id, EnvironmentState? state, CustomResourceOptions? opts = null)
public static Environment get(String name, Output<String> id, EnvironmentState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Airflow
Configuration Dictionary<string, string>Options - The
airflow_configuration_options
parameter specifies airflow override options. Check the Official documentation for all possible configuration options. - Airflow
Version string - Airflow version of your environment, will be set by default to the latest version that MWAA supports.
- Arn string
- The ARN of the MWAA Environment
- Created
At string - The Created At date of the MWAA Environment
- Dag
S3Path 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.
- Database
Vpc 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
- Endpoint
Management string - Environment
Class 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. - Execution
Role 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.
- Kms
Key string - The Amazon Resource Name (ARN) of your KMS key that you want to use for encryption. Will be set to the ARN of the managed KMS key
aws/airflow
by default. Please check the Official Documentation for more information. - Last
Updateds List<EnvironmentLast Updated> - Logging
Configuration EnvironmentLogging Configuration - The Apache Airflow logs you want to send to Amazon CloudWatch Logs.
- Max
Webservers int - Max
Workers int - The maximum number of workers that can be automatically scaled up. Value need to be between
1
and25
. Will be10
by default. - Min
Webservers int - Min
Workers int - The minimum number of workers that you want to run in your environment. Will be
1
by default. - Name string
- The name of the Apache Airflow Environment
- Network
Configuration 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 configuration below for details.
- Plugins
S3Object stringVersion - The plugins.zip file version you want to use.
- Plugins
S3Path 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.
- Requirements
S3Object stringVersion - The requirements.txt file version you want to use.
- Requirements
S3Path 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
. - Service
Role stringArn - The Service Role ARN of the Amazon MWAA Environment
- Source
Bucket stringArn - The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
- Startup
Script 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.
- Startup
Script 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_tags
configuration 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_tags
configuration block. - Webserver
Access stringMode - Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options:
PRIVATE_ONLY
(default) andPUBLIC_ONLY
. - Webserver
Url string - The webserver URL of the MWAA Environment
- Webserver
Vpc stringEndpoint Service - The VPC endpoint for the environment's web server
- Weekly
Maintenance stringWindow Start - Specifies the start date for the weekly maintenance window.
- Airflow
Configuration map[string]stringOptions - The
airflow_configuration_options
parameter specifies airflow override options. Check the Official documentation for all possible configuration options. - Airflow
Version string - Airflow version of your environment, will be set by default to the latest version that MWAA supports.
- Arn string
- The ARN of the MWAA Environment
- Created
At string - The Created At date of the MWAA Environment
- Dag
S3Path 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.
- Database
Vpc 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
- Endpoint
Management string - Environment
Class 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. - Execution
Role 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.
- Kms
Key string - The Amazon Resource Name (ARN) of your KMS key that you want to use for encryption. Will be set to the ARN of the managed KMS key
aws/airflow
by default. Please check the Official Documentation for more information. - Last
Updateds []EnvironmentLast Updated Args - Logging
Configuration EnvironmentLogging Configuration Args - The Apache Airflow logs you want to send to Amazon CloudWatch Logs.
- Max
Webservers int - Max
Workers int - The maximum number of workers that can be automatically scaled up. Value need to be between
1
and25
. Will be10
by default. - Min
Webservers int - Min
Workers int - The minimum number of workers that you want to run in your environment. Will be
1
by default. - Name string
- 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 configuration below for details.
- Plugins
S3Object stringVersion - The plugins.zip file version you want to use.
- Plugins
S3Path 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.
- Requirements
S3Object stringVersion - The requirements.txt file version you want to use.
- Requirements
S3Path 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
. - Service
Role stringArn - The Service Role ARN of the Amazon MWAA Environment
- Source
Bucket stringArn - The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
- Startup
Script 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.
- Startup
Script 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_tags
configuration 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_tags
configuration block. - Webserver
Access stringMode - Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options:
PRIVATE_ONLY
(default) andPUBLIC_ONLY
. - Webserver
Url string - The webserver URL of the MWAA Environment
- Webserver
Vpc stringEndpoint Service - The VPC endpoint for the environment's web server
- Weekly
Maintenance stringWindow Start - Specifies the start date for the weekly maintenance window.
- airflow
Configuration Map<String,String>Options - The
airflow_configuration_options
parameter specifies airflow override options. Check the Official documentation for all possible configuration options. - airflow
Version String - Airflow version of your environment, will be set by default to the latest version that MWAA supports.
- arn String
- The ARN of the MWAA Environment
- created
At String - The Created At date of the MWAA Environment
- dag
S3Path 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.
- database
Vpc 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
- endpoint
Management String - environment
Class 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. - execution
Role 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.
- kms
Key String - The Amazon Resource Name (ARN) of your KMS key that you want to use for encryption. Will be set to the ARN of the managed KMS key
aws/airflow
by default. Please check the Official Documentation for more information. - last
Updateds List<EnvironmentLast Updated> - logging
Configuration EnvironmentLogging Configuration - The Apache Airflow logs you want to send to Amazon CloudWatch Logs.
- max
Webservers Integer - max
Workers Integer - The maximum number of workers that can be automatically scaled up. Value need to be between
1
and25
. Will be10
by default. - min
Webservers Integer - min
Workers Integer - The minimum number of workers that you want to run in your environment. Will be
1
by default. - name String
- The name of the Apache Airflow Environment
- network
Configuration 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 configuration below for details.
- plugins
S3Object StringVersion - The plugins.zip file version you want to use.
- plugins
S3Path 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.
- requirements
S3Object StringVersion - The requirements.txt file version you want to use.
- requirements
S3Path 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
. - service
Role StringArn - The Service Role ARN of the Amazon MWAA Environment
- source
Bucket StringArn - The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
- startup
Script 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.
- startup
Script 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_tags
configuration 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_tags
configuration block. - webserver
Access StringMode - Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options:
PRIVATE_ONLY
(default) andPUBLIC_ONLY
. - webserver
Url String - The webserver URL of the MWAA Environment
- webserver
Vpc StringEndpoint Service - The VPC endpoint for the environment's web server
- weekly
Maintenance StringWindow Start - Specifies the start date for the weekly maintenance window.
- airflow
Configuration {[key: string]: string}Options - The
airflow_configuration_options
parameter specifies airflow override options. Check the Official documentation for all possible configuration options. - airflow
Version string - Airflow version of your environment, will be set by default to the latest version that MWAA supports.
- arn string
- The ARN of the MWAA Environment
- created
At string - The Created At date of the MWAA Environment
- dag
S3Path 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.
- database
Vpc 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
- endpoint
Management string - environment
Class 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. - execution
Role 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.
- kms
Key string - The Amazon Resource Name (ARN) of your KMS key that you want to use for encryption. Will be set to the ARN of the managed KMS key
aws/airflow
by default. Please check the Official Documentation for more information. - last
Updateds EnvironmentLast Updated[] - logging
Configuration EnvironmentLogging Configuration - The Apache Airflow logs you want to send to Amazon CloudWatch Logs.
- max
Webservers number - max
Workers number - The maximum number of workers that can be automatically scaled up. Value need to be between
1
and25
. Will be10
by default. - min
Webservers number - min
Workers number - The minimum number of workers that you want to run in your environment. Will be
1
by default. - name string
- The name of the Apache Airflow Environment
- network
Configuration 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 configuration below for details.
- plugins
S3Object stringVersion - The plugins.zip file version you want to use.
- plugins
S3Path 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.
- requirements
S3Object stringVersion - The requirements.txt file version you want to use.
- requirements
S3Path 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
. - service
Role stringArn - The Service Role ARN of the Amazon MWAA Environment
- source
Bucket stringArn - The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
- startup
Script 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.
- startup
Script 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_tags
configuration 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_tags
configuration block. - webserver
Access stringMode - Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options:
PRIVATE_ONLY
(default) andPUBLIC_ONLY
. - webserver
Url string - The webserver URL of the MWAA Environment
- webserver
Vpc stringEndpoint Service - The VPC endpoint for the environment's web server
- weekly
Maintenance stringWindow Start - Specifies the start date for the weekly maintenance window.
- airflow_
configuration_ Mapping[str, str]options - The
airflow_configuration_options
parameter specifies airflow override options. Check the Official documentation for all possible configuration options. - airflow_
version str - Airflow version of your environment, will be set by default to the latest version that MWAA supports.
- arn str
- The ARN of the MWAA Environment
- created_
at str - The Created At date of the MWAA Environment
- dag_
s3_ 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 - 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/airflow
by 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.
- max_
webservers int - max_
workers int - The maximum number of workers that can be automatically scaled up. Value need to be between
1
and25
. Will be10
by default. - min_
webservers int - min_
workers int - The minimum number of workers that you want to run in your environment. Will be
1
by default. - name str
- The name of the Apache Airflow Environment
- network_
configuration 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 configuration below 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_tags
configuration 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_tags
configuration 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.
- airflow
Configuration Map<String>Options - The
airflow_configuration_options
parameter specifies airflow override options. Check the Official documentation for all possible configuration options. - airflow
Version String - Airflow version of your environment, will be set by default to the latest version that MWAA supports.
- arn String
- The ARN of the MWAA Environment
- created
At String - The Created At date of the MWAA Environment
- dag
S3Path 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.
- database
Vpc 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
- endpoint
Management String - environment
Class 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. - execution
Role 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.
- kms
Key String - The Amazon Resource Name (ARN) of your KMS key that you want to use for encryption. Will be set to the ARN of the managed KMS key
aws/airflow
by default. Please check the Official Documentation for more information. - last
Updateds List<Property Map> - logging
Configuration Property Map - The Apache Airflow logs you want to send to Amazon CloudWatch Logs.
- max
Webservers Number - max
Workers Number - The maximum number of workers that can be automatically scaled up. Value need to be between
1
and25
. Will be10
by default. - min
Webservers Number - min
Workers Number - The minimum number of workers that you want to run in your environment. Will be
1
by default. - name String
- The name of the Apache Airflow Environment
- network
Configuration Property Map - Specifies the network configuration for your Apache Airflow Environment. This includes two private subnets as well as security groups for the Airflow environment. Each subnet requires internet connection, otherwise the deployment will fail. See Network configuration below for details.
- plugins
S3Object StringVersion - The plugins.zip file version you want to use.
- plugins
S3Path 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.
- requirements
S3Object StringVersion - The requirements.txt file version you want to use.
- requirements
S3Path 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
. - service
Role StringArn - The Service Role ARN of the Amazon MWAA Environment
- source
Bucket StringArn - The Amazon Resource Name (ARN) of your Amazon S3 storage bucket. For example, arn:aws:s3:::airflow-mybucketname.
- startup
Script 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.
- startup
Script 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_tags
configuration 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_tags
configuration block. - webserver
Access StringMode - Specifies whether the webserver should be accessible over the internet or via your specified VPC. Possible options:
PRIVATE_ONLY
(default) andPUBLIC_ONLY
. - webserver
Url String - The webserver URL of the MWAA Environment
- webserver
Vpc StringEndpoint Service - The VPC endpoint for the environment's web server
- weekly
Maintenance StringWindow Start - Specifies the start date for the weekly maintenance window.
Supporting Types
EnvironmentLastUpdated, EnvironmentLastUpdatedArgs
- Created
At string - The Created At date of the MWAA Environment
- Errors
List<Environment
Last Updated Error> - Status string
- The status of the Amazon MWAA Environment
- Created
At string - The Created At date of the MWAA Environment
- Errors
[]Environment
Last Updated Error - Status string
- The status of the Amazon MWAA Environment
- created
At String - The Created At date of the MWAA Environment
- errors
List<Environment
Last Updated Error> - status String
- The status of the Amazon MWAA Environment
- created
At string - The Created At date of the MWAA Environment
- errors
Environment
Last Updated Error[] - status string
- The status of the Amazon MWAA Environment
- created_
at str - The Created At date of the MWAA Environment
- errors
Sequence[Environment
Last Updated Error] - status str
- The status of the Amazon MWAA Environment
- created
At String - The Created At date of the MWAA Environment
- errors List<Property Map>
- status String
- The status of the Amazon MWAA Environment
EnvironmentLastUpdatedError, EnvironmentLastUpdatedErrorArgs
- Error
Code string - Error
Message string
- Error
Code string - Error
Message string
- error
Code String - error
Message String
- error
Code string - error
Message string
- error_
code str - error_
message str
- error
Code String - error
Message String
EnvironmentLoggingConfiguration, EnvironmentLoggingConfigurationArgs
- 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
INFO
log 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.
- 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
INFO
log 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.
- 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
INFO
log 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.
- 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
INFO
log 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.
- 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
INFO
log 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.
- dag
Processing Property MapLogs - (Optional) Log configuration options for processing DAGs. See Module logging configuration for more information. Disabled by default.
- scheduler
Logs Property Map - Log configuration options for the schedulers. See Module logging configuration for more information. Disabled by default.
- task
Logs Property Map - Log configuration options for DAG tasks. See Module logging configuration for more information. Enabled by default with
INFO
log level. - webserver
Logs Property Map - Log configuration options for the webservers. See Module logging configuration for more information. Disabled by default.
- worker
Logs Property Map - Log configuration options for the workers. See Module logging configuration for more information. Disabled by default.
EnvironmentLoggingConfigurationDagProcessingLogs, EnvironmentLoggingConfigurationDagProcessingLogsArgs
- Cloud
Watch stringLog Group Arn - Enabled bool
- Log
Level string
- Cloud
Watch stringLog Group Arn - Enabled bool
- Log
Level string
- cloud
Watch StringLog Group Arn - enabled Boolean
- log
Level String
- cloud
Watch stringLog Group Arn - enabled boolean
- log
Level string
- cloud_
watch_ strlog_ group_ arn - enabled bool
- log_
level str
- cloud
Watch StringLog Group Arn - enabled Boolean
- log
Level String
EnvironmentLoggingConfigurationSchedulerLogs, EnvironmentLoggingConfigurationSchedulerLogsArgs
- Cloud
Watch stringLog Group Arn - Enabled bool
- Log
Level string
- Cloud
Watch stringLog Group Arn - Enabled bool
- Log
Level string
- cloud
Watch StringLog Group Arn - enabled Boolean
- log
Level String
- cloud
Watch stringLog Group Arn - enabled boolean
- log
Level string
- cloud_
watch_ strlog_ group_ arn - enabled bool
- log_
level str
- cloud
Watch StringLog Group Arn - enabled Boolean
- log
Level String
EnvironmentLoggingConfigurationTaskLogs, EnvironmentLoggingConfigurationTaskLogsArgs
- Cloud
Watch stringLog Group Arn - Enabled bool
- Log
Level string
- Cloud
Watch stringLog Group Arn - Enabled bool
- Log
Level string
- cloud
Watch StringLog Group Arn - enabled Boolean
- log
Level String
- cloud
Watch stringLog Group Arn - enabled boolean
- log
Level string
- cloud_
watch_ strlog_ group_ arn - enabled bool
- log_
level str
- cloud
Watch StringLog Group Arn - enabled Boolean
- log
Level String
EnvironmentLoggingConfigurationWebserverLogs, EnvironmentLoggingConfigurationWebserverLogsArgs
- Cloud
Watch stringLog Group Arn - Enabled bool
- Log
Level string
- Cloud
Watch stringLog Group Arn - Enabled bool
- Log
Level string
- cloud
Watch StringLog Group Arn - enabled Boolean
- log
Level String
- cloud
Watch stringLog Group Arn - enabled boolean
- log
Level string
- cloud_
watch_ strlog_ group_ arn - enabled bool
- log_
level str
- cloud
Watch StringLog Group Arn - enabled Boolean
- log
Level String
EnvironmentLoggingConfigurationWorkerLogs, EnvironmentLoggingConfigurationWorkerLogsArgs
- Cloud
Watch stringLog Group Arn - Enabled bool
- Log
Level string
- Cloud
Watch stringLog Group Arn - Enabled bool
- Log
Level string
- cloud
Watch StringLog Group Arn - enabled Boolean
- log
Level String
- cloud
Watch stringLog Group Arn - enabled boolean
- log
Level string
- cloud_
watch_ strlog_ group_ arn - enabled bool
- log_
level str
- cloud
Watch StringLog Group Arn - enabled Boolean
- log
Level String
EnvironmentNetworkConfiguration, EnvironmentNetworkConfigurationArgs
- Security
Group 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.
- Subnet
Ids List<string> - The private subnet IDs in which the environment should be created. MWAA requires two subnets.
- Security
Group []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.
- Subnet
Ids []string - The private subnet IDs in which the environment should be created. MWAA requires two subnets.
- security
Group 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.
- subnet
Ids List<String> - The private subnet IDs in which the environment should be created. MWAA requires two subnets.
- security
Group 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.
- subnet
Ids 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.
- security
Group 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.
- subnet
Ids List<String> - The private subnet IDs in which the environment should be created. MWAA requires two subnets.
Import
Using pulumi import
, import MWAA Environment using Name
. For example:
$ pulumi import aws:mwaa/environment:Environment example MyAirflowEnvironment
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.